Hex Calculator
Convert between hexadecimal and other number bases. Perform hex arithmetic operations.
Result
Fill in the fields above, then press Calculate.
A hexadecimal calculator converts between hex, decimal, binary, and octal number systems and performs arithmetic in hexadecimal.
Examples
Hex to Decimal
FF = 15×16 + 15 = 255
Hex addition
FF + 01 = 100 (255 + 1 = 256)
Hex to Binary
A3 = 1010 0011 = 10100011₂
Frequently Asked Questions
What is hexadecimal?
Hexadecimal (base 16) uses digits 0-9 and letters A-F. It is widely used in computing because each hex digit maps to exactly 4 binary bits.
Where is hex used?
Hex is commonly used for color codes (#FF0000 = red), memory addresses, MAC addresses, and representing binary data compactly.
How do I convert hex to decimal?
Multiply each digit by its positional power of 16 and sum. For example: 2F = 2×16 + 15 = 47.
Result
Your result appears here and follows you as you scroll.
Related Calculators
Quick Tips
- •Double-check your inputs — small errors lead to incorrect results.
- •Remember that each hex digit represents exactly 4 binary bits.
- •Use uppercase or lowercase letters for hex digits A through F.