Print six pairs of lines in y = mx + b with room to work; the key is its own sheet.
For a PDF, choose Save as PDF as the printer.
Six pairs to start: y = mx + bSix pairs in y = mx + b whose distance is a whole number or a root such as 2√2, from y = (3/4)x + 1 and y = (3/4)x + 6.More options
The perpendicular way, step by stepSix pairs with no formula: the perpendicular through a point of line 1, where it meets line 2, then the length between.
Root answersSix pairs with a root in the distance: simplify it and leave no root under the line.
Six pairs to start: y = mx + bSix pairs in y = mx + b whose distance is a whole number or a root such as 2√2, from y = (3/4)x + 1 and y = (3/4)x + 6.
Whole answersSix pairs with a whole number for the distance, with slopes such as 3/4, 4/3, 5/12 and 8/15.
Standard form and level lines
Horizontal and vertical pairs: 12Twelve short pairs in two columns, with both lines level or both upright.
One of each formSix pairs with one line as y = mx + b and the other as Ax + By = C.
Standard form, ready to useSix pairs in Ax + By = C with the same A and B, from 3x + 4y = 10 and 3x + 4y = −5.
Standard form: match A and B firstSix pairs where one equation must be divided before the formula, such as 3x + 4y = 2 and 6x + 8y = 34.
Check first
Find the mistakeSix finished answers to check: two are right and four have a slip.
Parallel, crossing or the same line?Eight pairs to check before the distance: four are parallel, three cross and one is the same line twice.
Missing b and problems
Find the missing bSix distances given: find both values of b that put the second line that far away.
Word problemsSix problems: two roads, a path, power lines, a rectangle, a canal and a square.
Blank
Your own pairs: six empty rowsThe same columns with nothing in them, to type on or write on.
Answer keys
Key: find the missing bThe two values of b for each pair, one above and one below.
Key: find the mistakeAnswers 2 and 6 are right. The other four are put right.
Key: horizontal and vertical pairsAll twelve distances.
Key: match A and B firstThe second equation divided, then the distance, six times.
Key: one of each formThe second line solved for y, then the distance, six times.
Key: parallel, crossing or the same?What each pair is, and the distance of the parallel ones.
Key: root answersThe six distances as simplified roots.
Key: six pairs to startThe six distances, with the numbers put into the formula.
Key: standard formThe six distances, with the numbers put into the formula.
Key: the perpendicular wayThe perpendicular, the point where it meets line 2 and the distance, six times.
Key: whole answersThe six distances, each a whole number.
Key: word problemsThe work and the answer for each problem.
How this list was compiled: Every distance was worked out by script on November 29, 2026 in two ways with exact fractions: by the formula, and by the perpendicular through a point of line 1 to the point where it meets line 2. The problems and their places are made up. The formula for y = mx + b and for ax + by + c = 0, and that the perpendicular distance is the same wherever it is measured, were read that day in Wikipedia, Distance between two parallel lines, en.wikipedia.org , and the distance from a point to a line a second time in Wikipedia, Distance from a point to a line, en.wikipedia.org . No pair of these pages is used. The standard on the slopes of parallel and perpendicular lines is G-GPE.5 of the Common Core math standards, corestandards.org .
How it works
This distance between parallel lines worksheet PDF opens on six pairs whose distance is a whole number or a root such as 2√2. The first is y = (3/4)x + 1 and y = (3/4)x + 6. Each sheet is one page, on Letter or A4.
Read the full guide
With the formula
d = |b2 − b1| ÷ √(m² + 1). For y = (3/4)x + 1 and y = (3/4)x + 6 the y-intercepts are 5 apart, and √((3/4)² + 1) is 5/4. So d = 5 ÷ (5/4) = 4. The gap up and down is 5, the distance straight across is 4.
With the perpendicular
For y = 2x + 6 and y = 2x + 1, start at (0, 6). The perpendicular is y = −(1/2)x + 6. It meets line 2 at (2, 5). From (0, 6) to (2, 5) is √5.
In standard form
Make A and B the same first: 6x + 8y = 34 is 3x + 4y = 17. Against 3x + 4y = 2 that is d = |17 − 2| ÷ √(9 + 16) = 3.
Check the slopes first: lines that cross have no one distance between them.
Each question sheet has its key in the Sheet menu, under Answer keys.
Questions and answers
How do you find the distance between two parallel lines?
Measure along a perpendicular. With y = mx + b, subtract the y-intercepts, drop any minus sign and divide by √(m² + 1). With Ax + By = C, subtract the C values and divide by √(A² + B²).
Is the distance just the difference of the y-intercepts?
Only for level lines. On a slope the straight-up gap is longer than the distance: y = x and y = x + 4 are 4 apart up and down, and 2√2 apart.
How far apart are two vertical lines?
Subtract the x values: x = −3 and x = 6 are 9 apart. Twelve level and upright pairs are on one sheet.
Why does a missing b have two answers?
One line can be above and one below. The lines √5 from y = 2x + 1 are y = 2x + 6 and y = 2x − 4.
How do I save the worksheet as a PDF?
Press Print the worksheet and choose Save as PDF in the print window. Save the key the same way: pick it in the Sheet menu first.