Add & subtract
Best for new pattern finders and grades 2–3.
Free math game · No sign-up
Crack the Function Machine! Send in test numbers, compare the outputs, and uncover the secret math rule.
Ready, number detective?
Start with the example, run your own tests, then choose the rule that explains every output.
Try up to 6 numbers to spot the pattern.
Which rule works for every number?
Use the example or run a test before you guess.
Learn the pattern
A function machine follows one rule every time. Your job is to discover that rule from the clues.
Look at the first input and output pair. Ask what math could connect them.
Enter your own input. One extra pair can rule out a tempting wrong answer.
Pick the operation that works for every pair—not just the first example.
Quick practice
Input output tables show the same function rule across several rows. Complete this table using the rule + 4.
Grow one step at a time
Build confidence with one operation, then move into multi-step thinking when you are ready.
Best for new pattern finders and grades 2–3.
Practice fact families and inverse operations.
Follow rules such as “multiply by 2, then add 3.”
Use every strategy while the clock counts down.
Questions from families & teachers
Short answers for helping children understand input output rules.
An input output function machine applies the same math rule to every number that goes in. For example, a machine with the rule “multiply by 3” turns an input of 4 into an output of 12.
Each row pairs an input with the output created by one consistent rule. Compare several rows, identify what changes, and use the rule to complete missing values.
Easy addition and subtraction rounds work well for grades 2 and 3. Multiplication, division, and two-step rules support students in grades 3 through 6.
One pair may fit several possible rules. Testing a second or third input provides stronger evidence and helps children explain why their answer must be correct.
Yes. The Function Machine game is free to play in a web browser, with no account or download required.