Skip to content
Cardinal Spellman High SchoolComputer Science Department
  • Study
  • Teacher tools
  • About

Cardinal Spellman High SchoolComputer Science Department

Developed by Farzin Khan Shifat

Go to the top of the page↑

Explore

  • Study
  • Teacher tools
  • Department

Need help?

  • Teacher guide
  • Request a tool
  • Report a problem

Your progress stays on this device. Vercel counts visits to public study pages, without your names, answers, files or grades. On a shared computer, use Forget my progress when you finish.

Study calculator

Drag this handle or use arrow keys to move the calculator. Home restores its position.

You can keep working on the page while this calculator is open. Closing keeps your calculations in this tab. Reloading clears them. This is Spellman’s study calculator, not a TI-84 emulator.

  1. ← All courses
  2. Computer Science
  3. Unit 5: Digital Representation and File Management

Lesson 2 of 5

Counting in Binary

Read and write numbers with place values

Lessons and study tools
PracticeKey words
  1. Unit 1: Computer Hardware
    1. What Makes a Computer?
    2. Four Jobs of a Computer
    3. Data and Information
    4. CPU, RAM, and Storage
    5. Devices and Ports
    6. Choosing Hardware
    7. Hardware Review
  2. Unit 2: Computer and Internet Basics
    1. The Five Roles
    2. The Request Trip
    3. Local, Remote, and the Cloud
    4. Unit Review
  3. Unit 5: Digital Representation and File Management
    1. Only Two Choices: Bits and Switches
    2. Current lessonCounting in Binary
    3. Same Bits, Different Meaning
    4. Pictures, Sound and Size
    5. Adding in Binary
    6. Binary Review
  1. 1Learn it
  2. 2Practice it
  3. 12343Classwork
  4. 4Homework
  5. 5Finish

Step 1 of 5: Learn it

Learn it · 1 of 11Big ideas: place valuesNext: Read 1011 step by stepChoose an activity

One idea at a time. Try the example, then keep going.

Big ideas · 1 of 11

Big ideas

Big ideas: place values

Do this: Read each idea. Then say the 4-bit place values out loud: 8, 4, 2, 1.

