convertimate Number bases

Decimal to binary

Type a value in dec to get it in bin instantly.

11111111bin

That's about the same as a byte. That needs 8 bits to store.

What it means

How big is that?

Whole numbers only. Anything after the decimal point is rounded away.

The math

How to convert dec to bin

Base b: each digit is worth b times the one to its right. Gray code = n XOR (n ÷ 2); BCD writes each decimal digit as four bits.

Example: 255 dec = 11111111 bin.

Every unit

Your number in every base

Tables

dec to bin conversion table

dec to bin conversion table
decbin
1 dec1 bin
2 dec10 bin
4 dec100 bin
8 dec1000 bin
10 dec1010 bin
15 dec1111 bin
16 dec10000 bin
31 dec11111 bin
32 dec100000 bin
64 dec1000000 bin
100 dec1100100 bin
128 dec10000000 bin
255 dec11111111 bin
256 dec100000000 bin
512 dec1000000000 bin
1,000 dec1111101000 bin
1,024 dec10000000000 bin
bin to dec conversion table
bin to dec conversion table
bindec
1 bin1 dec
10 bin2 dec
100 bin4 dec
1000 bin8 dec
1010 bin10 dec
1111 bin15 dec
10000 bin16 dec
11111 bin31 dec
100000 bin32 dec
1000000 bin64 dec
1100100 bin100 dec
10000000 bin128 dec
11111111 bin255 dec
100000000 bin256 dec
1000000000 bin512 dec
1111101000 bin1,000 dec
10000000000 bin1,024 dec

Quick answers

Quick answers

How many bin is 1 dec?
1 dec is 1 bin.
How many bin is 10 dec?
10 dec is 1010 bin.
How many bin is 255 dec?
255 dec is 11111111 bin.

The units

About these units

Decimal (dec)

Base ten, the everyday counting system, using digits 0 to 9.

Binary (bin)

Base two: only 0 and 1. Every digit is one bit, the smallest unit of computer memory.

Learn more about number units

Keep going

Related conversions