Hexadecimal calculator
Type two numbers in hexadecimal (digits 0 to 9 and letters A to F) and pick the operation. The result is exact, even for very large numbers.
Result
119Result in hexadecimal
- In decimal
- 281
- In binary
- 100011001
Inputs
- First hex number
- FF
- Operation
- + (add)
- Second hex number
- 1A
How it is calculated
Each hex digit is a power of 16: FF = 15 × 16 + 15 = 255.
Result
Result in hexadecimal
- In decimal
- 281
- In binary
- 100011001
How it is calculated
- Each hex digit is a power of 16: FF = 15 × 16 + 15 = 255.
- We compute on exact whole numbers, then write the result back in base 16.
- Division: whole quotient (rounded toward zero) and remainder.
Example
FF + 1A = 255 + 26 = 281, that is 119 in hexadecimal.
Good to know
- Only the characters 0-9 and A-F (upper or lower case) are accepted.
- Up to 4,096 digits per number. Binary is only shown up to 128 bits.
Frequently asked questions
What is this tool used for?
Type two numbers in hexadecimal (digits 0 to 9 and letters A to F) and pick the operation. The result is exact, even for very large numbers.
How is the result calculated?
Each hex digit is a power of 16: FF = 15 × 16 + 15 = 255.
What should I check before using the result?
Only the characters 0-9 and A-F (upper or lower case) are accepted.