Graph y = x (Slope 1, Intercept 0)
The line y = x passes through the origin with a slope of 1, forming a 45-degree angle.
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.
Plot the identity function y = x, which passes through every point where the x and y values are equal.
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).