Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)

Decimal to Binary

Convert decimal numbers to binary. Perfect for programmers, students learning computer science, and anyone working with digital systems.

What is the Decimal to Binary Converter?

This tool converts decimal numbers (base-10) to binary numbers (base-2), showing how regular numbers are represented in computer memory.

Why Convert Decimal to Binary?

Understanding binary conversion helps you:

  • Learn programming fundamentals — how data types work
  • Work with bitwise operations — AND, OR, XOR, shifts
  • Configure network settings — IP addresses, subnet masks
  • Understand file sizes — bytes, kilobytes, megabytes

The Conversion Method

Repeatedly divide by 2 and collect remainders (read bottom to top).

Example: 10 ÷ 2 = 5 r0, 5 ÷ 2 = 2 r1, 2 ÷ 2 = 1 r0, 1 ÷ 2 = 0 r1 → Result: 1010

How to Use

  1. Enter decimal number — type any positive integer
  2. View binary result — conversion happens automatically
  3. Copy the result — click the copy button to use elsewhere

Common Decimal to Binary Values

  • 15 → 1111 (nibble max)
  • 255 → 11111111 (byte max)
  • 1024 → 10000000000 (1 KB)

Formatting

Binary results are grouped in sets of 4 digits for easier reading (e.g., 1111 0000 instead of 11110000).

0123456789
01
0b

Common Conversions

1 = 1
2 = 10
4 = 100
8 = 1000
16 = 10000
255 = 11111111

Decimal (Base-10)

The standard number system using digits 0-9. Each position represents a power of 10.

Binary (Base-2)

How computers store and process all information. Each bit is either 0 or 1.

Enter any positive integer
10 in decimal = 1010 in binary
Result shows the binary representation
Useful for understanding bit patterns
Want to learn more? Read documentation →
1/5
Start typing to search...
Searching...
No results found
Try searching with different keywords