How it works
Hexadecimal is base 16: the digits run 0-9 then A-F, where A is 10 and F is 15. Arithmetic works exactly like decimal arithmetic, except each column carries at 16 instead of 10.
The surest way to compute is to convert both numbers to decimal, do the arithmetic there, and convert back — which is what this calculator does, using exact BigInt integers. Every result shows its decimal equivalent so you can check the work.
Worked example
Try it with these numbers
The result card above already shows this example — change any field and hit Calculate.
FAQ
Quick answers
How do I add hexadecimal numbers?
Add column by column in base 16, carrying 1 whenever a column reaches 16. For example 1A + 2F: A + F = 10 + 15 = 25 = 19 in hex, write 9 carry 1; then 1 + 2 + carry = 4. Result 49 in hex, which is 73 in decimal.
What are the hex digits A to F?
They are the values 10 to 15. A = 10, B = 11, C = 12, D = 13, E = 14, F = 15. So FF is 15×16 + 15 = 255 in decimal.
Why is hexadecimal used in computing?
One hex digit is exactly four bits, so hex is a compact, loss-free way to write binary. Memory addresses, color codes (#FF8800) and machine code all use hex for that reason.
Related calculators
Keep going
Every calculator on one page: all mathplum calculators.