Computer Science
Binary to Decimal Conversion
Convert a binary number into decimal.
Decimal Value = Σ(bit × 2^position)
Formula Explanation
Each binary digit is multiplied by the power of 2 corresponding to its position, starting at zero from the right.
Variables Explained
bit = Binary digit (0 or 1); position = Place value index.
Solved Example
Convert binary 1011 to decimal.
1011₂ = 1×2³ + 0×2² + 1×2¹ + 1×2⁰ = 11₁₀.