How-to guides · 3 min read

Binary to Decimal Conversion: A Clear Step-by-Step Method

Binary to Decimal Conversion: A Clear Step-by-Step Method — illustration
In short: Each binary digit is worth a power of 2. 1101 in binary is 8 + 4 + 0 + 1 = 13, and 45 in decimal is 101101.

Place values in binary

From the right the places are 1, 2, 4, 8, 16, 32 … (powers of 2). Add the places that have a 1.

1101 (binary) → decimal
Answer13
  • 1101 (base 2) = 13 (base 10)
  • Decimal: 13
Step-by-step working 1 steps
  1. 1
    Convert from base 2 to decimal
    1 × 2^3 = 8
    1 × 2^2 = 4
    0 × 2^1 = 0
    1 × 2^0 = 1
    Sum = 13

    Each digit is multiplied by its place value, a power of the base.

Decimal to binary

Divide by 2 repeatedly and record the remainders; read them from the bottom up.

45 (decimal) → binary
Answer101101
  • 45 (base 10) = 101101 (base 2)
  • Decimal: 45
Step-by-step working 2 steps
  1. 1
    Already decimal
    45
  2. 2
    Convert decimal to base 2 by repeated division
    45 ÷ 2 = 22 remainder 1
    22 ÷ 2 = 11 remainder 0
    11 ÷ 2 = 5 remainder 1
    5 ÷ 2 = 2 remainder 1
    2 ÷ 2 = 1 remainder 0
    1 ÷ 2 = 0 remainder 1

    Read the remainders from bottom to top.

Hexadecimal shortcut

Group bits in fours: 1111 1111 is FF, which is 255. Colour codes like #FF8800 are three bytes in hex. Try the base converter.

Why it matters

Computers store everything as bits, and sizes grow as powers of 2. Understanding place value is the same skill used in base ten.

Frequently asked questions

What is 10 in binary?

1010.

How many values can 8 bits hold?

2⁸ = 256, from 0 to 255.

Written and reviewed by Mateuss M.

Mateuss M. writes and reviews mathematical content for CalcSolver, focusing on online calculators, formulas, equations, and practical math tools. He reviews calculator functionality, calculation methods, formulas, examples, and explanations to help ensure that each tool is clear, useful, and easy to understand.

Keep reading