Home · Unit Conversion · Number Bases · Decimal to Binary Converter

Decimal to Binary Converter

Convert Decimal to Binary with the exact factor, a worked example and a table of common values — no sign-up, results as you type.

Your number

Converting Decimal → Binary. Swap to the reverse conversion →

Example result — edit the value to make it yours

11111111 base 2

255 Decimal = 11111111 Binary.

What this converter is for

Binary, decimal, octal and hexadecimal integers converted between each other. This page covers one ordered pair — Decimal into Binary — with the factor stated openly, so you can check the arithmetic by hand or reuse it in a spreadsheet.

The formula

base 10 digits → value → base 2 digits

Both forms name the same whole number; only the digits change. The calculator reads your input as a base-10 integer (each digit is worth 10 times the one to its right) and writes the same value in base 2. Negative and fractional values are not part of this converter.

Worked example

Converting the example this page opens with: 255Decimal = 11111111Binary. Every figure on this page — the example, the table below and the calculator itself — is produced by the same conversion function.

Quick reference: Decimal to Binary

Decimal (base 10)Binary (base 2)
11
210
5101
101010
1610000
32100000
641000000
1001100100
25511111111

Computed with the same function as the calculator above — enter any value there for figures beyond this table.

Common questions

How many Binary are in 1 Decimal?

Exactly 1 Binary — that is the factor this converter is built on. Multiply any Decimal figure by it to get Binary.

How do I convert Decimal to Binary?

Both forms name the same whole number; only the digits change. The calculator reads your input as a base-10 integer (each digit is worth 10 times the one to its right) and writes the same value in base 2. Negative and fractional values are not part of this converter.

What is 255 Decimal in Binary?

255 Decimal = 11111111 Binary. That is the worked example this page opens with; type any other value into the calculator and it converts as you type.