Binary to Decimal Converter

Translate a binary number made of 0s and 1s into its decimal (base-10) equivalent.

Educational purposes only. Not professional advice.

Examples

  • 1011 ⇒ 11
  • 110010 ⇒ 50

FAQ

What about invalid digits?

Enter only 0 or 1 digits to ensure a valid conversion.

Can I include spaces or commas?

No. Input should be a continuous string of binary digits.

How do I convert decimal back to binary?

Use our Decimal to Binary calculator or JavaScript's toString(2) method.

Additional Information

  • Binary is base 2, using only digits 0 and 1.
  • This converter ignores leading zeros.
  • Large binaries may exceed JavaScript's safe integer range.