๐Ÿ’ป TechnologybeginnerOffline

Hex Calculator

Hexadecimal arithmetic, conversions to/from decimal, binary, and octal.

Inputs
Enter your values below.
Result
Your answer appears here.

Enter values and press Calculate โ€” the result appears here.

How it works
The formula behind this calculator.

hex to decimal: ฮฃ(digit ร— 16^position)

digit
0โ€“9, Aโ€“F (A=10, B=11, ..., F=15)

Hex uses 16 symbols: 0โ€“9 for 0โ€“9, Aโ€“F for 10โ€“15. Two hex digits = 1 byte (0โ€“255). Common in colors (#RRGGBB) and memory addresses.

Example: 2A = 2ยท16 + 10 = 42

Ref: Positional numeral system, base 16

Tips
  • ๐Ÿ’ก Hex uses 0โ€“9 then Aโ€“F, so A=10, B=11, ..., F=15.
  • ๐Ÿ’ก Two hex digits = 1 byte (8 bits). Use it for color codes, memory addresses, and MAC addresses.

Related calculators