Homeschool · Math · For parents and kids, ages 6 and up

Teach Number Bases Step by Step

Binary, octal, decimal and hex are all the same idea: bundle things into groups and write down how many bundles you have. These lessons teach that idea with beans and cups first, then on paper, in words a parent can read aloud and a child can follow.

Five short lessons a parent can teach at the kitchen table, no computer needed. Each starts with something to hold, then the same idea on paper, then a quick check and a link to practice. Teach one lesson a day and let your child do the counting and writing.

Before you start

  • Hands first, paper second. Bundling beans into cups makes place value something a child can see. Once the bundling makes sense, the written numbers follow.
  • Say the base out loud. Read 10 in binary as “one-zero,” not “ten,” so it doesn’t sound like the number ten. Some people write the base small after the number: 10₂ is two, 10₁₀ is ten.
  • Use the converter to check, not to answer. Work it out on paper first, then type it into the converter above to see if you were right.
  • Keep it short. Ten or fifteen minutes is plenty. Stop while it’s still fun, and use Code Quest as a treat.

Lines marked Say are suggestions for what to say out loud. Use your own words if they come more easily.

Lesson 1: Base 10, the numbers we already use

👤 Ages 6 and up⏱ 15 minutes

Goal: See that each place in a number is a bundle ten times bigger than the place to its right.

Get out:
  • About 40 small things to count, like dried beans or buttons
  • A few paper cups
  • Paper and a pencil
  1. Count out a pile

    Count out 23 beans together, one at a time.

    SayCounting one by one is slow. Let’s find a faster way to see how many there are.

  2. Bundle by tens

    Put beans into cups ten at a time until you can’t make another full cup. You’ll have 2 full cups and 3 loose beans.

    SayEvery time we have ten, we bundle them into one cup. A cup means ten.

  3. Write what you see

    Draw two columns and label them Tens and Ones. Write 2 under Tens and 3 under Ones.

    SayThe 2 tells how many cups of ten, and the 3 tells how many loose ones. Together they say twenty-three.

  4. Make a bigger bundle

    Ask what would happen with ten full cups. They’d make one bigger bundle: a hundred. Add a Hundreds column to the left.

    SayEach place is worth ten of the place to its right: ones, tens, hundreds, thousands.

  5. Notice the digits

    Ask why we never write a single digit bigger than 9.

    SayAs soon as we have ten of anything, we bundle it and move one place to the left. So each place only needs the digits 0 to 9. That’s why it’s called base 10.

🫘 Try it on screen: the bundling machine

Press +1 to add a bean. Every time a place fills up to 10, the beans are bundled and carried one place to the left. Or type a number to see it bundled.

✔️ Quick check

  1. In 345, what is the 4 worth?
  2. Show 132 with beans and cups.
Show the answers
  1. 4 tens, or 40
  2. 1 bundle of a hundred, 3 cups of ten, 2 loose
⚠️ Watch for:
  • Thinking the 4 in 345 is worth 4. It’s worth 4 tens. Point to its column.

▶ Try the place-value lesson Next lesson ↓

Lesson 2: Base 2, binary

👤 Ages 7 and up⏱ 20 to 30 minutes

Goal: Count, read and write numbers in binary, where every place is worth twice the one to its right.

Get out:
  • Beans and cups again
  • A strip of paper with four boxes labeled 8, 4, 2, 1 (right to left: 1, 2, 4, 8)
  • Four coins, or cards with a blank side
  1. Same game, new rule

    Play the bundling game again, but now bundle by twos. Start with 5 beans: two make a pair, two pairs make a bundle of four.

    SayIn binary, as soon as we have two of something, we bundle it. So each place can only hold 0 or 1.

  2. Learn the places

    Show the strip: 8, 4, 2, 1. Each place is double the one to its right, and you could keep going: 16, 32, 64, 128.

    SayIn base 10 the places grow by tens. In binary they grow by twos.

  3. Count to eight together

    Use the coins on the strip, heads for 1 and tails for 0. Count: 0, 1, 10, 11, 100, 101, 110, 111, 1000.

    SayWatch the right-hand coin. When it would go past 1, it flips back to 0 and we carry one to the left, like a car’s mileage counter.

  4. Read a binary number

    Lay out 1011 on the strip. Add up the places that have a 1: 8 + 2 + 1 = 11.

    SayA 1 means take this place. A 0 means skip it. So 1011 is eight, plus two, plus one: eleven.

  5. Write a number in binary

    To write 13, start at the biggest place that fits. 8 fits, leaving 5, so put a 1 in the 8s. 4 fits, leaving 1: a 1 in the 4s. 2 doesn’t fit: a 0. 1 fits: a 1. So 13 is 1101.

    SayBiggest place first. If it fits, write 1 and take it away. If it doesn’t, write 0 and move on.

  6. Count on your fingers

    Give each finger on one hand a place: thumb 1, pointer 2, middle 4, ring 8, little finger 16. A raised finger is a 1. Count up as high as you can.

    SayWith five fingers you can count to 31, because 16 + 8 + 4 + 2 + 1 is 31.

