Hex Calculator

Perform hexadecimal calculations and convert between hex, decimal, and binary number systems

Hexadecimal Calculation—Add, Subtract, Multiply, or Divide

=?

Convert Hexadecimal Value to Decimal Value

=?

Convert Decimal Value to Hexadecimal Value

=?

Hex/Decimal/Binary Conversion Table

HexBinaryDecimal
000
111
2102
3113
41004
51015
61106
71117
810008
910019
A101010
B101111
C110012
D110113
E111014
F111115
141010020
3F11111163

Understanding the Hexadecimal Number System

The hexadecimal number system (hex) functions virtually identically to the decimal and binary systems. Instead of using a base of 10 or 2 respectively, it uses a base of 16. Hex uses 16 digits including 0-9, just as the decimal system does, but also uses the letters A, B, C, D, E, and F (equivalent to a, b, c, d, e, f) to represent the numbers 10-15. Every hex digit represents 4 binary digits, called nibbles, which makes representing large binary numbers simpler. For example, the binary value of 1010101010 can be represented as 2AA in hex. This helps computers to compress large binary values in a manner that can be easily converted between the two systems.