Binary Calculator

Perform arithmetic in binary

Browser ProcessingYour data never leaves your browser

A in decimal

10

B in decimal

12

A + B (Addition)

10110

= 22 decimal

A - B (Subtraction)

-10

= -2 decimal

A × B (Multiplication)

1111000

= 120 decimal

A ÷ B (Division)

0

= 0 decimal

Bitwise Operations

A AND B

1000

A OR B

1110

A XOR B

110

NOT A

0101

Bit Shift Operations on A

Shift by:
bits

Left Shift (A << 1)

10100

Right Shift (A >> 1)

101

A in Other Bases

Octal:12Decimal:10Hexadecimal:A

Bit Visualization (A)

0
0
0
0
1
0
1
0
7
6
5
4
3
2
1
0

Two's Complement (8-bit)

One's Complement:11110101Two's Complement:11110110

About Binary Calculator

Perform arithmetic in binary

Use this free online math tools tool to work faster without installing extra software. The interface is built for quick input, clear output, and straightforward results on desktop and mobile devices.

Processing

This tool runs in your browser whenever possible, which keeps your inputs private and reduces unnecessary round-trips to the server.