Hex Calculator (Hexadecimal Add, Subtract, Multiply & Divide)
Add, subtract, multiply or divide two hexadecimal numbers, or combine them with AND, OR and XOR. The answer is shown in hex, decimal and binary.
Add, subtract, multiply or divide two hexadecimal numbers, or combine them with AND, OR and XOR. The answer is shown in hex, decimal and binary.
Results
About This Calculator
Hex digits run 0–9 then A–F (10–15). When adding, a column that reaches 16 carries 1 into the next column, just as 10 does in decimal.
Division gives the whole-number quotient. Use mod for the remainder.
Example
Example: 1A3F + FF = 1B3E (decimal 6,974).
Assumptions
Whole numbers of any size. Letters can be upper or lower case, and a 0x prefix is optional.
Frequently Asked Questions
What is F + 1 in hex?
10 (sixteen in decimal).
How do I subtract hex numbers?
Column by column, borrowing 16 instead of 10.
Related Calculators
About the Author

Professional SEO, Digital Marketer Specialist
I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist
View full profile