Binary and Hex Integer Arithmetic Calculator
Use digits appropriate to the selected base and omit prefixes.
Your result
MATHExample values are prefilled. Results update automatically when JavaScript is available.
What this tool calculates
Use digits appropriate to the selected base and omit prefixes.
Inputs used: First signed integer in selected base, Second signed integer in selected base, Number base, Operation.
Calculation modes and inputs
- Operation
- Add, Subtract, Multiply, Integer quotient
Choose the mode first. Only the fields relevant to that calculation are used; the result heading identifies the reported quantity.
On this page How it works & practical examples
How to use the Binary and Hex Integer Arithmetic Calculator
Use digits appropriate to the selected base and omit prefixes. Negative integers are signed values rather than fixed-width two’s-complement patterns.
The calculation
Worked example
Hexadecimal ff + 1 returns 100; this performs arithmetic, not only base conversion.
Assumptions and limits
At most 100 digits per operand. Integer division truncates toward zero; no fractional or bitwise calculations are performed.