Linear Function Plotter (y = mx + b)
Plot any linear function y = mx + b instantly. Enter slope, y-intercept and x range to see the graph with intercept values. Free, instant, no login.
How to use this tool
- Enter slope (m), y-intercept (b), x minimum and x maximum in the fields above.
- Results update instantly as you type — or click Calculate.
- Read your slope (m) and the full breakdown beneath it.
A linear function has the form y = mx + b, where m is the slope (rise over run) and b is the y-intercept. Enter any values and the graph updates instantly.
The x-intercept (where the line crosses the x-axis) is found by setting y = 0: x = −b/m.
Frequently asked questions
- What does the slope mean?
- The slope m tells you how much y changes for every 1-unit increase in x. A slope of 2 means y goes up 2 for every 1 step to the right.
- What if the slope is zero?
- A slope of zero gives a horizontal line at y = b, with no x-intercept (unless b is also 0, in which case the whole x-axis is the line).