Skip to content
CalculatorZilo Logo
  • Home
  • CalculatorsExpand
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
CalculatorZilo Logo
Home / Evaluate Linear Functions Calculator
Algebra Calculators

Evaluate Linear Functions Calculator

Published onMay 13, 2026 Updated onOctober 21, 2026 11:10 am

Evaluating a linear function means one small job done carefully: take f(x) = mx + b, replace x with a number, and simplify. Enter the slope (m), the y-intercept (b), and the x value you want to evaluate, and this calculator shows every substitution step, the resulting point on the line, both intercepts, and a five-row table of values around your x, so you can check homework, plot the line, or test a cost model without hiding the working.

One honest scope note. This tool works in slope and intercept form only: you enter m and b as separate numbers. It does not parse a typed equation such as 2x + 3 pasted as text, it does not handle quadratics or other function families, and it draws no graph: the table of values is the plotting aid. For general arithmetic expressions rather than a linear function, the evaluating expressions calculator in this same batch is the right tool. This page is deliberately narrow, and narrow is what makes the steps easy to follow.

Evaluate Linear Functions Calculator
f(x) = mx + b evaluated step by step, with intercepts and a table
Function value
–
Table of values
–

Quick Answer

For the pre-filled function f(x) = 3x − 5 evaluated at x = 4: substitute, multiply, then add the intercept. f(4) = 3 × 4 − 5 = 12 − 5 = 7, so the point on the line is (4, 7). The y-intercept is (0, −5) and the x-intercept is (1.666667, 0). Change m, b, or x in the tool and the same three moves produce the new answer.

Key takeaways

  • Evaluating is substitution plus arithmetic, in that order: replace every x, multiply m by the new x, then combine with b.
  • The answer is a point, not just a number: f(4) = 7 means the line passes through (4, 7).
  • Signs cause almost every error. A negative slope or a negative x flips the sign of the product, and the intercept keeps its own sign throughout.
  • When m is 0 the function is flat: every x returns b, and there is no x-intercept unless b is also 0.
On this page
  • Quick Answer
  • How to use this calculator
  • What evaluating a linear function actually means
  • Worked example: f(x) = 3x − 5 at x = 4, with the table
  • Reading the two intercepts the tool reports
  • Tricky cases: negatives, fractions, and flat lines
  • Where linear functions show up outside the classroom
  • What competing resources miss
  • Frequently asked questions
  • Add This Calculator to Your Website

How to use this calculator

Split your function into its two numbers first, then evaluate. Results stay hidden until you click Evaluate.

  1. Slope (m): the number multiplying x. In f(x) = 3x − 5 it is 3. If your function is written as y = 2x, the slope is 2 and the intercept below is 0.
  2. Y-intercept (b): the constant on its own, with its sign. In f(x) = 3x − 5 it is −5, entered as -5.
  3. Evaluate at x: the input you need the output for. Decimals and negatives are welcome; type a fraction as a decimal, so one half becomes 0.5.

Read the output top to bottom. The large headline is the function value. The step block underneath repeats the evaluation in four lines: the function as entered, the substitution, the multiplication done, and the final sum. Then come the point, both intercepts, and a table of values for the two x values either side of yours, which is the fastest way to spot a slip: neighbouring outputs should march in steps of exactly m.

What evaluating a linear function actually means

A function is a rule that assigns exactly one output to each input, the definition used in the Khan Academy introduction to functions and in standard algebra texts such as OpenStax College Algebra. The notation f(x) names the rule f and its input x at the same time. Writing f(4) is an instruction: run the rule with 4 as the input. For a linear function the rule has the fixed shape f(x) = mx + b, where m, the slope, is the rate at which the output changes, and b, the y-intercept, is the starting value at x = 0. Evaluating is therefore always the same three moves, whatever the numbers:

1. Substitute: replace x with your value, f(4) = 3(4) − 5→ 2. Multiply: work out m × x first, 3 × 4 = 12→ 3. Combine: add or subtract b, 12 − 5 = 7

The order matters. Multiplication happens before the intercept is combined, which is just the standard order of operations, and it is why the tool prints the multiplication as its own line. Students who add b first are not making a function error; they are making an order-of-operations error, and the step display makes that specific slip easy to find in your own work.

Worked example: f(x) = 3x − 5 at x = 4, with the table

