# Decimal to Binary Converter

Use this online converter to easily convert decimals to binary numbers.

Share converter:

Embed this tool:
get code

## Conversion of decimals to binary numbers

Decimals are numbers represented in the decimal positional numeral system (radix / base 10) while binary numbers are numbers represented in the binary positional numeral system which has a base of 2. While the decimals are in ubiquitous use in both our daily life and in science, engineering, etc. binary numbers are not something most people encounter unless they take a course in computer architecture or computer science.

Binary numbers are important in computer systems since information is represented in them as the presence or absence of an electrical impulse (presence is stored as a 1, absence as stored as a 0). Therefore, some binary math and decimal to binary conversions might need to be done as a part of your education. If that is the case, our converter above should be of great use. If you need to perform the conversion by hand, a step-by-step guide is available below.

## How to convert decimal to binary

Let us say the number we want to convert from decimal to binary is X. Begin by finding the largest power of 2 ≤ X and denote it by E. Then determine how many times the power of 16 found above goes into X and make not of that. Denote the remainder by Y1.

Repeat the above steps using Yn as a starting value until 2 is larger than the remaining value and assign the remainder to the 20 position, then assign each of the values Y1...n to its respective position and you will have your hex value.

Example decimal to binary conversion: Convert 100 in decimal to hex.

1.) Largest power E = 6 (26 = 64 ≤ 100, 27 = 128 ≥ 100)

2.) 100 / 26 = 1 (36 remainder); Y1 = 1

3.) Largest power E = 5 (25 = 32 ≤ 36, 26 = 64 ≥ 36)

4.) 32 / 25 = 1 (4 remainder); Y2 = 1

5.) Largest power E = 2 (22 = 4 ≤ 4, 23 = 8 ≥ 4)

6.) 4 / 22 = 0 (0 remainder); Y3 = 0

7.) 0 < 2; end.

For each power you have used place in its position. For the remainder place zeroes. In this case we've used powers of 2, 5 and 6, therefore the result is: 1100100 (1 · 26 + 1 · 25 + 0 · 24 + 0 · 23 + 1 · 22 + 0 · 21 + 0 · 20).

Since the above process for converting decimals to binary numbers becomes quite tedious for larger numbers, we recommend using our online converter instead.

## Decimal to binary conversion table

decimal to binary conversion table
Decimal Binary
0 0
1 1
2 10
3 11
5 101
10 1010
11 1011
12 1100
13 1101
14 1110
15 1111
50 110010
63 111111
100 1100100
1000 1111101000
10000 10011100010000

#### Cite this converter & page

If you'd like to cite this online converter resource and information as provided on the page, you can use the following citation:
Georgiev G.Z., "Decimal to Binary Converter", [online] Available at: https://www.gigacalculator.com/converters/convert-decimal-to-binary.php URL [Accessed Date: 22 May, 2022].