MATH
Binary and Hex Integer Arithmetic Calculator
Use digits appropriate to the selected base and omit prefixes.
Your result
MATHEnter your values and select calculate.
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
Parse both operands as exact integers in the selected base, apply the operation, format in that base
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.
Common questions
Which inputs should I use?
Use digits appropriate to the selected base and omit prefixes. Negative integers are signed values rather than fixed-width two’s-complement patterns.
What does the result exclude?
At most 100 digits per operand. Integer division truncates toward zero; no fractional or bitwise calculations are performed.