Input Output Games Online

Find the rule. Fill the table.

Puzzle 1 of 10 · 0 solved

Find the rule. What are the missing outputs?

InputRule ?Output
36
912
1316
21?
28?

How to play this input output game: look at the rows that are already filled in. Every input goes through the same rule to make its output. Work out the rule, then type the missing number on the keypad and press Check.

Each round has 10 puzzles. Stuck? Press Hint. After three tries you can show the answer and see the rule.

What is an input output game?

An input output game is a function table with a hidden rule, and input output games online let you check every answer the moment you type it. The left column holds the inputs. Each input goes through the same rule, like a number machine, and the answer lands in the right column as the output. You win by finding the rule and using it to fill in what is missing.

Example: find the rule and the missing output
Input1234
Output357?

Step 1, compare the rows. Each time the input goes up by 1, the output goes up by 2. That tells you the rule starts with × 2.

Step 2, test it. 1 × 2 = 2, but the output is 3, so the rule must also add 1. Check the next rows: 2 × 2 + 1 = 5 and 3 × 2 + 1 = 7. The rule is × 2 + 1.

Step 3, use the rule. 4 × 2 + 1 = 9, so the missing output is 9.

If you are helping a child, ask them to say the rule out loud and test it on every row before typing an answer. A rule can fit the first row and still be wrong, and checking each row is the habit that catches it. Teachers can put the game on a classroom screen: on a computer, the Full screen button makes the table and keypad fill the display.

Practice by rule type

The input output games online on this page have three levels: One-step, Two-step and Mixed. Every round has 10 puzzles and three kinds of question: fill in the missing outputs, work backwards to a missing input, or choose the rule that makes every row true. Numbers stay at 100 or below, and every answer is a whole number.

One-step rules

A one-step rule does one thing to every input: add, subtract, multiply or divide. In the table below each output is 5 more than its input, so the rule is + 5 and the next output after 12 would be 17.

One-step rule: + 5
Input471012
Output91215?
Play one-step rules

Two-step rules

A two-step rule multiplies first and then adds or subtracts, like × 3 + 1. The trick is to compare two rows: from input 2 to input 3 the output grows from 7 to 10, so each step of 1 adds 3, and the rule starts with × 3. Then 2 × 3 = 6, and the output is 7, so the second step is + 1.

Two-step rule: × 3 + 1
Input2356
Output71016?
Play two-step rules

Add and subtract

When the output is always the same amount bigger or smaller than the input, the rule is an add or subtract rule. Find the difference in each row: 15 → 9, 20 → 14 and 28 → 22 all drop by 6, so the rule is − 6. To find a missing input, undo the rule: add the 6 back on.

Play add and subtract rules

Multiply and add

Multiply and add rules such as × 4 + 2 make a good first two-step rule, because both steps make the number bigger. With inputs 1, 2 and 4 and outputs 6, 10 and 18, the output grows by 4 for every 1 the input grows, so multiply by 4, then add 2. Working backwards goes in reverse: take away 2, then divide by 4.

Play multiply and add rules

Input output games by grade

Input output games online work best when the rules match what your class is working on. In 3rd grade, start with one-step add, subtract and multiply rules. In 4th grade, move to two-step rules and finding a missing input. In 5th grade, try bigger numbers, division rules and naming the rule. Our input output games by grade page has a game set to each of these levels.

Some classrooms call this puzzle a function machine. In our function machine games you type in any number yourself, watch what the machine gives back, and work out the rule from your own tries. Prefer pencil and paper? The input output worksheets are free printable PDFs with answer keys, made from the same puzzle generator as this game.

Frequently asked questions

What are input output games?

Input output games are math puzzles built on a function table. Every input number goes through the same rule, such as + 4, × 3 or × 2 + 1, to make its output. You study the rows you can see, work out the rule, and then use it to fill in the missing numbers. In this game you also work backwards to find a missing input, or pick the right rule from four choices.

What grade do kids learn function tables?

Most input output practice is written for 3rd to 5th grade. In the Common Core standards the closest skills are identifying arithmetic patterns in 3rd grade (3.OA.D.9), generating a pattern that follows a given rule in 4th grade (4.OA.C.5), and generating two patterns from two rules in 5th grade (5.OA.B.3). A good order is one-step rules first, then two-step rules.

Do you need to sign up?

No. There is no account, no sign-up and nothing to download. Open the page and play in the browser on a computer, tablet or phone. The game does not ask for names and does not save scores, so a new round starts fresh whenever you come back.