Graph Horizontal Line y = 4 (Zero Slope)
A line with slope 0 and intercept 4 is a perfectly horizontal line at y = 4.
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 zero slope produces a horizontal line, which is useful for understanding constant functions.
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).