GCSE · Computer Science · AQA · Spec 8525

Binary (base 2)

Is 101 one hundred and one? Not in binary. There, 101 is worth five, and by the end of this lesson you'll work out why in your head.

Computer Science · Data representation

Binary place value

Make 100101, last digit in the far-right column, and read the decimal total. Then clear it and try 111010.

128+128
64+64
32+32
16+16
8+8
4+4
2+2
1+1
Denary total00000000

0

All bits are 0 — every column is switched off.

Same idea, two bases

Decimal (base 10)vsBinary (base 2)

Read across each row. What changes, and what stays exactly the same?

Focus

Digits you can use

Decimal (base 10)

0 to 9: ten different values

Binary (base 2)

0 and 1: just two values

The insight

That's what 'base' means: the range of values a single digit can take.

Column values, right to left

Decimal (base 10)

1, 10, 100, 1000 … each one ×10

Binary (base 2)

1, 2, 4, 8, 16, 32, 64, 128 … each one ×2

What a digit is worth

Decimal (base 10)

Digit × its place value: the 9 in 9123 is worth 9000

Binary (base 2)

Digit × its place value: a 1 in the 8 column is worth 8, a 0 is worth nothing

Showing the base

Decimal (base 10)

101₁₀ is one hundred and one

Binary (base 2)

101₂ is 4 + 0 + 1 = 5

Decimal to binary

Your turn: convert 47 to binary

Convert the decimal number 47 into binary.

  1. Set up the columns: 128, 64, 32, 16, 8, 4, 2, 1. Start at the left. 128 and 64 are both bigger than 47, so each gets a 0.
  2. missing step
Which line is step 2?

Why binary?

?

Reason it through

Why is everything inside a computer stored in binary?

Link 1 of 4

First link · your turn

Start with the hardware. What powers a computer?

2
Locked — reveal the link above first
3
Locked — reveal the link above first
4
Locked — reveal the link above first

Switches and patterns

How many patterns can three switches make?

Set each switch on or off in turn. Walk a few paths, then look at how many ends the tree has.

Switch 1 → Switch 2 → Switch 3

2 × 2 × 2 = 8 different binary patterns, and the tree ends 8 times.

On Three switches, none set yet. 2 branches to choose from.

Two switches give four patterns, three give eight, and four switches give sixteen.

Watch out: Don't count the switches and stop there. Three switches make far more than three patterns: every way of setting them is a different pattern.

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

You already know how place value works. Binary changes just one thing about it, and computers store everything that way.

What you need to know

  • Place value: a digit's worth depends on its column. In 9123, the 9 is worth 9000.
  • Decimal (base 10) uses the digits 0 to 9, and each column is worth 10 times the one to its right.
  • Binary (base 2) uses only 0 and 1, and each column doubles, right to left: 1, 2, 4, 8, 16, 32, 64, 128.
  • A number's base is the range of values a digit can take. A subscript shows it: 101₂ is binary, 101₁₀ is decimal.
  • Have a goYour mate reads 110₂ out loud as "one hundred and ten", very confidently. What is it actually worth?

    6, because it's 4 + 2.

    The subscript 2 means binary columns of 4, 2 and 1, not 100, 10 and 1. Reading it as decimal uses the wrong place values.

  • Binary to decimal: line the digits up from the right, then add the place values of the columns holding a 1.
  • Have a goNo calculator: what is the binary number 1010 worth in decimal?

    10, because 8 + 2 = 10.

    Only the columns holding a 1 count. Adding the digits instead gives 2, which ignores what each column is worth.

  • Decimal to binary: go left to right. Where a place value fits, write 1 and subtract it; where it doesn't, write 0.
  • Check any conversion by converting back: 13 becomes 1101, and 8 + 4 + 1 takes you straight back to 13.
  • Have a goRio converts 6 to binary and writes 011. Convert his answer back to decimal. Is he right?

    No. 011 is 2 + 1 = 3. Six is 110.

    He wrote the digits in reverse. Working left to right, the 4 column fits first, so the 1 goes on the left: 4 + 2 = 6.

  • Computers run on circuits containing transistors: tiny switches controlled by electricity. On represents 1, off represents 0.
  • So all data (raw facts, like numbers or text) and all instructions are binary, meaningless until the computer interprets them.
  • More switches, more patterns: two switches give four, three give eight, four give sixteen.

