The binary number system plays a central role in how information of all kinds is stored on computers. Understanding binary can lift a lot of the mystery from computers, because at a fundamental level they’re really just machines for flipping binary digits on and off. There are several activities on binary numbers in this document, all simple enough that they can be used to teach the binary system to anyone who can count! Generally children learn the binary system very quickly using this approach, but we find that many adults are also excited when they finally understand what bits and bytes really are.

### Activity description (PDF)

- Instructions for Binary Numbers activity (English)
- Arabic Language Version
- French language Version
- Greek Language Version
- Indonesian Language Version
- Italian Language Version
- Persian (Farsi) language Version
- Polish Language Version
- Portugese (Brazil) Language Version
- Russian Language Version
- Hungarian Language Version
- Slovenian Language Translation
- Turkish Language Version
- Tatsumi Takeo’s Analogue-Digital Conversion Activity with Decimal-Binary Conversion Extension Activity

**Videos**

**Photos**

### Related Resources

- How Gangnam Style Broke YouTube – Computerphile
- National Center for Women & Information Technology (NCWIT) has a learning package called Unplugged in a Box which has detailed lesson plan of this activity.
- Mordechai (Moti) Ben-Ari from the Weizmann Institute of Science, Israel has programmed the Binary Numbers Unplugged activity in Scratch which can be downloaded in a zip file of the complete set of activities. Please read the ReadMe.txt for documentation.
- RAFT has an activity for making a string of beads that code a message in binary at Binary Weaving Worksheet.
- Try Engineering has the following activities:
- Give Binary a Try! : which explores how binary codes work, how it is applied by computer engineers to computers and other electronic equipment including clocks. Students learn how to use the code, read binary clocks, and advanced students can build their own binary clock from a kit. Download Full Lesson Plan.
- Smart Move!: This is a simple activity to visualize a communication system. In order to do this the students encode, decode, transmit, receive and store messages. They will use a code sheet and flashlight for this process. They will also maintain a storage sheet from which they can retrieve information as and when it is required.

- The Greenroom resources area using the Greenfoot software has the number representation in binary using cards exercise. You can download and use these with the Greenfoot environment, but you need a login to access the resources. If you are a teacher, you can apply easily to join and use the resources there.
- Daniela Marghitu’s students have programmed this activity at the Robo Camp at Auburn University. Watch the Video: RoboCamp Spring 2010 Robotics And CSUnplugged Binary Numbers Project
- Computer Science & Engineering for K-12 (cse4k12.org) has the following activities related to binary numbers below:
- Bitmaps Activity where bitmaps are a way of encoding black and white images using binary numbers. A ‘0’ is used to represents a white square in the image and a ‘1’ is used to represent a black square. These worksheets provide a set of 8×8 grids where the student can draw their own black and white images and then write the corresponding binary (and hexadecimal) values.
- Crossbin Puzzles Activity is similar to crossword puzzles except that the clues are hexadecimal numbers, and the answers are binary numbers (‘0’s and ‘1’s) instead of words. Also, once the puzzle is complete, if you fill all the ‘1’ squares with black you will see a small picture or pattern.
- Perfect Shuffles Activity: If you want to take the top card in a deck and shuffle it down to a particular position, all you need to know is the binary representation of the position where you want the card to go. Then you perform a sequence of ‘in’ and ‘out’ perfect shuffles based on the binary number and the card will be shuffled into the desired location.
- Binary Magic Trick: A set of 6 cards for a simple magic trick where you can correctly guess the secret number chosen by a student. Understanding how the trick works requires knowledge of binary.

