๐ป 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.