Key words

  • Key word · Unit 5BitOne 0 or 1. The SMALLEST piece of computer data.Exactly: A binary digit: a single 0 or 1. It records the state of one switch, off or on.Mix-up alert: A bit is not a byte. It takes 8 bits to make 1 byte.See this in Key words
  • Key word · Unit 5ByteA group of 8 bits.Exactly: Eight bits handled together. One byte has 256 different patterns, enough for the numbers 0 to 255.Mix-up alert: A byte is 8 bits, not the other way round. A bit is the smaller one.See this in Key words
  • Key word · Unit 5BinaryA way of writing numbers with only TWO digits: 0 and 1.Exactly: A number system where each place value is a power of two: 1, 2, 4, 8 and so on. Computers store all data in binary.Mix-up alert: 1010 in binary is ten. It is not one thousand ten.See this in Key words
  • Key word · Unit 5Place valueWhat a digit is worth because of WHERE it sits.Exactly: In binary, the columns from right to left are worth 1, 2, 4, 8, 16, 32, 64 and 128. Each column is worth double the one to its right.Mix-up alert: A 1 in the 8s place is worth 8. A 1 in the 1s place is worth only 1.See this in Key words
  • Key word · Unit 5ConvertChange how a number is WRITTEN without changing how much it is.Exactly: Binary to decimal: add the place values that have a 1. Decimal to binary: take the biggest place value that fits, write 1, subtract, and keep going.Mix-up alert: Converting changes the writing, not the amount. 1011 in binary and 11 in decimal are the same amount.See this in Key words
  1. 1

    1. Decimal: the numbers you know

    Decimal uses ten digits, 0 to 9, with place values of 1, 10, 100 and 1000. In 345, the 3 is worth 300 because of where it sits.

  2. 2

    2. Binary places double

    Each binary Key word · Unit 5Place valueWhat a digit is worth because of WHERE it sits.Exactly: In binary, the columns from right to left are worth 1, 2, 4, 8, 16, 32, 64 and 128. Each column is worth double the one to its right.Mix-up alert: A 1 in the 8s place is worth 8. A 1 in the 1s place is worth only 1.See this in Key words doubles to the left: 1, 2, 4, 8, 16, 32, 64, 128. In a 4-bit number the places are 8, 4, 2, 1.

    84210100
  3. 3

    3. Read: add the 1s

    To read binary, write the place values above the bits, then add the place values that have a 1. For example, 1010 is 8 + 0 + 2 + 0 = 10.

  4. 4

    4. Write: biggest place first

    Go through every place from biggest to smallest: write 1 and subtract when it fits; otherwise write 0. This is how to Key word · Unit 5ConvertChange how a number is WRITTEN without changing how much it is.Exactly: Binary to decimal: add the place values that have a 1. Decimal to binary: take the biggest place value that fits, write 1, subtract, and keep going.Mix-up alert: Converting changes the writing, not the amount. 1011 in binary and 11 in decimal are the same amount.See this in Key words a decimal number to binary. Every place gets a digit, so 6 in 4 bits is 0110, not 011.

    101111
  5. 5

    5. 4 bits: 16 patterns

    4 bits make 16 patterns, for the numbers 0 to 15. We always write the full width, so 6 in 4 bits is 0110.

  6. 6

    6. 8 bits: one byte

    8 bits make one Key word · Unit 5ByteA group of 8 bits.Exactly: Eight bits handled together. One byte has 256 different patterns, enough for the numbers 0 to 255.Mix-up alert: A byte is 8 bits, not the other way round. A bit is the smaller one.See this in Key words: 256 patterns, for the numbers 0 to 255. A zero in front keeps the full width without adding value.

    8 bits01000001

Tip: Every place is worth double the place on its right. Start at 1 and keep doubling!

Step-through

Read 1011 step by step

Do this: Step through the picture. Before each step, say what you think comes next.

Here is how to read any binary number. We will read 1011.

8421Places1011BitsKeep8+0+2+1=11Addso 1011 means 11

Whole picture, 4 steps

4 steps. Tap a number or Show me how it works.

Try it

Flip the Bits: predict first

Do this: Before you flip anything, predict the number. Say it out loud. Then show the total.

The switches show the pattern 1010. What number is it? Predict first, then press Show the total. After that, flip any switch and watch the total change.

Each switch is one bit. Press Enter or Space to flip it.

Choose the number of bits
  1. 8

  2. 4

  3. 2

  4. 1

Pattern: 1010

Predict the number first. Then press Show the total.

Remember: Add the place values that have a 1. That is the number.

Tip: Read the places with a 1 and add them. No switch flipping needed to predict!

Try it

Binary Cards

Do this: Flip cards face up to show dots. Try to show exactly 13 dots.

These cards have 16, 8, 4, 2 and 1 dots. A card face up is a 1. A card face down is a 0. Count the dots that are showing.

Turn cards face up to show their dots. Press Enter or Space to flip a card.

  1. Digit: 0

  2. Digit: 0

  3. Digit: 0

  4. Digit: 0

  5. Digit: 0

Dots showing: 0

Pattern: 00000

Remember: Each card has double the dots of the card on its right, just like binary place values.

Worked example: binary to decimal

Do this: Follow each step. Then read 1101 again without looking.

Read 1101.

  1. Step 1: Write the place values 8, 4, 2, 1 above the bits 1, 1, 0, 1.
  2. Step 2: The 8s, 4s and 1s places have a 1; skip the 0 in the 2s place.
  3. Step 3: Add them: 8 + 4 + 0 + 1 = 13.

So 1101 in binary is 13.

Worked example: decimal to binary

