Horizontal and vertical lines worksheet
A horizontal line is y = k: every point on it has the same y-value, and its slope is zero. A vertical line is x = k: every point has the same x-value, and its slope is undefined. Easy reads and graphs single lines and two lines on one grid; medium writes the line through two points, finds the slope and the intercepts, and solves for x or y before graphing; hard writes lines parallel or perpendicular to an axis or a line through a point, finds where two lines cross, the rectangle four lines make, and the distance between parallel lines.
Not quite the one you need? Same words, different skill:
- Writing Linear Equations (Algebra 1). Slope-intercept, point-slope and standard form.
- Graphing Linear Equations (Algebra 1). A grid on every question.
- Finding Slope (Algebra 1). From two points, an equation, or a table.
Select your difficulty
Pick more than one for a sheet that mixes them.
The preview can look cramped on a phone. The PDF and printed sheet come out normal.
Free math worksheets at sigmaprep.io/worksheets© 2026 Sigma Prep
Sigma Prep · sigmaprep.io/worksheets Name Horizontal and Vertical Lines Date Period Follow the heading above each group.
Free math worksheets at sigmaprep.io/worksheets© 2026 Sigma Prep |
Sigma Prep · sigmaprep.io/worksheets Name Horizontal and Vertical LinesAnswer keyVersion 1 Date Period Follow the heading above each group.
Free math worksheets at sigmaprep.io/worksheets© 2026 Sigma Prep |
How to do these
Write the equation of the line through and .
- Both points have x = 4, so the line is vertical.
- Every point on a vertical line has the same x-value.
The answer is .
Where students go wrong
Mixing up the two. y = 3 is the horizontal line through (0, 3), not a vertical line through 3 on the x-axis: the letter in the equation is the coordinate that stays the same.
Also called graphing horizontal and vertical lines, equations of horizontal and vertical lines or horizontal and vertical lines slope.
What you can put on this worksheet
- From a graph; through two points; parallel or perpendicular through a point
- The marked point is on the line. Write the equation of the line. — a coordinate grid with the line x = 1; marked points (1, -4) → : every point on it has , like (1, −4)
- Graph the line; zero or undefined slope; where two lines cross
- Graph . — a blank coordinate grid → A vertical line through (7, 0)
- Horizontal or vertical?; intercepts; the rectangle four lines make
- Is horizontal or vertical? Which of the points (3, −7), (−7, −4), (−9, −7) are on it? → Horizontal. (3, −7) and (−9, −7) are on it: their -coordinate is −7. (−7, −4) is not.
- Two lines on a grid; solve, then graph; distances between parallel lines
- Write the equation of the solid line and of the dashed line. — a coordinate grid with the line y = 1 and the line y = -5 (dashed) → solid: ; dashed: