Binary to Decimal

Convert binary numbers to their decimal representation.

Carregando ferramenta...

How to use

  1. 1Enter the binary number (0s and 1s).
  2. 2Click Process.
  3. 3Copy the decimal.

About

Converts binary to decimal (base 10) using positional weights, ideal for understanding the value behind the bits.

How to convert binary to decimal

The binary system is the foundation of computing: it represents numbers using only two digits, 0 and 1, while decimal uses ten digits. Converting from binary to decimal means interpreting a number written in base 2 and rewriting it in base 10, the form we use every day.

Each position in a binary number has a weight that is a power of 2. From right to left, the positions are worth 1, 2, 4, 8, 16, 32 and so on. To convert, simply multiply each digit by the weight of its position and add everything up. For example, binary 1011 is 1×8 + 0×4 + 1×2 + 1×1, which is 11 in decimal.

This conversion appears in programming, computer networking, electronics, and any scenario that deals with low-level data. Addresses, network masks, and system flags are often expressed in binary, and knowing how to translate them to decimal helps you understand the real value behind the bits.

With the UtilNexo calculator, you don't have to do the math by hand: enter the sequence of 0s and 1s and get the decimal equivalent instantly, without errors and without installing anything.

Examples

  • Binary 1011 → Decimal 11 (1×8 + 0×4 + 1×2 + 1×1).
  • Binary 11111111 → Decimal 255 (maximum value of 8 bits).

Limitations

  • Only the digits 0 and 1 are valid; other characters are ignored during conversion.
  • Very large numbers can exceed the safe integer precision of JavaScript.

How to use the binary to decimal converter

  1. 1Type the binary number into the field, using only 0s and 1s.
  2. 2Click Process.
  3. 3See the decimal result and copy it wherever you need.

Frequently asked questions

What is the binary system?

It is a base-2 numeral system that uses only the digits 0 and 1. Computers use binary because transistors operate in two states: on (1) and off (0).

Can I convert large binary numbers?

Yes. The tool converts any valid sequence of 0s and 1s, regardless of size, and returns the corresponding decimal value.

What happens if I type an invalid digit?

The conversion only considers valid binary digits. Use only 0 and 1 to get an accurate result.