Here is the pre-filled example in full. Substitute 4 for x: f(4) = 3 × 4 − 5. Multiply: 12 − 5. Combine: 7. The point is (4, 7). The y-intercept needs no work at all, because it is b itself: (0, −5). The x-intercept asks the reverse question, where the output is 0: solving 3x − 5 = 0 gives x = 5 ÷ 3, which the tool prints rounded to six decimal places as 1.666667. The table of values the tool returns for this evaluation is:

xWorking: 3x − 5f(x)
26 − 51
39 − 54
4 (your x)12 − 57
515 − 510
618 − 513

Every row is an output of this calculator, so you can reproduce the whole table by typing the row x value into the tool. Notice the outputs climb by 3 each time, exactly the slope. That steady climb is the fingerprint of a linear function, and checking for it is a genuine self-test: if your hand-worked table does not climb evenly, the error is in a row where the step changes. The same slope idea, measured between two points on a curve or a data set rather than read from an equation, is what an average slope calculator computes.

Reading the two intercepts the tool reports

The y-intercept is the evaluation at zero: f(0) = m × 0 + b = b, so it is always the point (0, b), no calculation required. It answers the question: what is the value before anything changes? In a cost model it is the fixed fee; in a temperature conversion it is the offset.

The x-intercept is the input that makes the output zero, found by solving mx + b = 0, which gives x = −b ÷ m. For the worked example that is 5 ÷ 3 ≈ 1.666667. Two conditions hide inside that formula. The slope must not be zero, because division by zero is undefined and a flat line at height b never reaches the x-axis. And the sign needs care: with b negative, −b is positive, which is why the intercept of 3x − 5 lands on the positive side. The one special case worth stating plainly: when m = 0 and b = 0, the function is the x-axis itself, so every point is on the axis. The tool, following its flat-line branch, reports no single x-intercept in that case, which is the honest summary: there is no one crossing point to name.

Tricky cases: negatives, fractions, and flat lines

Negative slope, positive x. For f(x) = −2x − 3 at x = 2, the substitution gives (−2)(2) − 3 = −4 − 3 = −7. The common wrong answer, −1, comes from treating −4 − 3 as −4 + 3. Both numbers after the product are negative, so the result moves further down, not back up.

Negative x. For f(x) = 2x − 1 at x = −1.5, the product is 2 × (−1.5) = −3, and −3 − 1 = −4. The tool prints the substitution line exactly as 2 x -1.5 − 1, so you can watch the negative input travel through the working instead of disappearing into a final answer.

Fractional slope. Fractions behave like any other slope once written as decimals. For f(x) = (1/2)x + 1 at x = 6, enter m as 0.5: the product is 3, and 3 + 1 = 4. The x-intercept is −2, found the same way as any other: −b ÷ m = −1 ÷ 0.5.

Flat lines. When m = 0, the x term vanishes and f(x) = b for every input: evaluate f(x) = 5 at x = 10 and the answer is 5, with a table of values that never changes. There is no x-intercept, and the tool says so in words rather than inventing a number. A flat function is still a function, because each input still gets exactly one output; it is simply a rule that ignores its input.

Where linear functions show up outside the classroom

Most simple pricing is a linear function wearing a uniform. A phone plan with a base fee and a per-gigabyte rate is f(x) = (rate)x + (base fee), and evaluating it at 12 GB predicts the bill. A taxi fare is a flag drop plus a per-mile rate times the miles. Temperature conversion is the famous one: F = 1.8C + 32, so entering m = 1.8, b = 32, and x = 20 returns 68, the Fahrenheit reading for 20 degrees Celsius. In each case the evaluation is the prediction, and the intercepts carry the real-world meaning: the value at zero usage, and the usage level where a cost or quantity would hit zero. Once several such evaluations matter at once, for example the accumulated area under a rate over time, the natural next step is an area between two functions calculator, which builds on single evaluations like these.

What competing resources miss

