Teach Binary in 30 Minutes With Five Cards
Hand a kid five cards and they'll understand binary before you've finished explaining it.

On this page
Binary tends to land in the classroom as a wall of ones and zeros that students copy down and quietly hope to never see again. They can memorize that 01101 equals 13, but ask them why and you get a shrug. The idea feels abstract because we usually teach it abstractly.
There's a better way, and it fits in a single class period with nothing but a stack of cards.
In this guide:
- What the five-card binary routine is
- Why a physical card flip teaches place value better than a worksheet
- A step-by-step way to run it tomorrow
- A real grade 5 math example
- Variations, common mistakes, and quick answers to teacher questions
What is the five-card binary routine?
It's a hands-on activity where each student gets five cards showing 1, 2, 4, 8, and 16 dots. You call out a number, and students flip cards face-up or face-down until the visible dots add up to it. Face-up means "on" (a 1), face-down means "off" (a 0).
That's the whole thing. By flipping cards to hit a target, students build binary numbers with their hands before they ever write one down. The activity comes from CS Unplugged's "Count the Dots" lesson, part of their Binary Numbers topic.
The cards aren't random. Each one doubles the last: 1, 2, 4, 8, 16. Those are exactly the place values in binary, the same way 1, 10, 100 are the place values in our normal base-10 system. Once a student sees the doubling, the rest follows.
Why does it work?
It works because it turns an abstract idea into something students physically move. Place value stops being a rule to memorize and becomes a thing you can see add up on the desk in front of you.
CS Unplugged, the free computer science resource from the University of Canterbury in New Zealand, designed the activity around this exact principle. Their own note on it is blunt: the physical flip "makes place value visceral." When a student flips the 8 card up and watches the total jump from 5 to 13, the concept of a place being "on" or "off" isn't a definition anymore. It's something they just did.
There's a second reason it sticks. The activity is self-correcting. A student doesn't need you to tell them they're wrong, they count the dots and see the total doesn't match. That immediate feedback means kids will keep trying combinations on their own, which is exactly the kind of low-stakes practice that builds real understanding.
And because the cards only go up to 31 (1 + 2 + 4 + 8 + 16), the number range stays small enough that even younger students can hold the whole system in their head at once.
How to run it, step by step
You can run this with paper cards you make in five minutes or printed sets from the CS Unplugged site. Here's the sequence.
Give each student (or pair) five cards. One side shows dots: 1, 2, 4, 8, 16. The other side is blank. Lay them in a row, largest on the left.
Start with a single card. Ask students to show you 16, then 8, then 4. Let them notice that each card is double the one before it. Don't explain it for them, just ask "what do you see about these numbers?"
Call out a target and let them flip. Say "show me 9." Students flip cards until the face-up dots add to 9 (the 8 and the 1). Walk around. Most will get there by trial and error, and that's fine.
Introduce the code. Once they're comfortable, tell them face-up is 1 and face-down is 0. Now "show me 13" produces 01101 when you read the cards left to right. Have them write the number under each card.
Practice the full range. Work from 0 up toward 31. Ask "what's the biggest number you can make?" and "how do you make zero?" The all-down-equals-zero moment is a good one.
Push on the pattern. Ask what they'd need to show a number bigger than 31. Let them reason their way to a sixth card worth 32, then 64. This is where the doubling rule does the heavy lifting.
Reverse it for a check. You show a card pattern, they tell you the number. Going both directions confirms they actually understand the encoding, not just one trick.
Plan for 30 to 45 minutes. Pairs work well because students talk through the flips, which surfaces their thinking out loud.
A real example: grade 5 math
Picture a grade 5 math class working on place value. You've already done base-10, so students know the 7 in 472 means seven hundreds. Binary is the natural next move because it's the same idea with a different base.
Start the lesson by writing "13" on the board and asking students to make it with their cards. Give them two minutes to fumble. Most pairs land on the 8 card and the 1 card flipped up, sometimes after trying 8 + 4 + 1 = 13 first and recounting.
Then you reveal the code: face-up is 1, face-down is 0. Read the cards together, left to right: 0, 1, 1, 0, 1. Write 01101 on the board next to the 13. The room usually goes a little quiet here because the connection just clicked.
For the rest of the period, students take turns calling numbers for their partner and checking each other's cards. End with a challenge: "the cards go up to 31, but what if I wanted 40?" By now they'll tell you to add a 32 card, and they'll be right. That's the doubling pattern doing its job.
Variations and when to use it
The routine flexes in a few directions depending on your goal.
Binary watches. Students use the cards to read time displayed in binary, applying the same skill to a real-world format. Good for a follow-up lesson once the basics are solid.
Binary letter coding. Map letters to numbers (A is 1, B is 2, and so on) and have students spell short words in binary. This is a nice bridge into how computers store text, and it pairs well with a craft version like binary bracelets where each bead color is a 1 or a 0.
Bigger numbers. Add the 32 and 64 cards to extend the range and reinforce doubling for older or faster groups.
Use the core activity any time you're teaching place value, introducing number bases, or starting a computer science unit. It works for roughly grades 2 through 8, scaled by how far up the number range you push.
Common mistakes to avoid
The biggest one is explaining the doubling pattern before students notice it. The whole payoff is the moment they spot it themselves. If you announce "each card is double the last," you've handed them the answer and taken the thinking with it.
Another is rushing to the ones and zeros. Let students flip cards and hit target numbers by feel first. The formal 1/0 code makes far more sense once they've already been doing it physically.
Watch the card order, too. Keep the largest value on the left so the written binary number reads in the same direction as the cards. Mixed-up cards lead to backwards numbers and confused students.
Finally, don't skip the reverse direction. A student who can build 13 from a number but can't read 01101 back hasn't fully connected the two. Always do both.
How UNI-FIED helps
If you want to run this without cutting and counting cards the night before, UNI-FIED builds routines like this one into ready-to-teach activity cards matched to your topic and grade. You pick "binary numbers, grade 5," and you get the setup, the target numbers to call out, the questions that prompt students to find the pattern, and the extension challenges, all in one place. It's the same research-backed structure, minus the prep.
Frequently asked questions
What materials do I actually need? Five cards per student or pair, each showing 1, 2, 4, 8, and 16 dots on one side and blank on the other. Paper and a marker are enough. CS Unplugged also offers free printable sets.
What ages is this for? It fits roughly grades 2 to 8. Younger students stay in the 0 to 31 range; older ones add a sixth and seventh card to reach larger numbers and dig into the doubling pattern.
How long does it take? A single class period, about 30 to 45 minutes, including the extension where students reason out the next card value.
Do I need to know computer science to teach it? No. If you can teach place value in base 10, you can teach this. The activity is built around adding dots to hit a target, and the binary code falls out of that naturally.
Where does the routine come from? It's the "Count the Dots" activity from CS Unplugged at the University of Canterbury, part of their free Binary Numbers topic. The full lesson is at csunplugged.org.
Hand out the cards, call out a number, and let your students discover binary with their own hands.
Sources & further reading
Run this in your classroom tomorrow
UNI-FIED turns your topic, grade, and lesson length into ready-to-teach activity cards built on routines like this one โ no prep, no curriculum change.
See how UNI-FIED worksRelated routines
Published October 26, 2026.