🫘 Try it on screen: the bundling machine

Press +1 to add a bean. Every time a place fills up to 2, the beans are bundled and carried one place to the left. Or type a number to see it bundled.

✔️ Quick check

  1. What is 110 in binary as an ordinary number?
  2. Write 9 in binary.
  3. What is the biggest number four bits can hold?
Show the answers
  1. 6
  2. 1001
  3. 1111, which is 15
⚠️ Watch for:
  • Starting the places from the left. The ones place is always on the right.
  • Dropping zeros in the middle: 13 is 1101, not 111.

▶ Practice binary and decimal Next lesson ↓

Lesson 3: Base 8, octal

👤 Ages 9 and up⏱ 20 minutes

Goal: Use the same place-value idea with bundles of eight, and see how octal groups binary in threes.

Get out:
  • Beans and cups
  • Paper and a pencil
  1. Bundle by eights

    Count out 19 beans and bundle them by eights: 2 full cups and 3 loose. So 19 is written 23 in octal.

    SayIn octal we bundle by eight, so we only use the digits 0 to 7.

  2. Learn the places

    Write the places from right to left: 1, 8, 64, 512. Each is eight times the one before.

  3. Count past seven

    Count aloud and write as you go: …, 6, 7, 10, 11, …, 17, 20.

    SayAfter 7 there’s no digit 8, so we write 10: one bundle of eight and nothing left over. Octal 17 is fifteen, and octal 20 is sixteen.

  4. Octal to ordinary numbers

    For 157 in octal, multiply each digit by its place and add: 1 × 64 + 5 × 8 + 7 × 1 = 64 + 40 + 7 = 111.

  5. Ordinary numbers to octal

    Divide by 8 and keep the remainder each time, then read the remainders from the bottom up. For 100: 100 ÷ 8 = 12 remainder 4; 12 ÷ 8 = 1 remainder 4; 1 ÷ 8 = 0 remainder 1. Reading up: 144.

    SayThe first remainder is the ones digit, so it goes on the right.

  6. The binary shortcut

    Each octal digit is exactly three bits, because 8 is 2 × 2 × 2. So 57 in octal is 5 = 101 and 7 = 111: 101 111.

    SayOctal is a short way to write binary, three bits at a time.

🫘 Try it on screen: the bundling machine

Press +1 to add a bean. Every time a place fills up to 8, the beans are bundled and carried one place to the left. Or type a number to see it bundled.

✔️ Quick check

  1. What is 21 in octal as an ordinary number?
  2. Write 20 in octal.
  3. Is 19 a real octal number?
Show the answers
  1. 2 × 8 + 1 = 17
  2. 24
  3. No: octal has no digit 9
⚠️ Watch for:
  • Writing an 8 or 9 in an octal number. The digits stop at 7.

▶ Practice octal Next lesson ↓

Lesson 4: Base 16, hexadecimal

👤 Ages 10 and up⏱ 25 minutes

Goal: Count and convert in hex, with the letters A to F standing for ten to fifteen.

