Binary to Decimal Converter - Convert Binary to Decimal Online
Result
—
Binary to Decimal Converter
The Binary to Decimal Converter instantly converts binary numbers (base-2) into their decimal (base-10) equivalents. This free online tool is ideal for students learning number systems, programmers working with low-level data, digital electronics engineers, and anyone who needs quick binary-to-decimal conversions.
Binary is the fundamental language of computers, using only two digits — 0 and 1. Every binary number corresponds to a unique decimal value, which is calculated by summing the place values of each bit position.
What is a Binary Number?
A binary number is a number expressed in the base-2 numeral system, which uses only two symbols: 0 and 1. Each digit in a binary number is called a bit. Binary numbers are the native language of computers, digital circuits, and microprocessors.
What is a Decimal Number?
A decimal number is a number expressed in the base-10 numeral system, which uses ten digits from 0 to 9. Decimal is the standard number system used in everyday mathematics, commerce, and most human communication.
How to Convert Binary to Decimal
- Write down the binary number.
- Identify the position of each bit from right to left (starting at position 0).
- Multiply each bit by 2 raised to its position number.
- Add all the resulting values together.
Binary to Decimal Formula
Decimal = Σ (bit × 2^position) Position is counted from right to left, starting at 0.
Example
Binary = 1101 1 × 2³ = 8 1 × 2² = 4 0 × 2¹ = 0 1 × 2⁰ = 1 Decimal = 8 + 4 + 0 + 1 = 13
Binary to Decimal Conversion Table
| Binary | Decimal |
|---|---|
| 0000 | 0 |
| 0001 | 1 |
| 0010 | 2 |
| 0011 | 3 |
| 0100 | 4 |
| 0101 | 5 |
| 0110 | 6 |
| 0111 | 7 |
| 1000 | 8 |
| 1001 | 9 |
| 1010 | 10 |
| 1111 | 15 |
| 11111111 | 255 |
Applications of Binary to Decimal Conversion
- Computer Programming
- Embedded Systems Development
- Digital Electronics
- Networking and IP Address Calculations
- Microcontroller and Microprocessor Design
- Data Encoding and Decoding
- Computer Science Education
- Low-level Debugging
Programming Examples
Python
int('1101', 2)
Output
13
JavaScript
parseInt('1101', 2)
Output
13
C / C++
strtol("1101", NULL, 2);
Frequently Asked Questions
What is a Binary to Decimal Converter?
A Binary to Decimal Converter is a tool that converts binary (base-2) numbers into their decimal (base-10) equivalents by calculating the sum of each bit multiplied by its positional power of 2.
How do I convert binary to decimal manually?
Write the binary number, assign positional values starting from 0 on the right, multiply each bit by 2 raised to its position, then sum all the values.
What is binary 1101 in decimal?
Binary 1101 equals decimal 13 (8 + 4 + 0 + 1 = 13).
What is binary 11111111 in decimal?
Binary 11111111 equals decimal 255, which is the maximum value of an 8-bit unsigned integer.
Can I convert large binary numbers?
Yes. This converter supports binary numbers of any length, limited only by your browser's number precision for very large values.
Does this tool support signed binary numbers?
This tool treats all inputs as unsigned binary integers. For signed numbers, use a Two's Complement Converter.
Why do computers use binary instead of decimal?
Computers use binary because digital circuits operate with two voltage states — high (1) and low (0) — making binary the most reliable and efficient representation for electronic systems.
Is this Binary to Decimal Converter free?
Yes. This online Binary to Decimal Converter is completely free to use and works directly in your browser without any installation or registration.