Binary Calculator

Perform binary arithmetic — addition, subtraction, multiplication, and division — on binary numbers and see results in binary, decimal, octal, and hexadecimal.

Share this calculator

Operation

Results

Enter valid binary numbers Please enter both binary numbers.

Also in Number Theory

Number Systems

Binary arithmetic: add, subtract, multiply, and divide in base 2

The binary calculator performs addition, subtraction, multiplication, and division on binary (base-2) numbers. Enter two binary values, pick an operation, and see the result in binary, decimal, octal, and hexadecimal.

How binary arithmetic works

Binary arithmetic follows the same rules as decimal arithmetic but uses only two digits, 0 and 1. When the sum of a column reaches 2 you write 0 and carry 1 to the next column, just as you carry when a decimal column reaches 10.

Subtraction borrows from the next higher bit when the minuend digit is smaller than the subtrahend digit. Multiplication and division follow the same long-hand algorithms taught in decimal, but with a much smaller multiplication table.

1 + 1 = 10 (binary)

One plus one equals two, written as 10 in base 2.

Why binary matters

Every modern computer stores and processes data as sequences of binary digits (bits). Understanding binary arithmetic is fundamental to computer science, digital electronics, and networking.

Frequently asked questions

What digits are valid in binary?

Only 0 and 1. Any other digit makes the number invalid in base 2.

How do I convert binary to decimal?

Multiply each bit by its positional power of 2, starting from 2 to the power 0 on the right, and sum the results.

Can binary numbers be negative?

Yes. Computers represent negative binary numbers using methods like two's complement, where the leading bit indicates the sign.

Related

More from nearby categories

These related calculators come from the same leaf category, nearby sibling categories, or the same top-level topic.