Skip to content

Binary Calculator

Binary arithmetic and conversions, with the working shown for each answer.

Digits 0 and 1 only.

10110 + 1011 in binary

100001

= 33 in decimal

Result (binary)
100001
Result (decimal)
33
Result (hex)
21
Result (octal)
41

How it was calculated

  1. 10110₂ = 22 in decimal
  2. 1011₂ = 11 in decimal
  3. 22 + 11 = 33
  4. 33 in binary = 100001₂

Calculations run on this device and your inputs are not uploaded. A share link puts your inputs in the URL, so anyone with the link can read them.

More Math Calculators

All calculators

How the binary calculator works

Binary (base 2) uses only the digits 0 and 1. Each position is worth twice the one to its right: 1, 2, 4, 8, 16 and so on. So 10110 = 16 + 4 + 2 = 22.

To convert decimal to binary, divide by 2 again and again and write down the remainders; reading them from bottom to top gives the binary number. Arithmetic works like in decimal, except you carry when a column reaches 2.

Division returns a whole-number quotient and a remainder. AND, OR and XOR compare the numbers bit by bit. Numbers of any length work exactly.

Using and checking your result

Published by JustYourCalculator. Check the units and assumptions above, and compare a known example before relying on the output. Calculations use browser arithmetic and may round displayed values.

Share links may contain your input values. Anyone with the URL can read them; avoid sharing sensitive personal or financial information.

Frequently asked questions

Multiply each digit by 2 raised to its position (0 on the right) and add them. 1101 = 8 + 4 + 0 + 1 = 13.

10. There is no digit 2 in binary, so you write 0 and carry 1, just like 9 + 1 = 10 in decimal.

It compares each pair of bits and returns 1 where they differ and 0 where they match. 1100 XOR 1010 = 0110.

Yes. Every calculator is free with no sign-up. Clearly labeled ads keep it that way.

Calculations run in your browser. Share links put inputs in the URL, which can be read by anyone you send it to and is sent to the hosting server when opened. Avoid sharing sensitive numbers. Currency conversion requests public exchange rates.

Results follow the formulas and assumptions shown, with normal rounding and numerical limits. Taxes, rates and health guidance can change, so treat these as estimates and confirm important decisions with a qualified professional.