- Computer Science & Engineering for K-12 (cse4k12.org) also offers the following great activities and resources in number systems and conversion:
- Octal Counting Worksheets is a set of worksheets that the student can use to practice counting/converting numbers in Octal.
- Octal Dots worksheet has the students take an octal number and draw that many dots. After finishing, they count the number of dots in decimal to check their answer.
- Counting in Binary worksheet where the student counts from 0 to 111111 in binary (which corresponds to 0 to 63 in decimal).
- Counting in Hexadecimal worksheet helps the student count from 0 to 63 (but in hexadecimal, so it’s really 0 to 4F).
- Counting in Octal worksheet where the student counts from 0 to 77 in octal (which corresponds to 0 to 63 in decimal).
- Number Cards are Playing-card sized cards that can be used to compare the different number systems.
- Converting from Binary to Decimal Worksheet with Instructions
- Converting from Decimal to Binary Worksheet with Instructions
- Converting from Binary to Octal Worksheet with Instructions
- Converting from Binary to Hexadecimal Worksheet with Instructions

- Centre for Innovation in Mathematics Teaching has a teaching package on Binary Coding on it’s resources page developed to teach Codes and Ciphers in their Maths Curriculum. It includes a Teacher Guide, Student Guide, OHP Slides, and Lesson Plans.
- Online interactive binary cards by Jim Maynard.
- An older version of this activity can be downloaded in PDF format here. The content is similar to the current version, but there’s some extra technical information.
- If you are interested in more of the technical details a good place to start reading is Wikipedia: Computer Numbering Formats, Wikipedia: Binary Numbers and Wikipedia: Finger Binary. Also check Wikipedia: Most Significant Bit and Wikipedia: Logic Gate
- Ron Hale-Evans has a Wiki entry called Binary Numbers System.
- The Mathmaniacs web site has a similar activity (lesson 1). It includes a Binary Piano activity which is another great aid for learning binary numbers (a modified version from the University of Canterbury is available here). Mathmaniacs also have a magic trick that can be performed with binary numbers.
- Rick Garlikov has a paper on teaching binary numbers using Socratic dialogue. This approach is very empowering for students, and the general principle can apply to many of the Unplugged activities.
- Video: 9yr Old Sister Hannah Joy Counts Binary on Her Fingers
- Video: A school-house rock style video on binary numbers
- Video: Binary numbers in 60 seconds
- American Public University System’s Channel has a video on Binary Arithmetic at Video: Binary Arithmetic Add – Subtract – Multiply – Divide
- Vi Hart has a Video: Binary Hand Dance, another fun way to introduce Binary!
- Thomas M. Churm has a cool Binary Clock
- Wikipedia: Powers of Ten is a fascinating look at exponential relationships in numbers.
- Rick Regan reports on The Binary Marble Adding Machine. To learn about the inner workings of this machine, you may visit woodgears workshop site on binary adding machine
- Math Teacher Link has a lesson Binary Information: Bits and Bytes that explains that Binary Information is the basis of how computers work. In this lesson we find out why and what Bits and bytes are and how they are used.
- Hiroki Manabe at Kanagawa Vocational Training School for Persons with Disabilities has developed an animation of counting in binary on your fingers (Animation in Japanese), and an interactive activity to experiment with binary numbers (Interactive in English), and a fun animation that shows binary numbers using Alice IDE at Binary Penguins (Animation in English).
- University of Tennessee Department of Computer Science has an introductory CS module intended to teach the following concepts using binary numbers using animation. Note: This site is best viewed in Internet Explorer:
- Virginia Tech, Dept of Computer Science has a complete module on Number Systems.
- Other number systems on Wikipedia:
- Decimal: The decimal numeral system (also called base ten or occasionally denary) has ten as its base. Positional decimal systems include a zero and use symbols (called digits) for the ten values (0, 1, 2, 3, 4, 5, 6, 7, 8, and 9) to represent any number, no matter how large or how small.
- Hexadecimal : uses sixteen distinct symbols, most often the symbols 0–9 to represent values zero to nine, and A, B, C, D, E, F (or alternatively a through f) to represent values ten to fifteen.
- Octal: The octal numeral system, or oct for short, is the base-8 number system, and uses the digits 0 to 7. Numerals can be made from binary numerals by grouping consecutive binary digits into groups of three (starting from the right).
- ASCII: The American Standard Code for Information Interchange (acronym: ASCII; pronounced /ˈæski/, ASS-kee)[1] is a character-encoding scheme based on the ordering of the English alphabet. ASCII codes represent text in computers, communications equipment, and other devices that use text.

