CalculatorsConvertersDeveloperTextAll toolsDirectory
Submit your tool Sign in
Theme
Home/Answers/Math
How-to

How do I convert a binary number to decimal?

Short answer

Each binary digit represents a power of two, so you add up the powers of two wherever there is a 1, and the total is the decimal value. The browser-based number base converter does this instantly and shows the binary, octal, decimal and hex forms together, all in your browser.

How binary place values work

Binary is base 2, so each position is a power of two, doubling from right to left: 1, 2, 4, 8, 16 and so on. To convert to decimal, add the place values wherever the binary digit is 1. For example, 1011 is 8 plus 0 plus 2 plus 1, which equals 11 in decimal. The rightmost digit is the ones place, and every step left is worth twice as much.

See all four bases at once

The number base converter lets you type a value in binary, octal, decimal or hexadecimal and instantly shows all four representations. That is handy when you are working with byte values, colour codes or low-level data and need to jump between bases. It runs entirely in your browser, so nothing you enter is uploaded.

Step by step

  1. Open the converter. Open the number base converter in your browser.
  2. Enter the binary value. Type your binary number into the binary field.
  3. Read the decimal. The decimal value appears alongside the octal and hex forms.

Frequently asked questions

How do binary place values work?

Each position is a power of two, doubling from right to left, so you sum the powers of two where the digit is 1.

Can it convert the other direction too?

Yes. You can type a decimal number and read its binary, octal and hex forms.

Is anything uploaded?

No. The conversion runs entirely in your browser.

Related answers