Binary to Decimal Converter

Convert a binary number to decimal.

Decimal 10
Hex A

Formula: sum of digit × 2^position

Step-by-step with your numbers:
1. Values used:
2. Binary (0s and 1s) = 1,010
3.
4. Decimal = 10
5. Hex = A
Did we solve your problem today?

Convert a binary number (only 0s and 1s) to decimal.

The math behind it

Each bit is worth 2^position; sum the values of the 1-bits.

Worked example

1010 → 10.

FAQ

Only 0/1?

Yes — other digits aren't valid binary.