Decimal to Binary

Convert any decimal (base 10) number to binary (base 2) instantly. Free online converter with step-by-step breakdown.

⚡ Decimal → Binary

Invalid characters for decimal input

Binary Result
0b0

⚙️ Live Conversion Steps

Enter a decimal value to see the conversion steps

🕑 Recent Conversions

Your conversions will appear here

What Is Decimal to Binary

Converting decimal to binary means changing a number from the base 10 numeral system to the base 2 numeral system. The decimal system uses the digits 0–9, while the binary system uses 0 and 1.

This conversion is widely used in programming, digital electronics, and computer science. Understanding how numbers map between base 10 and base 2 helps engineers read memory addresses, color codes, file permissions, and machine-level data more efficiently.

🔄 Base Comparison — See One Number in Every Base

How to Convert Decimal to Binary

To convert a decimal number to binary, first convert the decimal value to its decimal (base 10) equivalent. Then repeatedly divide by 2 and collect the remainders to build the binary result.

For example, try entering a value in the calculator above to see each step of the conversion process animated in real time.

⚡ Try It — Interactive Step-by-Step Demo

Frequently Asked Questions

It is the process of changing a number from base 10 (decimal) to base 2 (binary). The decimal system uses digits 0–9, while the binary system uses digits 0 and 1. Each number system assigns values based on positional powers of its base.
Divide the decimal number by 2 repeatedly, recording the remainder at each step. When the quotient reaches zero, read the remainders in reverse order to get your binary result.
Binary representation is fundamental to digital circuit design, CPU instruction encoding, bitwise operations, network subnet masks, and understanding how computers store data at the hardware level.
Common examples: 1 = 1, 2 = 10, 5 = 101, 10 = 1010, 100 = 1100100, 255 = 11111111, 256 = 100000000.
This converter handles positive integers. Negative numbers in computers typically use two's complement binary representation. Fractional conversions require a different algorithm (repeated multiplication for the fractional part). Our specialized converters handle these cases.
Our converter handles numbers up to JavaScript's safe integer limit: 2^53 - 1 (which is 9,007,199,254,740,991 in decimal). This covers virtually all practical conversion needs including 32-bit and 48-bit values.
Our converter features an interactive, animated step-by-step diagram. As you type a decimal value, the live conversion panel shows each division step with quotient and remainder in real time, making it easy to learn the process.
The 0x prefix is a convention in programming (C, Java, Python, JavaScript) to indicate a hexadecimal number. Similarly, 0b indicates binary and 0o indicates octal. These prefixes prevent confusion between number systems — for example, 10 in decimal versus 0x10 (16) in hex.
Yes! Our converter is completely free with no registration, no limits, and no ads. You can convert unlimited numbers and use the step-by-step visualizations as many times as you need. The tool also saves your recent conversions locally for quick reference.
Decimal (base 10) is one of four commonly used number systems in computing. Decimal (base 10) is the human-readable standard, binary (base 2) is what computers use internally, octal (base 8) is used in Unix permissions, and hexadecimal (base 16) is a compact way to represent binary data. Each hex digit maps to exactly 4 binary bits.

All Conversion Tools

Instantly convert between number systems, encodings, and formats with interactive step-by-step breakdowns.

Dec → Hex

Decimal to Hexadecimal

Base 10 → Base 16

Try Now →
Hex → Dec

Hexadecimal to Decimal

Base 16 → Base 10

Try Now →
Bin → Dec

Binary to Decimal

Base 2 → Base 10

Try Now →
Dec → Oct

Decimal to Octal

Base 10 → Base 8

Try Now →
Oct → Dec

Octal to Decimal

Base 8 → Base 10

Try Now →
Oct → Hex

Octal to Hexadecimal

Base 8 → Base 16

Try Now →
Hex → Oct

Hexadecimal to Octal

Base 16 → Base 8

Try Now →
Oct → Bin

Octal to Binary

Base 8 → Base 2

Try Now →
Bin → Oct

Binary to Octal

Base 2 → Base 8

Try Now →
Hex → Bin

Hexadecimal to Binary

Base 16 → Base 2

Try Now →
Bin → Hex

Binary to Hexadecimal

Base 2 → Base 16

Try Now →
Dec → BCD

Decimal to BCD

Convert decimal numbers to Binary Coded Decimal (B...

Try Now →
Dec → 2's

Decimal to 2's Complement

Convert decimal integers (including negatives) to ...

Try Now →
Bin → ASCII

Binary to ASCII

Convert binary numbers to ASCII text characters. D...

Try Now →
Bin → Gray

Binary to Gray Code

Convert standard binary to Gray code (reflected bi...

Try Now →
Hex → ASCII

Hex to ASCII

Convert hexadecimal values to ASCII text. Decode h...

Try Now →
Hex → RGB

Hex to RGB

Convert hex color codes to RGB values instantly. S...

Try Now →
RGB → Hex

RGB to Hex

Convert RGB color values to hexadecimal color code...

Try Now →
ASCII → Hex

ASCII to Hex

Convert ASCII text to hexadecimal representation. ...

Try Now →
Hex → Text

Hex to Text

Convert hexadecimal strings to readable text. Deco...

Try Now →
Dec → Frac

Decimal to Fraction

Convert decimal numbers to simplified fractions. S...

Try Now →
Dec → %

Decimal to Percent

Convert decimal values to percentages instantly wi...

Try Now →
Any → Any

Number Base Converter

Convert numbers between any bases (2-36). Universa...

Try Now →
Hex → Info

Hexadecimal Reference

Complete hexadecimal reference with conversion tab...

Try Now →
Hex → Unicode

Hex to Unicode

Convert hexadecimal code points to Unicode charact...

Try Now →
ASCII → Bin

ASCII to Binary

Convert ASCII text to binary representation. See e...

Try Now →