Binary Calculator
Binary Calculation Tools
Use the following calculators to perform binary operations and conversions between binary and decimal values.
Advertisement Space
Binary Operations
Binary to Decimal
Decimal to Binary
Advertisement Space
Understanding Binary System
What is the Binary System?
The binary system is a numerical system that functions virtually identically to the decimal number system that people are likely more familiar with. While the decimal number system uses the number 10 as its base, the binary system uses 2. Furthermore, although the decimal system uses the digits 0 through 9, the binary system uses only 0 and 1, and each digit is referred to as a bit.
Almost all modern technology and computers use the binary system due to its ease of implementation in digital circuitry using logic gates. It is much simpler to design hardware that only needs to detect two states, on and off (or true/false, present/absent, etc.).
Binary/Decimal Conversion Table
| Decimal | Binary | Decimal | Binary |
|---|---|---|---|
| 0 | 0 | 8 | 1000 |
| 1 | 1 | 10 | 1010 |
| 2 | 10 | 16 | 10000 |
| 3 | 11 | 20 | 10100 |
| 4 | 100 | 32 | 100000 |
| 5 | 101 | 64 | 1000000 |
How Binary Conversion Works
Each binary place value represents 2n, just as each decimal place represents 10n. Take the number 8 for example:
8 = 23 = 1000 in binary
Reading from right to left: the first 0 represents 20, the second 0 represents 21, the third 0 represents 22, and the fourth 1 represents 23
To convert decimal to binary:
- Find the largest power of 2 that lies within the given number
- Subtract that value from the given number
- Find the largest power of 2 within the remainder found in step 2
- Repeat until there is no remainder
- Enter a 1 for each binary place value that was found, and a 0 for the rest
Binary Addition
Binary addition follows the same rules as addition in the decimal system except that rather than carrying a 1 over when the values added equal 10, carry over occurs when the result of addition equals 2.
0 + 0 = 0
0 + 1 = 1
1 + 0 = 1
1 + 1 = 0, carry over the 1 (i.e., 10)
Advertisement Space