Maths & numbers

Line equation evaluator

Evaluate y = mx + b and find its axis intercepts.

Line equation evaluator
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

Your result will appear here.

More actions

Your inputs stay in this browser. Nothing is uploaded, and nothing is saved unless you choose “Save result”.

A clear answer. Here’s how.

Evaluates y = mx+b directly. The x-intercept is −b/m for non-zero m. For a horizontal line, reports either no x-intercept or every x when b is zero.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Slope m
2
Y-intercept b
3
Evaluate at x
4

Example result

y at the requested x
11
Y-intercept
3
X-intercept
-1.5