The results for this topic split into homework answers, general function engines, and line builders, and each group gives up something a student evaluating f(x) = mx + b actually needs.

  • Answer keys with no working: homework help sites return the final number for a specific problem. Useful once, useless for learning the method, and there is nothing to check your own steps against. This tool prints the substitution, multiplication, and sum as separate lines.
  • General engines that bury the linear case: the AI Math Calculator function tool and the Symbolab functions calculator accept any function family and add domain, range, and composition. That breadth hides the simple three-move pattern a linear evaluation needs, and neither hands you a centred table of values around your x.
  • Line builders solving the reverse problem: the Omni Calculator slope-intercept tools and the Made Calculators linear equation solver start from two points or solve for an unknown. They build the equation; they do not evaluate a given m and b at a given x with steps, intercepts, and a table in one result.
  • Lessons with no calculator at all: the Khan Academy and NHTI materials teach evaluation well, including graphing-calculator keystrokes, but leave the arithmetic to you. This page pairs the same substitution method with a tool that runs it, so the lesson and the check live together.

Frequently asked questions

Nothing, mathematically. f(x) emphasises that the output depends on the input x, while y is just the name of the output variable. f(x) = 2x + 1 and y = 2x + 1 describe the same line, and evaluating either one at a given x gives the same answer.

Set f(x) = 0 and solve: mx + b = 0 gives x = −b/m. For f(x) = 3x − 5 the x-intercept is 5/3, printed by the tool as 1.666667. If m = 0 the line is horizontal and has no single x-intercept: it either never touches the x-axis, or, when b is also 0, it is the x-axis itself.

How fast the output changes when x increases by 1. A slope of 3 means f(x) rises 3 for every 1-step increase in x, which is why the table of values climbs in steps of 3. A negative slope means the output falls as x rises, and a slope of 0 means the output never changes.

Yes. The domain of a linear function is all real numbers, so you can evaluate at fractions, negatives, and decimals. Enter a fraction as a decimal, such as 0.5 for one half. The tool rounds displayed results to six decimal places, so 5/3 appears as 1.666667.

Two points determine a line, but a third confirms you made no arithmetic error. The table of values in the result gives you five points centred on your x, plus both intercepts, which is more than enough to draw an accurate graph.

The function becomes flat: f(x) = b for every x, so evaluating it returns b whatever input you choose. The tool reports the y-intercept as (0, b) and states that there is no x-intercept, because a horizontal line above or below the axis never crosses it.

No. This tool takes the slope and intercept as separate numbers, so for 2x + 3 you enter m = 2 and b = 3. It handles linear functions in the form f(x) = mx + b only, not quadratics, typed expressions, or equations with two unknowns.

Add This Calculator to Your Website

Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.

Powered by Calculator Zilo

References

  1. Khan Academy. What is a function? Functions and function notation. Accessed October 21, 2026.
  2. OpenStax, Rice University. College Algebra: functions, evaluation, and linear functions. Accessed October 21, 2026.
  3. Wolfram MathWorld. Linear Function. Accessed October 21, 2026.

Related calculators

Algebra CalculatorsMissing Variable Calculator: Solve Any Formula FastPick a formula, tell the tool which value you are missing, and enter the values you know.Algebra CalculatorsZero CalculatorThis Zero Calculator finds the zeros of a polynomial: the values of x that make the equation equal to zero, also called roots or x-intercepts.Algebra CalculatorsGraph Inequalities CalculatorGraphing an inequality means turning a statement such as y > x into a picture: a boundary line on a coordinate plane with every point that satisfies the inequality shaded on one side.Algebra CalculatorsRadical CalculatorA radical like √72 or ∛250 is exact but hard to read, while its decimal (8.485 or 6.300) is readable but rounded.Algebra Calculators Indicated Variable Calculator An indicated variable is the letter an equation is solved for: in 2x + 5 = 15, x is indicated, and the answer is 5.Algebra CalculatorsThree Step Linear Equations CalculatorA three-step linear equation is a single equation with one variable, like 2(x + 3) = 18, that takes three moves to crack: clear the parentheses, move the numbers, then divide.

We use cookies to analyze traffic and to serve ads that keep our calculators free. You can accept or decline cookies below. Learn more

CalculatorZilo

Free calculators for everyday life. No signup, no cost, just answers.

Categories

Finance Math Health & Fitness Education Science Real Estate Chemistry Browse all calculators

Popular tools

Mortgage Payment Calculator BMI Walking Calculator Salary Per Minute Calculator Percentage Off Calculator

Company

About Us Contact Us Privacy Policy Terms and Conditions
Disclaimer Cookie Policy DMCA Policy FAQ Accessibility Statement

© 2026 CalculatorZilo • Free calculators for everyone

  • Home
  • Calculators
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
Search