# Conversion To Binary Online ## web developer and programmer tools

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

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

Options strategies rrr meaning

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

DecimalBinary
00
11
210
311
5101
101010
111011
121100
131101
141110
151111
50110010
63111111
1001100100
10001111101000
1000010011100010000