The big picture

Binary (base 2) is place value with only two digits, 0 and 1, and columns that double from right to left: 1, 2, 4, 8, 16, 32, 64, 128. To convert binary to decimal, add the place values of the columns holding a 1. To convert decimal to binary, work left to right, writing 1 and subtracting wherever a place value fits and 0 wherever it doesn't, then check by converting back. Computers store all data and instructions in binary because their circuits are built from transistors: tiny switches where on represents 1 and off represents 0.

Key points

1A digit's value is the digit multiplied by its place value; add those values to get the number.
2Decimal (base 10) uses 0–9 with columns ×10 each time; binary (base 2) uses 0 and 1 with columns ×2 each time.
3Binary to decimal: add the place values of the columns that hold a 1. A 0 contributes nothing.
4Decimal to binary: left to right, 1 and subtract where the place value fits, 0 where it doesn't; check by converting back.
5Computers use binary because transistors are on/off switches: on represents 1, off represents 0. More switches give more patterns.

Worked example

Problem

Convert the decimal number 132 into binary, then check your answer.

⚠ Watch out

Reading a binary number as if it were decimal, or adding up its digits. 101 in binary isn't one hundred and one, and it isn't 1 + 0 + 1 = 2 either. Add the place values of the columns holding a 1: 4 + 1 = 5.

🧠

Memory hook

Double as you go left: 1, 2, 4, 8, 16, 32, 64, 128. Then only the 1s get paid. Every 0 column earns nothing.

✓

Check yourself

Without looking back: write the binary place values from 1 up to 128, convert 1100 from binary to decimal, then turn your answer back into binary. Do you land on 1100 again?

Flashcards

(15)
What is place value?
A digit's value based on its position in a number. Multiply each digit by its place value and add the results.
In 9123, what is the 9 worth?
9000, because it sits in the thousands column.
Which digits does decimal (base 10) use, and how do its columns change?
0 to 9. Moving right to left, each place value is 10 times the last (powers of 10).
List the first eight binary place values, from the right.
1, 2, 4, 8, 16, 32, 64, 128: powers of 2, doubling each time.
What does the base of a number system tell you?
The range of values a digit can take: base 2 allows 0 and 1, base 10 allows 0 to 9.
What do the subscripts in 101₂ and 101₁₀ tell you?
Which base the number is in: 101₂ is binary (worth 5), 101₁₀ is decimal (one hundred and one).
How do you convert binary to decimal?
Put the farthest-right digit in the farthest-right column, then add the place values of the columns that hold a 1.
Converting decimal to binary: which column gets the first 1?
Working from the left, the first column whose place value is less than or equal to the number. Then subtract it and carry on.
Decimal to binary: what goes in the columns after the remainder reaches 0?
A 0 in every remaining column to the right.
How can you check a decimal to binary conversion?
Convert your binary answer back to decimal and see if you get the number you started with.
What is a transistor?
A tiny electronic switch controlled by electricity. On represents 1 and off represents 0.
In a circuit, what does a high voltage represent?
A 1.
What is the difference between data and an instruction?
Data is raw facts, such as numbers or text. An instruction is a direction on how to carry out a specific task.
What does a sequence of 1s and 0s mean on its own?
Nothing, until it is interpreted by the computer.
How many different patterns can two, three and four on/off switches make?
Two switches: 4. Three switches: 8. Four switches: 16.

Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.

Learning with Lightbulb is opening soon

You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.

Keep me posted

More AQA GCSE Computer Science topics

See the full AQA Computer Science curriculum →

How this lesson was checked. This AQA GCSE Computer Science (specification 8525)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 4 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.