- Here is a list of number converters:
- Cleave Books has The Number Base Calculator. This calculator can be used to change numbers into a range of different bases.
- Shodor Interactivate has a unique number converter called Number Base Clocks. This activity allows you to convert between a number in a different base and base ten.
- Kids Online Resources offer a website for definitions of different number systems and conversions at Number System.
- The Peasant Algorithm and Ancient Egyptian Multiplication are tricks for doing multiplication using only doubling. At heart they are really just multiplying binary numbers. For information on how this algorithm is related to binary numbers, please read The Math Forum‘s explanation at Russian Peasant Multiplication. See also Jo Edkins‘s explanation of Ancient Egyptian Numbers and Multiplication including an online applet to try it.
- CS4FN has an activity related to the French Peasant’s multiplication called the The French Peasant’s Lock and Gray Code. The solution to the lock is actually something know to Computer Scientists as Gray Code : a code used in modern digital TV. Whatever, their physical form all the variations of the lock puzzle have the same solution and are logically (and so their solutions algorithmically) identical. Solve one and you’ve solved them all (Computer Scientist’s love pulling that trick with problems!)
- LessonPlanZ has a lesson plan for teaching the Egyptian Multiplication for Grades 9-12.
- Jo Edkins has a collection of different ways to introduce binary numbers below:
- Introduction to Binary
- Adding in Binary
- Multiplying in Binary
- A fun illustrated Binary Counter using animated figures
- Try the Binary Card Game: Based on the binary number system, where you can guess a number from 1 to 63 by having people select cards from a set of 6.
- Binary Card Game Explained
- Binary Card Game, the computer plays against you!

- Learning MATH has a teaching resource on base 2 numbers in three parts below:
- Math Delights has resources for teaching different base numbers by using magic cards based on the binary, base 3, or base 10 representation of numbers. See resources at Magic-Cards (Base 10) Instructions and Base 10 Cards. See also the Mathemagic Card Trick materials at Lesson Plan and a Poster

- TATSUMI Takeo from Tokyo University of Agriculture and Technology has a Kinaesthetic Activity to Demonstrate Analogue to Digital Conversion, where students make creases in paper to represent analogue data and convert them to binary data by following some simple rules. This activity comes with an extension activity for decimal to binary conversion.
- Ken Bigelow has a website Digital Logic that covers most topics related to binary and digital logic.
- Steve Oualline has an interesting exercise called Numbers, where one needs to write out all possible numbers that can be derived from the bit patterns 0000 to 1111.
- Jill Britton has the following resources in binary numbers:
- Number Representations and Conversions in Binary: Binary numbers use the same rules as decimal numbers, that is, the value of any digit (bit) depends on its position in the whole number.
- Russian Peasant Multiplication: In many sections of Russia, the peasants employed until recently what appears to be a very strange method of multiplication. Learn the method and discover its relation to the binary numbering system.
- Binary Numbers and the South Korean Flag: What do the markings on the flag of the Republic of South Korea have to do with the binary number system? What do they have to do with the number 7?
- Binary Numbers and the Chinese Zodiac: Can you locate and identify the binary numbers in this Chinese Zodiac Paper cut ?
- Nim Strategy, involves adding binary numbers. Nim is an ancient game of pick up sticks for 2 players. Whoever picks up the last stick loses.
- Nim Skulls Puzzle, based on Nim, the ancient game
- Binary Numbers and the Tower of Hanoi: The binary numbers, considered in numerical order, comprise a set of sequential moves that will allow you to solve the game of the Tower of Hanoi with the minimum number of moves, specifically.
- Making a Chinese Ring Puzzle: A Chinese ring puzzle originally has 9 rings. However, to unlock those rings, we need a lot of time. So in this web-page, a puzzle which only consists of 5 rings will be made. It is believed that once you can solve a 5-ring puzzle, you will understand the algorithm to solve the original puzzle. Download the Solution. See also Wikipedia: Baguenaudier: Édouard Lucas, the inventor of the Tower of Hanoi puzzle, was known to have come up with an elegant solution which used binary and Gray codes, in the same way that his puzzle can be solved.

