Hexadecimal Calculator

Use the following calculators to perform hexadecimal operations and conversions between hexadecimal and decimal number systems.

Hexadecimal Calculation—Add, Subtract, Multiply, or Divide

=

Convert Hexadecimal Value to Decimal Value

=

Convert Decimal Value to Hexadecimal Value

=

About Hexadecimal Numbers

Hexadecimal (or "hex") is a base-16 number system that uses 16 distinct symbols: the numbers 0-9 and the letters A-F (or a-f). It is commonly used in computing as a more human-friendly way to represent binary values.

Hexadecimal Digits

Decimal Hex Binary
000000
110001
220010
330011
440100
550101
660110
770111
881000
991001
10A1010
11B1011
12C1100
13D1101
14E1110
15F1111

Hex to Decimal Conversion

To convert a hex number to decimal, multiply each digit by its corresponding power of 16 and sum the results:

Hex 1A3 = 1×162 + 10×161 + 3×160
= 256 + 160 + 3 = 419 (decimal)

Decimal to Hex Conversion

To convert a decimal number to hex, divide the number by 16 repeatedly and record the remainders in reverse order:

Decimal 419:
419 ÷ 16 = 26 remainder 3
26 ÷ 16 = 1 remainder 10 (A)
1 ÷ 16 = 0 remainder 1
Hex: 1A3

Applications of Hexadecimal

  • Memory addresses and debugging in computer programming
  • Color representation in web design (e.g., #FF5733)
  • Assembly language programming
  • Representing binary data in a more compact form
  • Network MAC addresses (e.g., 00:1A:2B:3C:4D:5E)