Do this: Follow each step. Then check the answer by adding the places.

Write 11 in 4 bits: places 8, 4, 2, 1.

  1. Step 1: 8 fits in 11: write 1, leaving 3.
  2. Step 2: 4 does not fit in 3: write 0.
  3. Step 3: 2 fits in 3: write 1, leaving 1.
  4. Step 4: 1 fits in 1: write 1.

Answer: 1011, since 8 + 2 + 1 = 11.

Worked example: reading a byte

Do this: Say the eight place values, then follow the steps.

Read 01000001.

  1. Step 1: Write the 8-bit place values: 128, 64, 32, 16, 8, 4, 2, 1.
  2. Step 2: Only the 64s place and the 1s place have a 1.
  3. Step 3: Add them: 64 + 1 = 65.

So 01000001 is 65. You will meet this byte again in the next topic.

Worked example: writing a byte

Do this: Before each step, say whether the place value fits in what is left.

Write 75 in 8-bit binary. The places are 128, 64, 32, 16, 8, 4, 2, 1.

  1. Step 1: 128 does not fit in 75: write 0.
  2. Step 2: 64 fits in 75: write 1, leaving 11.
  3. Step 3: 32 does not fit in 11: write 0.
  4. Step 4: 16 does not fit in 11: write 0.
  5. Step 5: 8 fits in 11: write 1, leaving 3.
  6. Step 6: 4 does not fit in 3: write 0.
  7. Step 7: 2 fits in 3: write 1, leaving 1.
  8. Step 8: 1 fits in 1: write 1.

The answer is 01001011 (64 + 8 + 2 + 1 = 75).

Mix-up alert: 1010 is not one thousand ten

Do this: Read 1010 the binary way and say the number.

1010 in binary is not one thousand ten. Binary places are worth 8, 4, 2 and 1, not 1000, 100, 10 and 1, so 1010 is 8 + 0 + 2 + 0 = 10. Tip: say binary digit by digit, one zero one zero.

Mix-up alert: a zero in front adds nothing

Do this: Say why 0110 and 110 have the same value.

0110 is not a bigger number than 110: both are 4 + 2 = 6. A zero in front adds nothing, but we still write it, so every number has the full width: 4 bits or 8 bits.

From other sites

Watch and explore

Do this: Pick one to see the same ideas another way.

  • How high can you count on your fingers? (Spoiler: much higher than 10)

    TED-Ed, about 5 minutes

    Watch from 2:05 to 3:03

    Watch for:

    • The value given to each finger, doubling
    • How the video shows 7 as 4 + 2 + 1
    • The biggest number ten fingers can show
    Open on YouTube↗ (opens in a new tab)Open the full lesson↗ (opens in a new tab)
  • How Computers Work: Binary & Data

    Code.org, about 6 minutes

    Watch from 1:43 to 3:33

    Watch for:

    • How binary place values grow: 1, 2, 4, 8
    • How the video reads 1001 as 9
    • What range 8 wires (8 bits) can store
    Open on YouTube↗ (opens in a new tab)

Video not loading? It might be blocked on this wifi. Try it at home.

Step 2 of 5: Practice it

What is left (9 of 9)

Ready when you are.

Activity 1 of 9 · 0 of 9 activities done

Try it

Flip the Bits: 4-bit challenge

Do this: Build each number with the switches, then read each pattern. Check after each one.

First, build each number by flipping switches. Then read the patterns and type their numbers.

Each switch is one bit. Press Enter or Space to flip it.

Round 1 of 7

Make 5.

  1. 8

  2. 4

  3. 2

  4. 1

Pattern: 0000

The total stays hidden until you check.

Remember: Biggest place first when you build. Add the 1s when you read.

Try it

Flip the Bits: 8-bit challenge

Do this: Use all eight places. Start with the biggest place that fits.

Now the switches are a whole byte: 128, 64, 32, 16, 8, 4, 2, 1. Build each number, then read each pattern.

