← All tools/Calculators/Math/Binary Calculator

Binary Calculator

Add, subtract, multiply or divide binary numbers, and see the answer in binary and in decimal.

Only the digits 0 and 1 — for example 1010.

Only the digits 0 and 1 — for example 1100.

Result in binary

10110

Decimal: 22

First number
10
Second number
12
Result
22
Breakdown
First number1010 (10)
OperationAdd
Second number1100 (12)
Result in binary10110
Result in decimal22
Remainder (division only)—

A subtraction that goes below zero shows a minus sign on the binary result. Two’s complement is not used.

How it works

Binary digit values: 1, 2, 4, 8, 16, … (powers of 2)
1010 = 1×8 + 0×4 + 1×2 + 0×1 = 10
Addition: 1 + 1 = 10 in binary (a carry happens at 2, not 10)
Division: quotient = whole-number part, remainder = what is left over

1010 in binary is 10 in decimal, and 1100 is 12. Adding them: 1010 + 1100 = 10110 in binary, which is 22 in decimal. Multiplying instead, 1010 × 11 = 11110 in binary, which is 30 in decimal. Dividing, 1010 ÷ 11 = 11 remainder 1 in binary, or 3 remainder 1 in decimal.

Frequently asked questions

How does binary addition work?

Just like decimal addition, except a carry happens when the sum reaches 2 instead of 10. So 1 + 1 = 10 in binary, and 1010 + 1100 = 10110, which is 10 + 12 = 22 in decimal.

How do I read a binary number in decimal?

Each digit is a power of 2, starting from 1 on the right. So 1010 = 1×8 + 0×4 + 1×2 + 0×1 = 10.

What does division show?

Integer division: the whole-number quotient in binary, plus the remainder. For example 1010 ÷ 11 = 11 remainder 1, which is 3 remainder 1 in decimal.

What if a subtraction goes negative?

The answer shows a minus sign in front of the binary result, for example −101. Two’s complement is not used here, so the sign is shown plainly.

More tools

Tell us what you think

Loving this tool, or stuck on something? Tell us — it takes a minute.

We’ll only use your name and email to reply if needed. The tool and page are filled in for you.