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)
Binary to Decimal

Binary to Decimal

Convert binary numbers to decimal. Essential for programming, computer science, and understanding how computers store data.

What is the Binary to Decimal Converter?

This tool converts binary numbers (base-2) to decimal numbers (base-10), helping you understand how computers represent the data we read and write every day.

Positional value: each binary digit represents a power of 2. Reading right to left, the place values are 1, 2, 4, 8, 16, 32, and so on.

Why Convert Binary to Decimal?

Learning Programming

Understand how integers, characters, and other data types are stored in memory.

Debugging Code

Read memory addresses, register values, and bit flags while troubleshooting.

Network Configuration

Subnet masks and IP address calculations rely on binary representation.

Digital Electronics

Work with logic circuits, gates, and signals expressed in 0s and 1s.

The Conversion Method

Multiply each binary digit by its place value (a power of 2) and add the results together.

Example: 1010 = 1×8 + 0×4 + 1×2 + 0×1 = 10 in decimal.

How to Use

1

Enter the Binary Number

Type your digits using only 0 and 1. Invalid characters are filtered automatically, so only valid binary input is accepted.

2

View the Decimal Result

The conversion appears instantly in the second field as you type. No button press needed.

3

Copy the Result

Use the copy button to grab the value for your code, calculations, or documentation.

Bidirectional: both fields are editable. Type a decimal value in the result field to convert it back to binary, or use the swap button to flip the direction.

Common Binary Values

BinaryDecimalMeaning
1111154-bit (nibble) maximum
111111112558-bit (byte) maximum
111111111111111165,53516-bit maximum

Frequently Asked Questions

What characters can I enter?

Only the digits 0 and 1, the two symbols used in base-2. Any other character is automatically filtered out as you type.

How do I convert decimal back to binary?

Both fields are interactive. Type a decimal number directly into the result field, or press the swap button to reverse the conversion direction.

Why does 11111111 equal 255?

Eight 1s add up to 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255. That is why a single byte (8 bits) can hold values from 0 to 255.

Is there a limit to the number size?

The tool handles everyday lengths used in programming and study with ease. For very long bit strings, results are computed in your browser for instant feedback.

01
0b
0123456789

Common Conversions

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

Binary (Base-2)

The fundamental language of computers. Uses only 0 and 1 to represent all data and instructions.

Decimal (Base-10)

The standard number system used in everyday life. Each digit can be 0-9.

Enter binary digits (0 and 1 only)
1010 in binary = 10 in decimal
Useful for understanding computer memory addresses
Each binary digit represents a power of 2
Want to learn more? Read documentation →
1/5
Start typing to search...
Searching...
No results found
Try searching with different keywords