Each switch is one bit. Press Enter or Space to flip it.

Round 1 of 6

Make 37.

  1. 128

  2. 64

  3. 32

  4. 16

  5. 8

  6. 4

  7. 2

  8. 1

Pattern: 00000000

The total stays hidden until you check.

Remember: One byte can show any whole number from 0 to 255.

Try it

Binary Cards challenge

Do this: Show exactly the number of dots asked for, then check.

Flip the 16, 8, 4, 2 and 1 cards to show each number of dots.

Turn cards face up to show their dots. Press Enter or Space to flip a card.

Round 1 of 4

Show exactly 13 dots.

  1. Digit: 0

  2. Digit: 0

  3. Digit: 0

  4. Digit: 0

  5. Digit: 0

Dots showing: 0

Pattern: 00000

Remember: The cards face up and face down are the number in binary.

Try it

Binary Drill

Do this: Answer, check, then keep going.

Turn binary into decimal and back. Show the working if you get stuck.

Streak: 0 correct in a row. This session only.

Place values
1286432168421
BlankBlankBlankBlankBlankBlankBlankBlank

Work it out on paper if it helps.

Write 6 in binary using exactly 8 bits.

Write it

Explain 1010

Do this: Write two or three sentences. Show your working, then compare.

Step 1 of 3: Write

Sam says 1010 in binary means one thousand ten. Explain what it really means and show the working.

Start here if it helps: In binary, the places are worth...

0 words · Aim for 25 or more. This is a guide, not a limit.

Your answer is not saved anywhere. It disappears when you leave the page.

Flashcards

Binary number cards

Do this: Work out each answer before you flip. Mark the ones you still need to learn.

Card 1 of 16

Binary numbers

0 Know it0 Still learning

Start at 1 on the right and double.

Deck options
Keyboard help

On the card: Enter or Space flips. Left and Right move. After revealing, 1 marks Still learning and 2 marks Know it. Tab reaches every control.

Question

What are the place values in a 4-bit number?

Answer

8, 4, 2, 1 from left to right. Start at 1 on the right and double each time you move left.

Question

What are the place values in an 8-bit number?

Answer

128, 64, 32, 16, 8, 4, 2, 1. Start at 1 on the right and keep doubling as you move left.

Place values
8421
0111

Question

What is 0111 in decimal?

Answer

7, because 0 + 4 + 2 + 1 = 7.

Place values
8421
1001

Question

What is 1001 in decimal?

Answer

9, because 8 + 0 + 0 + 1 = 9.

Place values
8421
BlankBlankBlankBlank

Work it out on paper if it helps.

Question

Write 6 in 4-bit binary.

Answer

0110, because 4 + 2 = 6.

Place values
8421
BlankBlankBlankBlank

Work it out on paper if it helps.

Question

Write 9 in 4-bit binary.

Answer

1001, because 8 + 1 = 9.

Question

What is the biggest number 4 bits can show?

Answer

15, written 1111: 8 + 4 + 2 + 1.

Question

What is the biggest number 8 bits can show?

Answer

255, written 11111111. Every place has a 1: 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255.

Question

How many patterns can 8 bits make?

Answer

256, for the numbers 0 to 255. Each extra bit doubles the count: 2, 4, 8, 16, 32, 64, 128, 256.

Place values
1286432168421
00001010

Question

What is 00001010 in decimal?

Answer

10. The zeros in front add nothing: 8 + 2 = 10.

Place values
8421
1111

Question

What is 1111 in decimal?

Answer

15, because 8 + 4 + 2 + 1 = 15.

Place values
8421
BlankBlankBlankBlank

Work it out on paper if it helps.

Question

Write 13 in 4-bit binary.

Answer

1101, because 8 + 4 + 1 = 13.

Place values
8421
BlankBlankBlankBlank

Work it out on paper if it helps.

Question

Write 2 in 4-bit binary.