- Susan Addington has developed The Number Bracelets Game to help introduce mathematical patterns.
- The Puzzle Page hosts A Binary Crossnumber Puzzle. This puzzle consists completely of binary numbers, so all the characters needed to fill in the squares will be 0s or 1s. The crossword is a 4×4 square grid, so all numbers will be written in binary, with 4 digits; e.g., 1 will be 0001, 2 will be 0010, and 4, 0100. The NOT operation changes all 0s to 1’s and all 1s to 0s; e.g., NOT(0110) is 1001 and NOT(1010) is 0101.
- Qwerty Zimbabwe has the Binary Puzzle (Colour Contact Puzzle). Designed by van Delft, Pieter and Botermans, Jack. 1997. Denkspiele der Welt. Heinrich Hugendubel Verlag, München.
- Binary Math is a great site to help students learn binary maths and the binary number system quickly, by using clear explanations and examples. Throughout its development phase, three key characteristics were kept in mind: accuracy; brevity and; completeness.
- NASA Space Place for Kids has some cool resources:
- All About Circuits has the following resources including some useful worksheets in Binary Math. These can be printed without solutions for classroom exercises. Teacher copy can have the answers revealed.
See also their dedicated chapters below (table of contents on the left of pages).

- Tim Fiegenbaum, North Seattle Community College has the following videos in digital logic and circuits.
- Scratch Projects User dusseau has a fun game implemented in Scratch for guessing a binary number in 60 seconds for a score with hard and easy levels called the Binary Number Quiz.
- Jeremy Falcon has an excellent article on Learning Binary and Hexadecimal.
- Pete Hawkes demonstrates his Binary Glove , where each finger represents a bit value in a simple binary sequence: 1, 2, 4, 8, and 16. Pressure sensors in the ends of each finger register each bit as on or off.
- Kerry Redshaw has a website with information on pioneers in the history of computing. The following articles are of interest:
- Binary – So Simple a Computer Can Do It
- What’s So Logical About Boolean Algebra?
- ASCII and HTML – How They Work Together
- Gottfried Wilhelm Leibniz: Gottfried Leibniz laid the modern foundation of the movement from decimal to binary as far back as 1666 with his ‘On the Art of Combination’, laying out a method for reducing all logic to exact statements.

- Hierosolyma Kadathian’s page on Numeric Systems defines number systems, then provides information about binary and the hexadecimal system.
- Math Steps provides a good explanation and teacher resources on Place Values :
- Southwest Educational Development Laboratory has a fun resource for elementary students called Place Value for Elementary Students. These activities reinforce students’ understanding by using rhythm, physical action, and introspection. See also Number Sense and Mathematics Communication in Elementary School. See also Wikipedia: Positional Notation
- GK-12 at Harvard University has a useful resource in Digital Circuits and Logic Gates. Description: Detailed worksheet guiding a student through understanding what digital circuits are and then through how logic gates are used to build circuits that can accomplish real-world tasks. This worksheet is also appropriate for physics students.
- nrich Maths has the following activities with notes and solutions provided:
- MUKOKU UK has a module in Binary Representation of Data that covers the following topics with resources:
See also these downloads:

- Binary, Denary & Hexadecimal
- Exercises in Base Conversion
- Fixed Point Binary and Multiplication
- Exercises in Fixed Point Binary and Multiplication
- Binary Representation – Text, Images & Sound
- Binary Representation – Podcast
- More Exercises
- Error Detection & Correction
- Exercises in Error Detection & Correction

