Hex Calculator
Perform arithmetic operations (add, subtract, multiply, divide) on hexadecimal numbers. Also convert between hex, decimal, binary, and octal.
Reviewed by:
Review Board
Last Updated:
Was this calculator helpful?
How to use this tool?
How to Use the Hex Calculator
- Enter hex numbers – Type up to two hexadecimal values (e.g.,
1A,FF) into the Hex Number 1 and Hex Number 2 fields. Only digits 0-9 and letters A-F (case-insensitive) are allowed. - Choose an operation – Select Add (+), Subtract (-), Multiply (*), or Divide (/) from the dropdown.
- Click Calculate – Press the Calculate button or hit the Enter key. The result appears in hexadecimal below.
- View conversions – The Conversions section shows the result in decimal, binary, and octal for quick reference.
- Check the formula – The Formula line displays the exact calculation performed, including decimal equivalents.
Note: Division uses integer division (floor). Division by zero is not allowed and shows an error.
Previous Results
| Result | Inputs | Date |
|---|
Frequently Asked Questions
A hex calculator allows you to perform arithmetic operations on hexadecimal numbers and convert between number systems.
Each hex digit represents a power of 16. For example, 1A = 1*16 + 10 = 26.
No, division by zero is undefined and will show an error.