Get out:
  • Paper and a pencil
  • A card strip showing A = 10, B = 11, C = 12, D = 13, E = 14, F = 15
  1. We need more digits

    Ask: if we bundle by sixteen, each place can hold up to fifteen. What single symbol can we write for ten, eleven or fifteen?

    SayHex borrows letters. A is ten, B is eleven, and so on up to F, which is fifteen.

  2. Count past nine

    Count and write: …, 8, 9, A, B, C, D, E, F, 10, 11, …, 19, 1A, …, 1F, 20.

    SayAfter F comes 10: one bundle of sixteen and nothing left. Hex 1F is thirty-one, and hex 20 is thirty-two.

  3. Learn the places

    Write the places from right to left: 1, 16, 256, 4,096. Each is sixteen times the one before. Two hex digits go up to FF, which is 255.

  4. Hex to ordinary numbers

    For 2B: 2 × 16 + B × 1 = 32 + 11 = 43. For 1A0: 1 × 256 + 10 × 16 + 0 = 416.

    SayChange any letters to their values first, then multiply by the places and add.

  5. Ordinary numbers to hex

    Divide by 16 and keep the remainders, writing 10 to 15 as A to F. For 300: 300 ÷ 16 = 18 remainder 12 (C); 18 ÷ 16 = 1 remainder 2; 1 ÷ 16 = 0 remainder 1. Reading up: 12C.

  6. The binary shortcut

    Each hex digit is exactly four bits, because 16 is 2 × 2 × 2 × 2. Split 1010 0111 into fours: 1010 is A and 0111 is 7, so it’s A7.

    SayThat’s why programmers like hex: it’s binary, four bits at a time, and much easier to read.

🫘 Try it on screen: the bundling machine

Press +1 to add a bean. Every time a place fills up to 16, the beans are bundled and carried one place to the left. Or type a number to see it bundled.

✔️ Quick check

  1. What is hex 1F as an ordinary number?
  2. Write 200 in hex.
  3. What is 1111 1111 in hex?
Show the answers
  1. 31
  2. C8
  3. FF
⚠️ Watch for:
  • Reading hex 10 as ten. It’s sixteen.
  • Forgetting the letter values. Keep the A to F strip handy until they stick.

▶ Practice hex Next lesson ↓

Lesson 5: From any base to any base

👤 Ages 10 and up⏱ 20 minutes

Goal: Choose the easiest route between bases and check the answer by converting back.

Get out:
  • Paper and a pencil
  1. The safe route: through base 10

    To change from one base to another, first turn the number into an ordinary base 10 number (multiply each digit by its place and add). Then turn that into the new base (divide again and again, keeping remainders).

    SayBase 10 is home base. You can always get anywhere by going home first.

  2. The shortcuts: through binary

    Between binary and hex, group bits in fours. Between binary and octal, group them in threes. Always group from the right, and add zeros on the left to fill the last group: 10111 becomes 0001 0111, which is 17 in hex.

  3. Octal to hex

    Go through binary: 57 in octal is 101 111. Regroup in fours from the right: 0010 1111. That’s 2F in hex. Check it in base 10: 57 in octal is 47, and 2F in hex is 2 × 16 + 15 = 47.

  4. Always check

    Convert your answer back the other way, or type it into the converter above.

    SayIf you can get back to where you started, you know it’s right.

✔️ Quick check

  1. Change binary 1101 0011 to hex.
  2. Change octal 17 to binary.
  3. Change hex A to octal.
Show the answers
  1. D3
  2. 001 111, or 1111
  3. 12
⚠️ Watch for:
  • Grouping bits from the left. Always start from the right.

▶ Practice any base to any base

✂️ The cut-out kit

Print this page, cut out the pieces, and keep them in an envelope. The binary cards are the star: lay them out with the dots showing for 1, face down for 0.

Number bases kit · teddyrookbook.com

Binary cards (one for each place)

16
8
4
2
1

Hex digits

00112233445566778899A10B11C12D13E14F15

Place-value mats (put beans or cards in the boxes)

Base 10
1000s100s10s1s
Base 8
512s64s8s1s
Base 16
4096s256s16s1s
Base 2
16s8s4s2s1s

🗝️ After the lessons: the Hexadecimal and Binary page has a live converter and nine short lessons with practice, Code Practice has rounds and printable worksheets with answer keys, and Code Quest is a puzzle trail that uses all four bases.

@teddyrookbook GitHub