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.
- Free, no sign-up
- Nothing is sent to a server
- Worldwide
How to use Binary Calculator online
- Type the first number. Write it using only 0 and 1.
- Choose the operation. Pick add, subtract, multiply, divide, AND, OR or XOR.
- Type the second number. Write it in binary too.
- 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?
What does XOR do?
Where do I see the decimal value of a result?
Can I use long binary numbers?
What happens when I divide?
Where do the numbers I type in the Binary Calculator go?
Can I share a Binary Calculator result?
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.