# Decimal to Binary converter Convert decimal numbers into binary format effortlessly with our efficient Decimal to Binary Converter. This tool allows you to easily convert any decimal value into its equivalent binary representation. Simply input the decimal number and let our converter do the rest. It will instantly generate the binary representation, showcasing the 0s and 1s that make up the binary code.

10
2
2
16

Little endian

Big endian

Decimal to binary calculation steps

Divide by the base 2 to get the digits from the remainders:

Division
by 2
Quotient

Remainder

(Digit)
Bit #

Related

## What is Decimal to Binary converter

A Decimal to Binary converter is a tool or program that helps convert decimal numbers into their equivalent binary representation. Decimal numbers are numbers expressed in the base-10 numeral system, while binary numbers are numbers expressed in the base-2 numeral system, using only 0s and 1s.

To use a Decimal to Binary converter, you input a decimal number, and it provides you with the binary representation of that number.

Here's an example:

Let's say you have the decimal number 10. To convert it to binary, you would perform the following steps:

1. Divide the decimal number by 2. 10 ÷ 2 = 5, Remainder = 0

2. Divide the quotient from step one (5) by 2 again. 5 ÷ 2 = 2, Remainder = 1

3. Divide the new quotient (2) by 2 once more. 2 ÷ 2 = 1, Remainder = 0

4. Divide the final quotient (1) by 2. 1 ÷ 2 = 0, Remainder = 1

Now, write down the remainders from the last step to the first step: 1010

So, the decimal number 10 is equivalent to 1010 in binary representation.

There are various online tools, calculators, or programming functions available that offer Decimal to Binary conversion capabilities, making it convenient to perform these conversions quickly and accurately.

## How to convert decimal to binary

### Conversion steps:

1. Divide the number by 2.
2. Get the integer quotient for the next iteration.
3. Get the remainder for the binary digit.
4. 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

So 1310 = 11012

### 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

So 17410 = 101011102

## 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