piko

Binary calculator

Add, subtract, multiply, divide, and run bitwise AND/OR/XOR operations on binary integers of any length.

Runs on your device. Nothing you add is uploaded.

Digits 0 and 1 (optional 0b prefix)
Binary result
0100 1000
101101 + 11011
Decimal
72
Hexadecimal
0x48
Octal
0o110

How to use Binary calculator

  1. Enter two binary numbers (0s and 1s, spaces allowed).
  2. Pick arithmetic (+, −, ×, ÷) or bitwise (AND, OR, XOR) mode.
  3. Read the exact result in binary, decimal, hex, and octal.

Questions

No. Calculations run on arbitrary-precision BigInt integers so 64-bit, 128-bit, and larger binary values stay exact.

How this works

Performs arbitrary-precision binary and bitwise operations with BigInt.

Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. What you typed and your settings are kept in this browser so the tool opens the way you left it, except passwords, keys and tokens, which are never saved. Privacy

Related tools

More in Calculators