Hexadecimal & base 16
Hexadecimal Calculator: Arithmetic & Conversion
This calculator adds, subtracts, multiplies, and divides hexadecimal (base-16) values and converts between hex and decimal. Hex-to-decimal mode expands each digit by place value; decimal-to-hex mode shows repeated division by 16 with remainders mapped to A–F. Inputs use digits 0–9 and A–F without a 0x prefix, plus a 0–63 reference table. It stays within JavaScript safe integer limits and does not perform bitwise operations or arbitrary-precision hex.
By Jeff Beem
Updated
Mode
Choose a tool: hexadecimal arithmetic, hex-to-decimal, or decimal-to-hex. Digits: 0–9, A–F (values 10–15).
Hexadecimal arithmetic
Enter two hexadecimal values and choose an operator.
FF + 10
10F (271 in decimal)
Quick reference (0–63)
Hexadecimal, binary, and decimal
Reading your hex result
Pick a mode in the Choose mode dropdown first. The dark results panel and the white work box beside it change with each tool. The quick reference table at the bottom covers decimal, hex, and binary for 0–63.
Example: Hex to decimal → 2AA = 682
Example: Decimal to hex → 682 = 2AA
Nibbles in the reference table
Hexadecimal Calculator: Hex Arithmetic & Base-16 Conversion
This calculator performs hex arithmetic and base-16 conversion with step-by-step work panels. All computation runs locally in your browser within JavaScript safe integer limits.
What this calculator does
- Hex to decimal:
- Decimal to hex:Repeatedly divide by 16; map remainders 10–15 to A–F; read digits last to first.
How the math works
Limits of the model
Hexadecimal Calculator FAQ
What does A mean in hexadecimal?
How many bits are in a hexadecimal digit?
How do you convert decimal to hexadecimal in this calculator?
How do you convert hexadecimal to decimal here?
How does hex arithmetic work on this page?
Do I need a 0x prefix for hex input?
What is the quick reference table for?
What are this calculator’s limits?
Mathematical Reference Note
Calculation Logic: This tool uses standard mathematical algorithms. While we strive for accuracy, errors in logic or user input can result in incorrect data.
Verification: Results should be cross-checked if used for important academic, professional, or personal calculations.
Standard Terms: This tool is provided free of charge and as-is. CalcRegistry provides no warranty regarding the accuracy or fitness of these results for your specific needs.