Binary math calculator — convert between decimal, binary, hex, and octal. Toggle bits visually and perform bitwise operations.
A visual binary math calculator and number system converter that goes far beyond basic conversion. Use it as a calculator for binary, a calculator for hexadecimal, or a binary system calculator. Type in any number format — decimal, binary, hexadecimal, or octal — and see all four update simultaneously in real-time. Toggle between 8, 16, and 32-bit display modes. Click individual bits to flip them and watch every representation update instantly. Perform bitwise operations (AND, OR, XOR, NOT, left shift, right shift) with aligned visual bit displays. Includes a nearby-values conversion table and copy buttons on every output.
Decimal (base 10), binary (base 2), hexadecimal (base 16), and octal (base 8). Type in any field and all others update automatically.
Each square is one bit. Colored squares are 1 (set) and dim squares are 0 (clear). They are grouped in nibbles (4 bits) for readability. Click any square to toggle it.
AND, OR, XOR, NOT (unary), left shift (<<), and right shift (>>). Enter two decimal operands and select an operation to see the result in all formats with aligned bit visualizations.
No. All conversions and calculations are performed entirely in your browser. Nothing is sent to any server.
Related: binary calculator, binary converter, decimal to binary, hex to binary, octal converter, bitwise calculator, binary to decimal, binary to hex, binary math calculator, calculator for hexadecimal, online hex calculator