Math

Binary Calculator

Perform exact integer arithmetic on binary numbers. Enter only zero and one digits, then choose addition, subtraction, multiplication or division.

01

Your inputs

02

Your result

Ready when you are.

Adjust the inputs, then calculate to see your result here.

Calculated on your device. Inputs are not saved by this calculator.

GET MORE FROM YOUR RESULT

Using the Binary Calculator

Each binary place is worth twice the place to its right. The calculator reads your input as base two, so the text 10 means two in decimal rather than ten.

Worked example

Use the example inputs below to reproduce this result. These are the form's starting values, not recommended targets. Changing your inputs updates your result above; this worked example stays fixed for comparison. Results are rounded for display.

Example inputs

First integer
1010
Operation
+
Second integer
10

Example result

Result
1100

Method and assumptions

Exact integer arithmetic. Division returns an integer quotient and remainder; binary and hexadecimal inputs are unsigned.

Keep exact values exact

Whole-number problems often need an exact answer rather than a rounded decimal. Check the permitted range and input notation before pasting a large number. A leading minus sign, a decimal point or a base prefix can change whether an entry is valid. Where the tool returns an exact integer or factorization, preserve that form for later calculations.

Common question

Can I enter a binary number with a 0b prefix?

Enter the digits without a prefix. The calculator already interprets the input as binary and validates it accordingly.