Enter a linear rule y = ax + b and an input x to get the output, plus a five-row input-output table showing the pattern.

Input Output Calculator

Give it a rule and an input — get the output and the whole table around it, so the pattern is visible, not just one number.

Free to use Full table shown Pattern explained Negative rules OK

Enter your values

Fill in the fields below — the result appears with every step shown.

Shown on the printed, PDF and PNG copies of your result. Leave blank to stay anonymous.

Enter a valid value for rule multiplier a.

The rule is y = a x + b.

Enter a valid value for rule constant b.

Added after multiplying.

Enter a valid value for input x.

The input value to evaluate; the table also shows neighbours.

Local browser calculation

Review your inputs and the tool’s supported scope before using the result.

Calculator loading… If this message stays, this view is not running the calculator's script — open this file in a full browser tab, then press Calculate.

Your result will appear here

Enter your values above, then press Calculate — or press Enter in any field.
TinyExe Input Output Calculator tinyexe.comFree online calculators

TinyExe · Input Output Result

Calculated locally in your browser

Calculated on
—

–
—

Name

—

Rule multiplier a

—

Rule constant b

—

Input x

—

How this was calculated

    What to do next

      TinyExe · tinyexe.com — Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.

      TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.

      Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.

      Embed this tool

      Add this Input Output Calculator to your own page — copy the code below and paste it where you want the tool to appear.

      The embed loads the live calculator in a frame, so it stays up to date automatically. Choose a width, check the code, then copy it. When you publish on WordPress, keep the src pointing at your live tool URL.

      Works in WordPress (Custom HTML block), HTML pages, and most site builders.

      The short answer

      An input-output table applies one rule to every input: for y equals 2x plus 3, the input 5 gives 2 times 5 plus 3 equals 13, inputs 3 and 4 give 9 and 11, and outputs climb by exactly the multiplier, 2, at each step.

      • Output = a x input + b for a linear rule
      • Outputs step by exactly a when inputs step by 1
      • The constant b is the output at input 0

      Reading a table: rule y = 2x + 3

      Reference values for this calculator.

      Input xMultiply by 2Add 3 → Output y
      003
      125
      247
      369
      4811

      The formula

      The exact formula this calculator uses — every variable in it is explained in the card below.

      The formula

      Input-output rule y = a x + b: output = multiplier x input + constant; a table for x-2 … x+2 is generated from the same rule

      Ideas enhancement: besides the single answer it prints the five-row input-output table around your x — the artefact these searches are actually asking for — plus the per-step change, which exposes the pattern the table is meant to teach.

      Worked examples

      Worked examples with the full working shown — try them in the calculator to check.

      Example 1

      Double and add three

      Rule y = 2x + 3, input x = 5

      CalculationSteps
      2 x 5 = 10, then 10 + 3 = 13. Table: 3→9, 4→11, 5→13, 6→15, 7→17.Output y = 13 at x = 5.

      Result

      Example 2

      Zero input exposes b

      Rule y = 4x − 2, input x = 0

      CalculationSteps
      4 x 0 = 0, then 0 − 2 = −2. The output at 0 is always the constant b.Output y = −2 at x = 0.

      Result

      Example 3

      Falling outputs

      Rule y = −3x + 10, input x = 2.5

      CalculationSteps
      −3 x 2.5 = −7.5, then −7.5 + 10 = 2.5. A negative a makes outputs fall as inputs rise.Output y = 2.5 at x = 2.5.

      Result

      How to use this calculator

      Step 1

      Decide the rule in the form y = a x + b.

      Step 2

      Enter the multiplier a and the constant b.

      Step 3

      Enter the input x you need.

      Step 4

      Read the output and the five-row table around it.

      Step 5

      Check the pattern: outputs step by exactly a each row.

      In short: An input-output table lists the results of applying a single mathematical rule to a series of input values.

      Frequently asked questions

      What is an input-output table?

      A table that applies one rule to a list of inputs and records the outputs. For the rule y = 2x + 3, input 4 gives output 11, and the whole table reveals the pattern: outputs rise by 2 for every 1 the input rises.

      How do I find the rule from a table?

      Look at how much the output changes when the input rises by 1 — that is the multiplier a. Then find what the rule gives at x = 0 — that is the constant b. Check the pair against every row before trusting it.

      Can the rule involve subtraction or division?

      Subtraction is a negative constant (y = 3x − 2 is a=3, b=−2) and dividing by a number is a fractional multiplier (y = x/2 + 1 is a=0.5, b=1). Both fit the same form.

      Why show x−2 to x+2?

      Tables are used to spot patterns and to answer the next question before it is asked. Showing two rows either side of your input makes the step size obvious and covers the neighbouring values homework usually asks for.

      What if my rule is not linear?

      This calculator covers the linear rules y = ax + b used in school input-output tables. Quadratic or exponential rules need an expression evaluator instead.

      About this calculator

      An input-output calculator applies a rule — here the linear rule y = ax + b — to an input value and builds the matching input-output table, the grid used throughout school maths to turn a rule into a visible pattern of number pairs.

      Every row of an input-output table is the same two operations in the same order: multiply the input by a, then add b. Order matters — for y = 2x + 3, input 5 means 2 × 5 + 3 = 13, not 2 × (5 + 3) = 16. When a table is generated by one linear rule, the outputs form an arithmetic sequence: stepping the input by 1 always steps the output by exactly a, which is the fastest way to check a table for errors.

      Reading a table backwards is the real skill. If outputs rise by 4 per input step, a = 4; the output at input 0 is b. A table running 3, 7, 11, 15 for inputs 0–3 therefore encodes y = 4x + 3, and you can extend it indefinitely or run it in reverse to find which input produced a given output: x = (y − b) / a.

      The common mistakes are applying the operations in the wrong order, using the step in the outputs as b instead of a, and assuming a rule from two rows without checking the third — two points always fit some line, so a guessed rule is only believable once it reproduces every given row.

      Use it for homework tables where one rule must be applied to many inputs, for checking a rule you guessed from a half-finished table, for function-machine questions, and for introducing graphs: each row of the table is a point waiting to be plotted.

      How to calculate it yourself

      Step 1

      Write the rule as y = a × x + b, identifying a and b.

      Step 2

      Substitute your input for x.

      Step 3

      Multiply first: a × x.

      Step 4

      Add b to finish the output.

      Step 5

      Repeat for neighbouring inputs to build the table, checking outputs step by a.

      Real-life examples

      Homework table, six rows

      A student must complete a table for the rule y = 3x − 1 for inputs 0 to 5 and is unsure about the last two rows.

      Outputs: 0→−1, 1→2, 2→5, 3→8, 4→11, 5→14. Each output is 3 more than the last, matching a = 3.

      Rows 4 and 5 give 11 and 14, continuing the +3 pattern.

      Pricing rule at a market stall

      A stall charges a $2 entry-to-sample fee plus $4 per punnet, so cost = 4x + 2. A buyer with 6 punnets wants the total, and the stallholder wants prices for 4 to 8 punnets ready.

      6 punnets: 4 x 6 + 2 = $26. Table: 4→$18, 5→$22, 6→$26, 7→$30, 8→$34.

      Six punnets cost $26, and the ready-reckoner table steps by $4.

      Ideas & use cases

      • Rule detective: enter a rule you guessed from a textbook table and check its outputs against every printed row in seconds.
      • Graph preparation: the five rows around your x are five (x, y) points — plot them to see the line your rule draws.
      • Reverse questions: to find which input gives output 29 under y = 2x + 3, scan the generated pattern — outputs step by 2 from 13 at x = 5, reaching 29 at x = 13.

      Limitations & sources

      • Linear rules y = ax + b only; it does not fit a rule automatically from a pasted table, and does not handle quadratic, exponential or two-variable rules.

      Sources: Linear function tables as taught in pre-algebra (rule y = ax + b); calculator.net math-calculator context cross-checked

      Input Output Calculator · TinyExe calculator suite Free to use · No sign-up · Instant results