Add, subtract, multiply and divide directly in binary, octal, hex or any base to 36 – plus bit shifts and bitmask operations – all exact. Everything runs locally in your browser.
- Binary Calculator
Add, subtract, multiply or divide two binary numbers with exact BigInt arithmetic – the addition mode traces every column and carry for your actual operands.
- Binary Addition Calculator
Add two binary numbers with a full column-by-column carry trace – see exactly where 1+1 writes 0 and carries 1, for your actual inputs.
- Binary Subtraction Calculator
Subtract one binary number from another exactly, including negative results – and see why hardware actually subtracts by adding the two’s complement.
- Binary Multiplication Calculator
Multiply two binary numbers exactly, at any length.
- Binary Division Calculator
Divide two binary numbers exactly, returning the integer quotient and the remainder separately – the form long division and hardware dividers actually produce.
- Hex Calculator
Add, subtract, multiply or divide hexadecimal numbers exactly – with a decimal cross-check in the result so you can verify at a glance.
- Hex Addition Calculator
Add two hexadecimal numbers exactly – columns carry at 16, so 8 + 9 writes 1 and carries 1, and the decimal cross-check confirms the result.
- Hex Subtraction Calculator
Subtract hexadecimal numbers exactly, including negative results – with borrows worth 16 rather than 10, which is where hand calculations usually slip.
- Hex Multiplication Calculator
Multiply hexadecimal numbers of any size exactly.
- Hex Division Calculator
Divide hexadecimal numbers exactly, returning quotient and remainder in hex with a decimal cross-check – useful for address arithmetic and alignment calculations.
- Octal Calculator
Add, subtract, multiply or divide octal numbers exactly – carries and borrows happen at 8, and the decimal equivalents are shown so every step can be checked.
- Base-N Calculator
Do exact arithmetic in ANY base from 2 to 36 – pick the base, pick the operation, and get the result in that base with a decimal cross-check.
- Binary Bit Shift Calculator
Shift a value left or right and see the bits move – logical shifts insert zeros, arithmetic right shift copies the sign bit, and every shift is a multiply or divide by two.
- Binary Bitmask Calculator
Apply AND, OR, XOR and AND-NOT between a value and a mask, bit by bit – the four operations behind testing, setting, toggling and clearing flags.
Arithmetic without leaving the base: add, subtract, multiply and divide directly in binary, octal, hex or any base to 36 — plus the bit-level operations, shifts and masks, that arithmetic notation hides. Every result is exact and decimal-verified.
The binary addition trace shows carries column by column; the mask calculator aligns operands bit-for-bit.
Arithmetic without leaving the base
Doing arithmetic directly in binary, octal or hex is the same school algorithm you already know, with one substitution: columns carry when they reach the base, not ten. In binary 1 + 1 writes 0 and carries 1; in octal 7 + 1 is 10; in hex 9 + 8 is 11. Every calculator in this family works on exact big-integer arithmetic, so there is no 32-bit or 64-bit ceiling and no silent overflow — and each result carries a decimal cross-check so you can confirm it independently.