Skip to content
Convertitive

Decimal to Binary Converter

255 (dec) = 11111111 (bin)

Convert decimal numbers to binary numbers exactly, for any size. Convertitive parses your input as a BigInt — so 64-bit values, 256-bit hex strings, and even larger numbers round-trip without rounding. For quick reference: 255 dec = 11111111 bin, and 1024 dec = 10000000000 bin.

11111111
Quick

How to convert decimal numbers to binary numbers

  1. Enter a value

    Type a decimal integer in the From field. Allowed characters: 0 through 9.

  2. Read the binary result

    The To field updates as you type. For example, the decimal value 255 equals 11111111 in binary.

  3. Copy or share

    Use the copy button to grab the result. You can change either base from its dropdown without leaving the page.

Reference table

Fifty representative values. Every row is computed exactly by the same BigInt-based converter that powers the widget above.

Decimal (dec)Binary (bin)
00
11
210
311
4100
5101
6110
7111
81000
91001
101010
111011
121100
131101
141110
151111
1610000
1710001
1810010
1910011
2010100
2411000
3111111
32100000
36100100
42101010
48110000
50110010
63111111
641000000
1001100100
1271111111
12810000000
20011001000
25511111111
256100000000
500111110100
511111111111
5121000000000
10001111101000
10231111111111
102410000000000
2048100000000000
40961000000000000
819210000000000000
16384100000000000000
327681000000000000000
655351111111111111111
6553610000000000000000
1048576100000000000000000000

Frequently asked questions

How do I convert decimal numbers to binary numbers?
Enter your decimal value above. Convertitive parses it as an arbitrary-precision integer and reformats it in binary. The conversion is exact for any size — there's no float rounding.
What is 255 in binary?
255 (decimal) equals 11111111 in binary.
Are negative numbers supported?
Yes, with decimal. Two's-complement representations for fixed-width binary/hex are not supported here — the converter treats negative as a sign on the absolute value.
What's the largest number I can convert?
Any size. Convertitive uses JavaScript BigInt, which has no fixed upper bound — 256-bit hex strings, 512-bit and bigger all round-trip exactly.
How many bits does the result take?
An n-digit number in base 10 needs roughly 3.32 × n bits to store. The exact bit length equals ⌈log₂(value + 1)⌉.
Is hex case-sensitive?
Hexadecimal accepts letters in either case; this conversion doesn't involve hex.
Are conversion factors exact?
Yes. Base conversion is integer-to-integer; there are no factors, no rounding, no precision loss.
Why would I convert decimal numbers to binary numbers?
Binary is what computers actually use internally. Converting from decimal to binary is useful for low-level debugging, bit-mask design, and understanding how values are encoded at the hardware level.

About decimal and binary

Decimal (base 10)

Decimal (base 10) is the everyday number system, using the digits 0 through 9. It is the default base for almost all human-facing numbers — from prices to phone numbers to scientific measurements.

Binary (base 2)

Binary (base 2) represents numbers with two digits: 0 and 1. It is the native language of every digital computer because each digit maps directly to a transistor's on/off state. A group of 8 binary digits forms one byte, the smallest addressable unit in most modern hardware.

Other base converters