二进制计算器

在二进制下进行算术运算

浏览器处理您的数据绝不离开浏览器

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 二进制计算器

在二进制下进行算术运算

Use this free online 数学工具 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.