What is Hex Calculator?
Computes arithmetic in base-16 hexadecimal notation used widely in computing, color codes, memory addressing, and microcontrollers.
How to Use This Calculator
- Enter hex numbers A and B using digits 0-9 and A-F.
- Select arithmetic operation.
- View hex, decimal, and binary outputs.
The Mathematical Formula & Variables
Convert base 16 to decimal: d * 16^position, compute, convert back
Step-by-Step Worked Example
Scenario: Add 0x100 + 0xF4.
- 0x100 = 1 * 256 = 256 decimal.
- 0xF4 = (15 * 16) + 4 = 244 decimal.
- 256 + 244 = 500 decimal = 0x1F4.
Result: 0x1F4
Frequently Asked Questions
What are the hex digits after 9?
A = 10, B = 11, C = 12, D = 13, E = 14, and F = 15.