- BBC h2g2 site has the following resources of interest in Boolean Logic:
- doit Information Technology Course has a complete course in Information Representation with lots of online activities and explanation for beginners.
- Exploring Binary has the following interesting sections on the Powers of 2:
- The Powers of Two: Why are they called powers of two? What is the pattern you see? How is the set described mathematically? What are the set’s components? We will answer those questions in this article.
- 1,073,741,823 Grains of Rice : In the children’s book “One Grain of Rice: A Mathematical Folktale” a girl uses her knowledge of exponential growth to trick a greedy king into turning over his stockpile of rice. Hidden in the story are mathematical concepts related to doubling: powers of two, geometric sequences, geometric series, and exponents. I will analyze the story from this perspective, and then discuss my experience reading it to first and third grade students.
- Exploring Binary Numbers With PARI/GP Calculator: PARI/GP is a sophisticated tool, with several components — yet it’s easy to install and use. I use its command shell in particular, the PARI/GP calculator, or gp for short. I will show you how to use simple gp commands to explore binary numbers.
- Powers Of Two In The Josephus Problem: This formula, you won’t be surprised to hear, has connections to the powers of two and binary numbers. I will discuss my favorite solution, one based on the powers of two.
- Elements of Binary in the NCAA Basketball Tournament: If you’re like me, you also think of powers of two, binary trees, logarithms, laws of exponents, geometric sequences, geometric series, and Bernoulli trials — in short, the elements of binary numbers, binary code, and binary logic.

- Dr. John H. Lienhard has the following interesting articles on the history of different number bases:
- howtoons illustrates counting in binary numbers using cartoons:
- Jeremy Kubica‘s Computational Fairy Tales has a fairy tale story Unhappy Magic Flowers and Binary
- NCETM’s Seconday Magazine has the following articles of interest:
- Focus on…shunting, an article on an application of binary notation in which the challenge is to rearrange railway trucks with as few shunts as possible, provide situations in which a teacher can focus on some particular ways of acting mathematically
- Focus on…perfect shuffles: There are some magic tricks that use pretty elaborate mathematics…and…magicians can perfectly shuffle a deck of cards. Explore the link to Binary numbers in this activity
- Exploring Digital Devices: exploring base 2 numbers

- Rutgers University CS has the Octopus Counting: Watch how each tentacle represents one bit. Eight tentacles = eight powers of 2! A great way to teach students how to learn the basics of binary arithmetic.
- DJ Dates has a fun activity to create a Binary Decoder Wheel which provides students with a quick way to lookup a binary number and discover the letter that the binary number represents. In class, I provide students with three printed pieces of cardstock and each student cuts out and assembles their own Binary Decoder Wheel:
- Abdullah Seddiq (MIT Blossoms) has Counting Systems with teacher’s guides and additional resources. This video aims to explain counting systems (Decimal, Binary, Hexadecimal). Students will get to know how to convert numbers between these systems. Also students will learn how to do some byte and bit level operations. They will use a Visual Basic (VB) application that changes colors through logical operation on numbers. See also The Magic Picture: Steganography in Bitmap Files
- Hanan Al Arfaj (MIT Blossoms) has an extension lesson: The Mailman and the Five Packages: Data Packets and Data Transfer Speed with teacher’s guides and additional resources. This video aims to explain the process of data transfer throughout computer systems and the form the data gets transferred into. Prerequisites for this lesson include some knowledge of the concept of digital data and an understanding of file size units (Bits, Bytes, Kilobytes, etc).
- TI-Basic Developer has a section on Binary, Hexadecimal and Octal Number System which explains these systems and their applications
- Anthony Liekens gives designs for building an Analog Binary clock
- Attic Academy has the Basics of Binary
- Michael Littman has a great video demonstrating Logic Gates using Toys!

### Curriculum Links

##### Great Principles of Computer Science [info]

- Recollection

##### ACM K12 Curriculum [info]

Expand- Level I (Grades K2) Topic 11: Understand how 0s and 1s can be used to represent information, such as digital images and numbers.

##### New Zealand Curriculum [info]

Expand- Mathematics Level 2: Position and orientation
- Find rules for the next member in a sequential pattern.
- Generalise that whole numbers can be partitioned in many ways.

- Mathematics Level 3: Patterns and relationships
- Connect members of sequential patterns with their ordinal position and use tables, graphs, and diagrams to find relationships between successive elements of number and spatial patterns.
- Generalise the properties of addition and subtraction with whole numbers.

- Technology Level 3: Technological systems
- Understand that technological systems are represented by symbolic language tools and understand the role played by the black box in technological systems.