OhMyCalc

Binary to Decimal Calculator

Convert a binary number to decimal, hexadecimal, and octal. Enter a string of 0s and 1s to convert instantly.

How to Use the Binary to Decimal Calculator

  1. Enter a binary number using only digits 0 and 1.
  2. Click Convert to see the result.
  3. The calculator shows decimal, hex, and octal values.

Référence rapide

DeVers
101010
11111111255
10000000128
1100100100
111111111112047

Cas d'utilisation

Formule

Decimal = Σ(bit_i × 2^i), where bit_i is the i-th bit from the right. Example: 1010₂ = 8+0+2+0 = 10.

Questions fréquemment posées

What is binary?
Base-2 number system using only digits 0 and 1, used internally by all computers.
What is the maximum input length?
You can enter binary numbers up to 53 bits for precise conversion.
Does it convert to hex too?
Yes, the result shows decimal, hexadecimal (0x), and octal (0o) representations.