Math
Parallel Line Calculator
Give mathcheck any line and a point, and it writes the parallel line through that point in slope-intercept, point-slope, standard, and general form with exact fractions.
The panel graphs both lines, checks that the slopes match, and reports the perpendicular distance between them.
Type a fraction like 3/2 or a decimal like -0.5. Type "undefined" for a vertical line.
Where the line crosses the y-axis.
x-coordinate of the point on the parallel line.
y-coordinate of the point on the parallel line.
Try an example
Result
Parallel line
—
- Given line
- —
- Shared slope
- —
- Standard form
- —
- Point-slope form
- —
- Distance between the lines
- —
Student quick launch
Grade planning, algebra checks, and formulas students reach for most.
Study path
Use this calculator with
Follow these when you want the formula behind the answer, a short lesson, or nearby tools in the same topic.
What makes two lines parallel?
Two lines are parallel when they have the same How steep a line is: how much y changes for each step right in x. and different y-A point where a graph crosses an axis., so they never intersect. To write the line parallel to a given line through a point, keep the slope and use point-slope form with the new point. Vertical lines are a special case: every vertical line x = k is parallel to every other vertical line.
Worked example
Parallel to y = 2x + 1 through (3, 4)
Keep m = 2. Point-slope: y - 4 = 2(x - 3). Distribute: y - 4 = 2x - 6, so y = 2x - 2. In standard form, 2x - y = 2. The gap between the lines is |1 - (-2)| / sqrt(2^2 + 1^2) = 3/√5 = 3√5/5 ≈ 1.34.
| Given line | Parallel slope | Parallel line through (x0, y0) |
|---|---|---|
| y = mx + b | m | y = mx + (y0 - m x0) |
| Ax + By = C | -A/B | Ax + By = A x0 + B y0 |
| x = k (vertical) | undefined | x = x0 |
| y = k (horizontal) | 0 | y = y0 |
How to use this calculator
- Choose how the given line is written and enter its values (slope and intercept, two points, a point and slope, or A, B, C).
- Enter the point the new line must pass through.
- Read the parallel line's equation in the header and the given line in the box beneath it.
- Check the graph: the two lines should look like railroad tracks that never meet.
- Use the distance value if your problem asks how far apart the lines are.
How to read the answer
The parallel line has exactly the same slope as the given line and a different y-intercept (unless the point already lies on the given line, in which case the lines coincide). In standard form the A and B The number multiplying a variable, like the 3 in 3x. are identical and only C changes, which is why the distance between the lines depends only on the difference in C.
Common mistakes and edge cases
- Using the negative The number you get by flipping a fraction; 3/4 becomes 4/3, and 5 becomes 1/5. slope. That gives a perpendicular line, not a parallel one.
- Reusing the original y-intercept b. Parallel lines share m, not b; solve for the new b with the new point.
- Forgetting that a vertical line x = k has a parallel line x = x0 through the new point, with no slope-intercept form.
- If the point lies on the given line, the parallel line through it is the same line; the calculator warns you.
- Reading the slope of Ax + By = C as A/B instead of -A/B.
Worked examples
Parallel to y = 2x + 1 through (3, 4)
Parallel line
y = 2x - 2
Negative fraction slope
Parallel to y = (-3/4)x + 2 through (-4, 1)
Parallel line
y = (-3/4)x - 2
Given line in standard form
Parallel to 3x - 2y = 6 through (0, 0)
Parallel line
y = (3/2)x
Given line from two points
Parallel to the line through (1, 1) and (4, 7) through (2, -3)
Parallel line
y = 2x - 7
Horizontal line
Parallel to y = 5 through (2, -1)
Parallel line
y = -1
Vertical line
Parallel to x = 4 through (-2, 3)
Parallel line
x = -2
Point already on the line
Parallel to y = 2x + 1 through (1, 3)
Parallel line
y = 2x + 1
Frequently asked questions
What is the slope of a line parallel to y = mx + b?+
The same slope, m. Parallel lines rise or fall at the same rate; only their y-intercepts differ.
How do I find a parallel line through a given point?+
Take the slope of the given line and plug it, with the point, into point-slope form: y - y0 = m(x - x0). Then solve for y if you want slope-intercept form.
Are two vertical lines parallel?+
Yes. Every vertical line x = k has an undefined slope, and any two distinct vertical lines never meet, so they are parallel.
How far apart are two parallel lines?+
Write both as Ax + By = C1 and Ax + By = C2 with matching A and B. The distance is |C1 - C2| / sqrt(A^2 + B^2). The calculator reports this distance automatically.
Can parallel lines have the same y-intercept?+
Only if they are the same line. Two different lines with the same slope and the same y-intercept would be identical, so distinct parallel lines always have different intercepts.
What happens if the point is on the given line?+
Then the parallel line through that point is the given line itself. The calculator returns the same equation and shows a warning.
About this calculator
- Written by
- mathcheck editorial team
- Last reviewed
- September 4, 2026
Method
- Uses the values entered by the user and stable formulas documented on the page.
Related calculators
Perpendicular Line Calculator
Find the equation of the line perpendicular to a given line through a point using the negative reciprocal slope. Accepts any line form, graphs both lines, and shows where they meet at a right angle.
Slope Intercept Form Calculator
Write the equation of a line in slope-intercept form y = mx + b from two points, a point and a slope, or standard form. Exact fractions, intercepts, a graph, and every other form of the line.
Point Slope Form Calculator
Write the equation of a line in point-slope form y - y1 = m(x - x1) from a point and a slope or from two points, then convert it to slope-intercept and standard form with a graph.
Distance from Point to Line Calculator
Find the perpendicular distance from a point to a line in 2D (any line form) or from a point to a plane in 3D, with the exact radical form, the foot of the perpendicular, and formula steps.
Slope Calculator
Find slope from two points, solve a missing coordinate from a known slope, or turn an angle or percentage grade into a slope. Includes equations, intercepts, perpendicular slope, graph, and step-by-step work.
Intersection of Two Lines Calculator
Find where two lines intersect from any form of their equations. Exact-fraction intersection point, parallel and coincident detection, the angle between the lines, a graph, and Cramer's-rule steps.
Last updated: September 4, 2026