Base-N Calculator
Perform arithmetic operations directly in any number base from 2 to 36. Add, subtract, multiply, and divide numbers in binary, octal, hexadecimal, or any custom base without manually converting to decimal first. See results in multiple bases simultaneously.
Base-N Arithmetic Calculator
Valid digits: 01
Examples
Binary Addition
1010 + 0110 = 10000
(10 + 6 = 16)
Hex Multiplication
FF * 2 = 1FE
(255 * 2 = 510)
Octal Subtraction
77 - 10 = 67
(63 - 8 = 55)
Binary Division
10100 / 100 = 101
(20 / 4 = 5)
Notes
Division: Results are truncated to integers (floor division).
Negative results: Displayed with a minus sign prefix.
Case insensitive: For bases >10, letters A-Z represent values 10-35.
FAQ
Why calculate in different bases?
Direct base calculation is useful when working with binary data, memory addresses (hex), or file permissions (octal). It avoids conversion errors and helps verify calculations in their native format.
What bases are supported?
Any base from 2 (binary) to 36 is supported. Bases above 10 use letters A-Z as digits beyond 9. Common bases include binary (2), octal (8), decimal (10), and hexadecimal (16).
How does arithmetic work in other bases?
The same principles apply - carry when a digit exceeds the base. In hex, F + 1 = 10. In binary, 1 + 1 = 10. The calculator handles all the carrying and borrowing automatically.