Menu
PDF Tools
Image Tools
Converters & Utilities
Seller & Print Tools
Accounting & Business
Calculators
Text & Writing Tools
Developer & Web Tools
Creator & Social Tools
Browser Utilities & Games
Document & Design Makers
Text & Developer Tools
Exam & Form Tools

Binary Calculator

This calculator works with binary numbers. It adds, subtracts, multiplies and divides them and applies the bitwise operations AND, OR and XOR, and shows the result in four number systems.

How to use Binary Calculator online

  1. Type the first number. Write it using only 0 and 1.
  2. Choose the operation. Pick add, subtract, multiply, divide, AND, OR or XOR.
  3. Type the second number. Write it in binary too.
  4. Read the result. See it in binary, decimal, hexadecimal and octal.

Why use this free Binary Calculator

  • Arithmetic in base 2
  • AND, OR and XOR
  • Results in four bases
  • Division with remainder
  • No size limit
  • Share by link

Binary

Binary is the base 2 number system, which uses only the digits 0 and 1. Computers store everything in binary, because it matches the two states of an electronic switch. Each position is a power of two: from the right, 1, 2, 4, 8 and so on.

Arithmetic and bitwise operations

Type two binary numbers and choose an operation. Add, subtract, multiply and divide work as in decimal but with base 2. AND gives 1 only where both bits are 1, OR gives 1 where either is 1, and XOR gives 1 where the bits differ. Division shows the whole quotient and the remainder.

A worked example

Adding 1011 and 110 gives 10001, which is 17 in decimal, 11 in hexadecimal and 21 in octal. In decimal, that is 11 plus 6 equals 17.

Big numbers

The page uses whole-number arithmetic of any size, so long binary numbers do not overflow. A negative result is written with a minus sign. The first and second numbers appear in decimal under the result for checking.

Converting

To read a binary number, add the powers of two where there is a 1. For 1011 that is 8 + 0 + 2 + 1 = 11. To write one, divide by 2 repeatedly and read the remainders from the last to the first. The other results on the page show these conversions automatically.

Using the calculator

The Binary Calculator recalculates whenever a box changes, so you can try several cases quickly. Your numbers are remembered on this device if you leave that switch on.

Binary Calculator: frequently asked questions

How do I add binary numbers?
Add column by column from the right, carrying 1 when a column adds to 2.
What does XOR do?
It gives 1 where the two bits differ and 0 where they are the same.
Where do I see the decimal value of a result?
Under the binary result. It is the sum of the powers of two for each 1.
Can I use long binary numbers?
Yes. The arithmetic has no size limit.
What happens when I divide?
You get the whole quotient and the remainder, both in binary.
Where do the numbers I type in the Binary Calculator go?
Nothing leaves your browser; the Binary Calculator numbers can also be kept on this device if you allow it.
Can I share a Binary Calculator result?
Press Save as scenario A to keep a Binary Calculator result on the page, and download a PDF to keep it for good.

Related searches for Binary Calculator

  • Binary Calculator online
  • free Binary Calculator
  • Binary Calculator online free
  • Binary Calculator for mobile
  • Binary Calculator without sign up
  • binary formula
  • binary calculator with table
  • Binary Calculator – Math, Stats & Charts

Binary Calculator is a free online tool on MAITBOX, in the Math, Stats & Charts group. It runs in your browser, so what you type is not sent to a server. It works on Android and iPhone, and on Windows, Mac and Linux, with no download and no account.

More tools in Math, Stats & Charts →

Search tools