Answer

Only the 2s place is needed. Under 8, 4, 2, 1 write 0, 0, 1, 0: 0 + 0 + 2 + 0 = 2. So the pattern is 0010.

Place values
1286432168421
00100000

Question

What is 00100000 in decimal?

Answer

The only 1 is in the 32s place, so the total is 32.

Place values
1286432168421
11001000

Question

What is 11001000 in decimal?

Answer

200, because 128 + 64 + 8 = 200.

Place values
1286432168421
BlankBlankBlankBlankBlankBlankBlankBlank

Work it out on paper if it helps.

Question

Write 50 in 8-bit binary.

Answer

00110010, because 32 + 16 + 2 = 50.

True or false

Binary or decimal?

Do this: Choose True or False. Work it out before you choose.

Statement 1 of 12

Place values
8421
1010
1010 in binary is ten.

Self-test

Check yourself

Do this: Answer every question. Use the place-value table above the bits.

8 questions. One at a time.

Practice, not a grade. No timer. Your best score stays in this browser.

Match

Match the key words

Do this: Choose a word, then choose its meaning.

Word match round

Connect the ideas

0 / 4 connected

Choose a term, then its meaning. Or drag its grip. Use Tab and Enter or Space; Escape clears.

Terms

Meanings

Step 3 of 5: Classwork

Working on paper? Open this lesson's Classwork step and choose Paper and PDF. It gives you your own empty sheet to print.

Your work trail

  1. 1Question 1Start hereCheck your answer. Hints help you try again.
  2. 2Question 2Locked
  3. 3Question 3Locked
  4. 4Question 4Locked
  5. Your exit sentenceLockedOne thing you can do, or a question you still have.
  6. Turn in on ClassroomLockedDownload your finished work, then attach it.
Before you startQuestion 1. Show all steps
  1. 1Question 1Start hereCheck your answer. Hints help you try again.
  2. 2Question 2Locked
  3. 3Question 3Locked
  4. 4Question 4Locked
  5. Your exit sentenceLockedOne thing you can do, or a question you still have.
  6. Turn in on ClassroomLockedDownload your finished work, then attach it.

One step at a time. A hint can help you try again.

Classwork

Counting in Binary

Your next step

Started on another device?

Shared computer

How saving works

  • Your answers save in this browser on this device as you go.
  • Your sentence and your name are never saved in this browser. They stay only on this page until you close it, and in a PDF you download.
  • Your teacher sees nothing until you turn it in on Google Classroom. This site can't see Classroom.
  • Anyone using this browser can see saved answers. On a shared computer, use Forget when you finish.
  • Finished work stays until the end of the school year. Unfinished work stays for 30 days.

Step 4 of 5: Homework

Homework · 10 points

Counting in Binary homework

Opening your homework…

Working on paper? Open this lesson's Homework step and choose Paper and PDF. It gives you your own empty sheet to print.

Step 5 of 5: Finish

Ready to move on?

Practice it: You did 0 of 9 activities.

You decide when you have finished. This is your study progress, not a grade.

Not marked finished yet.

Next lesson: Same Bits, Different MeaningUnit 5: Digital Representation and File Management
TOPICDONE
Published with approval from Mr. Farzin Khan Shifat. Last updated October 27, 2026.
For teachers: post this lesson in Classroom

Two ready posts. Nothing is saved or sent. Make one Classroom assignment for each step you assign, using the points shown below and its own due date. Copy its post and paste it into the assignment's instructions.

  • 1234Classwork

    Worth 10 points.

    https://gradebridge-beryl.vercel.app/learn/csc/digital-representation-and-files/counting-in-binary#classwork

  • Homework

    Worth 10 points.

    https://gradebridge-beryl.vercel.app/learn/csc/digital-representation-and-files/counting-in-binary#homework

After students turn it in →, open Check student work

Download their files from the assignment's Drive folder, then open them in Check student work.