Skip to content
UnitChart

Convert decimal to binary

Decimal (base 10) to binary (base 2). Type a value below, or use the reference table further down.

255 (decimal) = 11111111 (binary)

Divide repeatedly by 2 and read the remainders from last to first. 255 in base 2 is 11111111.

How to convert decimal to binary

Divide repeatedly by 2 and read the remainders from last to first. 255 in base 2 is 11111111.

Conversions here use arbitrary-precision integers, so values beyond 64 bits convert exactly rather than being rounded.

decimal to binary conversion table

Use this decimal to binary chart for quick reference.

decimal to binary conversion table
Decimal (base 10)Binary (base 2)
00
11
210
311
4100
5101
6110
7111
81000
91001
101010
111011
121100
131101
141110
151111
1610000
32100000
641000000
1001100100
1271111111
12810000000
25511111111
256100000000
5121000000000
10001111101000
10231111111111
102410000000000
4095111111111111
40961000000000000
655351111111111111111
6553610000000000000000

Common decimal to binary values

123456789101112131415162024253032506410012820025525651210001024

What is decimal?

Decimal is base 10, the everyday number system, using the digits 0 to 9. Each place is worth ten times the one to its right.

What is binary?

Binary is base 2, using only 0 and 1. It is how every digital computer physically stores and manipulates data, with each digit representing one bit.

Frequently asked questions

How do you convert decimal to binary?

Divide repeatedly by 2 and read the remainders from last to first. 255 in base 2 is 11111111.

What is 255 decimal in binary?

255 in decimal is 11111111 in binary. In plain decimal that value is 255.

What digits does decimal use?

Decimal is base 10 and uses 0-9. Decimal is base 10, the everyday number system, using the digits 0 to 9. Each place is worth ten times the one to its right.

Other base conversions