💻 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