Hex Calculator

First number
Operation operator
Second number
Binary result
Decimal result
Hexadecimal result

Introduction

The hexadecimal calculator supports calculations and conversions between hexadecimal, binary, and decimal values, providing basic arithmetic operations and bitwise operations (AND/OR/NOT/XOR/shift). It automatically shows results in binary, decimal, and hexadecimal formats.

How to Use the Hexadecimal Calculator?

  1. Enter the first value and select its base.
  2. Choose the operation type (arithmetic or bitwise).
  3. Enter the second value (needed for arithmetic operations, etc.).
  4. Click the "Calculate" button to view the results in all three bases below.

Features

  • The second input is automatically hidden when the NOT operation is selected — only one operand is needed.
  • Clicking the "Example" button generates a random sample.
  • Results are shown in binary, decimal, and hexadecimal simultaneously for easy comparison.