Home/Math/Hex Calculator

Hexadecimal Calculator

Perform arithmetic in hexadecimal and convert between hex, decimal, binary, and octal. Useful for programming, colour codes, and memory addresses.

Hex Arithmetic
Hex Value 1
0x
Operation
Hex Value 2
0x

Colour Code Converter

Hex Colour
Result
Hex Result
0x49
Decimal: 73
BaseValue

Hexadecimal System

Hexadecimal (base 16) uses digits 0–9 and letters A–F. It is widely used in programming, HTML colour codes, memory addresses, and low-level computing because each hex digit maps exactly to 4 binary bits (a nibble).

Hex Digits

HexDecBinaryHexDecBinary
000000881000
1–71–70001–0111991001
A101010B111011
C121100D131101
E141110F151111