Hex Calculator
Hexadecimal arithmetic and conversion
Conversions
How It Works
The hexadecimal number system (hex) functions virtually identically to the decimal and binary systems, using a base of 16. It uses 16 digits: 0-9 and A-F (A=10, B=11, C=12, D=13, E=14, F=15).
The hexadecimal number system (hex) functions virtually identically to the decimal and binary systems, using a base of 16. Hex uses 16 digits including 0-9 and the letters A, B, C, D, E, and F to represent numbers 10-15. Every hex digit represents 4 binary digits (nibbles), which makes representing large binary numbers simpler.
Converting between decimal and hex is quite similar to converting between decimal and binary. For hex to decimal, multiply each digit by its corresponding place value (16^n) and sum. For decimal to hex, find the largest power of 16 less than or equal to the number, determine how many times it goes in, subtract, and repeat. Hex addition works the same as decimal addition but with extra numerals A-F. When borrowing occurs in hex subtraction, the borrowed 1 represents 16 decimal.
Results
Enter values to see results
Quick Tips
- • Results update automatically as you type
- • Use Tab to navigate between fields
- • Press Enter to calculate
.png&w=3840&q=75)
.png&w=3840&q=75)