Decimal to Binary converter
* You can enter decimals with e notation. e.g: 572 = 5.72e2.
Decimal
Decimal number is a number expressed in the base 10 numeral system. Decimal number's digits have 10 symbols: 0,1,2,3,4,5,6,7,8,9. Each digit of a decimal number counts a power of 10.
Decimal number example:
65310 = 6×10 2 +5×10 1 +3×10 0
Binary
Binary number is a number expressed in the base 2 numeral system. Binary number's digits have 2 symbols: zero (0) and one (1). Each digit of a binary number counts a power of 2.
Binary number example:
11012 = 1×2 3 +1×2 2 +0×2 1 +1×2 0 = 1310
How to convert decimal to binary
Conversion steps:
- Divide the number by 2.
- Get the integer quotient for the next iteration.
- Get the remainder for the binary digit.
- Repeat the steps until the quotient is equal to 0.
Example #1
Convert 1310 to binary:
Division by 2 | Quotient | Remainder | Bit # |
| 13/2 | 6 | 1 | 0 |
| 6/2 | 3 | 0 | 1 |
| 3/2 | 1 | 1 | 2 |
| 1/2 | 0 | 1 | 3 |
Example #2
Convert 17410 to binary:
Division by 2 | Quotient | Remainder | Bit # |
| 174/2 | 87 | 0 | 0 |
| 87/2 | 43 | 1 | 1 |
| 43/2 | 21 | 1 | 2 |
| 21/2 | 10 | 1 | 3 |
| 10/2 | 5 | 0 | 4 |
| 5/2 | 2 | 1 | 5 |
| 2/2 | 1 | 0 | 6 |
| 1/2 | 0 | 1 | 7 |
Decimal to binary conversion table
Decimal Number | Binary Number | Hex Number |
| 0 | 0 | 0 |
| 1 | 1 | 1 |
| 2 | 10 | 2 |
| 3 | 11 | 3 |
| 4 | 100 | 4 |
| 5 | 101 | 5 |
| 6 | 110 | 6 |
| 7 | 111 | 7 |
| 8 | 1000 | 8 |
| 9 | 1001 | 9 |
| 10 | 1010 | A |
| 11 | 1011 | B |
| 12 | 1100 | C |
| 13 | 1101 | D |
| 14 | 1110 | E |
| 15 | 1111 | F |
| 16 | 10000 | 10 |
| 17 | 10001 | 11 |
| 18 | 10010 | 12 |
| 19 | 10011 | 13 |
| 20 | 10100 | 14 |
| 21 | 10101 | 15 |
| 22 | 10110 | 16 |
| 23 | 10111 | 17 |
| 24 | 11000 | 18 |
| 25 | 11001 | 19 |
| 26 | 11010 | 1A |
| 27 | 11011 | 1B |
| 28 | 11100 | 1C |
| 29 | 11101 | 1D |
| 30 | 11110 | 1E |
| 31 | 11111 | 1F |
| 32 | 100000 | 20 |
| 64 | 1000000 | 40 |
| 128 | 10000000 | 80 |
| 256 | 100000000 | 100 |
See also
- Binary to Decimal converter
- Decimal to Hex converter
- Decimal to Octal converter
- Decimal to Fraction converter
- Decimal to Percent converter
- Binary calculator
- ASCII text to binary converter
- How to convert decimal to binary
- Numeral systems
- 16 decimal to binary
- 64 decimal to binary
- 255 decimal to binary
- 10 to binary
Write how to improve this page
NUMBER CONVERSION
- ASCII,Hex,Binary,Decimal converter
- ASCII text to binary converter
- ASCII text to hex converter
- Base converter
- Binary converter
- Binary to ASCII text converter
- Binary to decimal converter
- Binary to hex converter
- Date to roman numerals converter
- Decimal to fraction converter
- Decimal to percent converter
- Decimal to binary converter
- Decimal to octal converter
- Decimal to hex converter
- Degrees to deg,min,sec converter
- Deg,min,sec to degrees converter
- Degrees to radians converter
- Fraction to decimal converter
- Fraction to percent converter
- Hex/decimal/octal/binary converter
- Hex to ASCII text converter
- Hex to binary converter
- Hex to decimal converter
- Octal to decimal converter
- Percent to decimal converter
- Percent to fraction converter
- Percent to ppm converter
- ppm to percent converter
- ppm to ppb converter
- ppm to ppt converter
- ppb to ppm converter
- ppt to ppm converter
- ppm converter
- Radians to degrees converter
- Roman numerals converter
- Scientific notation converter