Graph y = 4 (Horizontal Line)
A slope of 0 produces a horizontal line at y = 4, constant for all x values.
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 a horizontal line y = 4 with zero slope, showing a constant function.
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).