Binary to Decimal Converter
Free online Binary to Decimal Converter that runs directly in your browser.
-
1Enter data
Enter content, paste text or load a file from disk. -
2Click the button
The tool will immediately process your data in the browser. -
3Get the result
Copy the finished text or save the file to your device.
return "Result ready in 0.1s";
}
Rate this tool:
Related tools
Other tools you may find usefulBinary to decimal converter online - fast conversion of binary numbers
Our binary to decimal converter allows you to instantly convert numbers written in the binary system (0 and 1) to their equivalents in the decimal system. You enter a string of bits, click "Convert" and immediately receive the result and step-by-step instructions.
Run binary to decimal converter See binary conversion FAQ
Binary to decimal converter Convert binary to decimal Binary system → decimal system Developer tool Learning Number Systems
What is a binary to decimal converter
A binary to decimal converter is a simple online tool that converts numbers written in the binary (binary) system into the classic decimal notation that we use every day. You don't have to manually calculate powers of two or worry about mistakes - we do all the math for you.
Just enter a string of digits0 i 1, such as1101or101010, and the tool will instantly calculate the decimal value. Additionally, it can show the exact decomposition of a binary number into the sum of powers of 2, which helps in learning and understanding how the binary system works.
Basics - what is binary and decimal
Binary (binary)
The binary system uses only two digits:0 i 1. Each position of a binary number is the next power of 2:
- rightmost digit –
2⁰, - next –
2¹, - next –
2², - etc. left –
2³,2⁴,2⁵…
The value of a binary number is the sum of powers of two multiplied by the corresponding digits (0 or 1).
Decimal (decimal) system
The decimal system we use every day uses ten digits:0–9. Each position of the number is a successive power of 10:
- ones –
10⁰, - tens –
10¹, - hundreds –
10², - thousands –
10³etc.
Binary → decimal conversion consists in "rewriting" the number from system 2 to system 10 by appropriate conversion of the weights of individual bits.
Why the binary system is so important
The binary system is the foundation of how computers, digital electronics, and most modern devices work. All data – text, images, audio, video – is ultimately stored as long strings of zeros and ones.
- 0 and 1correspond to the off/on states in electronic systems,
- processors and memories operate on bits, bytes and binary words,
- addresses, net masks, flags, permissions - everything can be represented as binary numbers.
Knowing binary to decimal conversion makes it easier to understand code, system configurations, computer networks, and low-level algorithms.
How our binary to decimal converter works
The tool reproduces exactly what you would do on paper, only faster and without the risk of mistakes. The whole process consists of several simple stages.
Step 1: Enter a binary number
In the input field, enter a number consisting only of the digits 0 and 1, for example:
10101101111001
The tool can verify the correctness - if a different character appears (e.g. 2, 9, A), you will be informed about it.
Step 2: Resolving the number into powers of two
The converter assigns an appropriate weight to each binary digit:
- the rightmost digit is
2⁰, - the next one is
2¹, - the next one is
2², etc.
Each digit 1 "activates" a given power twos, and the number 0 skips it. Example:
1101₂ = 1·2³ + 1·2² + 0·2¹ + 1·2⁰
Step 3: Calculating and summing the values of
In the last step, the tool calculates the values of individual components and adds them together:
1·2³ = 8 1·2² = 4 0·2¹ = 0 1·2⁰ = 1 Sum: 8 + 4 + 0 + 1 = 13₁₀
The final result is the decimal number, which you get immediately after clicking the convert button.
Conversion examples binary → decimal
To better understand how the converter works, let's see some typical examples.
Example 1: 1010₂ → ?₁₀
We write the number1010₂:
1·2³ + 0·2² + 1·2¹ + 0·2⁰ = 1·8 + 0·4 + 1·2 + 0·1 = 8 + 0 + 2 + 0 = 10₁₀
Decimal result:10.
Example 2: 111001₂ → ?₁₀
We write the number111001₂:
1·2⁵ + 1·2⁴ + 1·2³ + 0·2² + 0·2¹ + 1·2⁰ = 1·32 + 1·16 + 1·8 + 0·4 + 0·2 + 1·1 = 32 + 16 + 8 + 0 + 0 + 1 = 57₁₀
Decimal result:57.
Example 3: 100000₂ → ?₁₀
The number100000₂is:
1·2⁵ + 0·2⁴ + 0·2³ + 0·2² + 0·2¹ + 0·2⁰ = 32 + 0 + 0 + 0 + 0 + 0 = 32₁₀
Practical applications of the binary converter
Binary → decimal conversion is useful in many areas - both in science and in everyday work with technology.
Programming and software engineering
- analysis of bit values of flags and masks,
- understanding of the operation of bitwise operators,
- conversion of addresses, identifiers and binary settings,
- learning of data structures and representation of numbers in memory.
Electronics and digital systems
- interpretation of input and output states of digital systems,
- analysis of counters, registers and decoders,
- conversion of binary signal values to decimal numbers,
- work with microprocessors, microcontrollers and FPGA.
Education and learning number systems
- learning conversion between number systems (2, 8, 10, 16),
- solving tasks in computer science and discrete mathematics,
- checking the correctness of manual calculations,
- preparation for exams and tests.
Systems and network administration
- conversion of binary network masks,
- understanding of IP address ranges,
- interpretation of bit settings in configurations,
- quick calculation of values from technical documentation.
Why is it worth using our binary converter
Instead of counting powers of two and adding them manually, you can use a simple tool that will do it for you in a fraction of a second - without mistakes, rewriting and a calculator.
Speed and accuracy
- immediate result after entering a number,
- no errors resulting from manual counting,
- ability to quickly check many examples one by one,
- an ideal tool for learning and working.
Work in the browser
The converter works 100% online:
- without program installation,
- without logging in,
- available on a computer, tablet and smartphone,
- ready to use whenever you need to convert a binary number.
Tips for DIY binary conversion
If you want to better understand the binary system, it's worth learning how to do the conversion on foot. Our converter can then be used as a tool to check the results.
1. Write down the powers of two
For a few starting positions it is worth keeping in mind:
2⁰ = 1 2¹ = 2 2² = 4 2³ = 8 2⁴ = 16 2⁵ = 32 2⁶ = 64 2⁷ = 128 ...
2. Write the binary number
Under each binary digit, write the appropriate power of two. Then multiply each power by the digit (0 or 1) there.
3. Add all active powers of
Sum only those values that equal 1 in the binary number. You will receive a decimal number - exactly the one shown by our converter.
FAQ - frequently asked questions about the binary to decimal converter
Does the converter accept only positive numbers
Yes, by default the tool supports non-negative binary numbers written as a sequence of 0s and 1s. If you work with the representation of negative numbers (e.g. two's complement code), interpreting the result may require additional knowledge of the encoding method.
What happens if I enter a character other than 0 or 1
The converter may report an error or ask you to correct the number. The binary system only allows the digits 0 and 1, so any other character will make the number invalid.
Can I convert very long binary numbers
Yes, the tool can handle long binary strings, although very large numbers may have little practical use in everyday calculations. In typical educational, programming and networking tasks, lengths are fully supported.
Does the converter show the operation of
Depending on the version of the tool, you can see both the decimal result itself and the detailed written sum of powers of two. This is an ideal option for learning and checking your own calculations.
Can I use the converter on
Yes. The converter is responsive and works in a mobile browser, so you can use it during classes, at work or while traveling - wherever you have access to the Internet.
Is using the converter free of charge
Yes, the tool is available online free of charge and without the need to install additional software.
Summary - Fast binary to decimal conversion without errors
Our binary to decimal converter is a simple but very practical tool for everyone who works with numbers in the binary system - from school and university students, through programmers, to electronic engineers and system administrators.
Instead of manually calculating powers of two, just enter the binary number, click "Convert" and immediately see the result in decimal. You can use the converter to study, work and quickly check your calculations.