Skip to tool
ZirkoMirkoTools

Binary to Decimal Converter

Read a binary number in decimal and see what each bit contributes.

Enter a binary whole number to read it in decimal.

Example · 1010 in decimal

Use up to 256 digits. A leading minus sign is accepted.

Decimal

10

1010 in binary is 10 in decimal.

Next tool · Convert a number to words

Hexadecimal

A

Octal

12

Conversion steps

1 × 2^3 + 0 × 2^2 + 1 × 2^1 + 0 × 2^0 = 10

The caret marks a power. For example, 2^3 means 2 × 2 × 2.

Processed on this device — nothing is uploaded

What you can do here

  • Binary, decimal, hex and octal
  • Exact conversions with BigInt
  • Negative whole number support
  • Place-value steps for decimal
  • Copy each converted value

How do you convert binary to decimal?

To convert binary to decimal, start at the right and number the positions from zero. Multiply each bit by two raised to the power of its position, then add the terms. For 1010, the two 1s represent 8 and 2, so the decimal result is 10. The converter shows the place-value calculation alongside the exact decimal answer.

It also shows hex and octal equivalents, and accepts negative values and the optional 0b prefix.

Key facts

Price
Free
Sign-up
None
Upload
None — runs on your device
Limits
Up to 256 input digits · Whole numbers, including zero and negatives
Works with
Binary, decimal, hexadecimal or octal integers · Optional 0b, 0x or 0o prefix in the matching base
Output
Exact equivalents in the three other bases · Decimal place-value steps
Updated

How do you use the binary to decimal converter?

  1. Keep Binary as the input base

    The page starts in base 2 with 1010.

  2. Enter a binary number

    Use 0 and 1, with an optional minus sign and 0b prefix.

  3. Read the decimal result

    Copy the decimal answer or check the place-value steps.

How do binary place values work?

Each position is worth twice as much as the one to its right. A 1 adds that position's value and a 0 adds nothing.

BinaryDecimalNonzero place values
10154 + 1
1010108 + 2
100001616

Frequently asked questions

What is 1010 in decimal?

1010 in base 2 is 10 in base 10. The leftmost 1 contributes 8 and the other 1 contributes 2.

What is 11111111 in decimal?

The eight 1 bits sum to 255: 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1.

Does the 0b prefix affect the value?

No. 0b identifies a binary literal. Both 1010 and 0b1010 convert to 10 with Binary selected.

Popular conversions

Related tools

About this tool

Made by ZirkoMirko. Last updated .

Check it yourself in your browser’s Network panel while using the tool. How we handle your data.

Sources