Parallel Line Calculator

Enter the slope and y-intercept of a line plus a point, and get the equation of the line parallel to it through that point — along with the distance between the two lines.

Quick Facts

Parallel slope rule
m₁ = m₂
Two non-vertical lines are parallel only when their slopes are equal.
Point-slope form
y − y₁ = m(x − x₁)
Builds the new line's equation from the known slope and a point on it.
Distance between parallels
d = |b₂ − b₁| / √(1 + m²)
The constant perpendicular gap between two lines of the same slope.

Your Results

Calculated
Slope of Parallel Line
-
Equal to the given line's slope, m
Y-intercept of Parallel Line
-
b₂ = y₁ − m·x₁
Equation of Parallel Line
-
y = mx + b₂
Distance Between the Lines
-
Perpendicular distance, same units as x and y

Ready

Enter the line's slope and y-intercept plus a point, then press Calculate.

How the Parallel Line Calculator works

Two lines in a plane are parallel when they never intersect, which happens precisely when they share the same slope. This calculator takes the slope and y-intercept of a known line, together with the coordinates of a point, and returns the equation of the line that passes through that point while staying parallel to the original line — plus the perpendicular distance between the two lines.

Why parallel lines share the same slope

The slope m of a line measures how steeply it rises or falls: m = Δy/Δx. If two lines rose or fell at different rates, they would eventually cross. So for two non-vertical lines y = m₁x + b₁ and y = m₂x + b₂ to be parallel, they must satisfy m₁ = m₂. The y-intercepts b₁ and b₂ can differ — that difference is what keeps the lines a fixed distance apart instead of making them the same line.

Building the new equation from a point

Given the original slope m and a point (x₁, y₁) the new line must pass through, start from point-slope form: y − y₁ = m(x − x₁). Since the new line keeps the same slope m, solving for y gives y = mx + (y₁ − m·x₁), so the new y-intercept is b₂ = y₁ − m·x₁. This calculator computes b₂ directly and reports the full equation y = mx + b₂.

Measuring the distance between the two lines

Because both lines share the same slope, the perpendicular distance between them is constant everywhere. Writing both in the form y = mx + b, that distance is d = |b₂ − b₁| / √(1 + m²). This comes from projecting the gap between the two intercepts onto the direction perpendicular to the lines' direction vector (1, m).

Common mistakes

  • Using the perpendicular slope instead: parallel lines share the same slope m; perpendicular lines use the negative reciprocal, −1/m. Mixing these up produces a line at 90° to the one you wanted.
  • Forgetting a vertical line has no defined slope: this calculator's slope-intercept model does not cover vertical lines. For a vertical original line x = k, the parallel line through (x₁, y₁) is simply x = x₁.
  • Assuming the new intercept equals the old one: the new y-intercept b₂ generally differs from b₁ — they match only when the given point already lies on the original line.

Real-world applications

  • Architectural and CAD drafting use parallel-line construction to keep walls, beams, or road edges evenly offset from a reference line.
  • Physics and engineering use parallel line equations to represent constant-rate relationships that start from different baselines, such as two objects moving at the same speed but starting at different positions.
  • Coordinate geometry proofs use the equal-slope test to confirm that a quadrilateral's opposite sides are parallel, a required property of parallelograms.

Frequently Asked Questions

How do you find the equation of a line parallel to another line through a given point?
Keep the same slope m as the original line, then use point-slope form y − y₁ = m(x − x₁) with the given point (x₁, y₁). Simplify to slope-intercept form y = mx + b₂, where b₂ = y₁ − m·x₁.
Why must parallel lines have equal slopes?
Slope measures the rate of change of y with respect to x. If two non-vertical lines had different slopes, one would eventually rise or fall faster than the other and the lines would cross at exactly one point, so equal slope is both necessary and sufficient for two distinct non-vertical lines to be parallel.
How do you calculate the distance between two parallel lines?
Write both lines as y = mx + b₁ and y = mx + b₂ (same slope m). The perpendicular distance between them is d = |b₂ − b₁| / √(1 + m²). For lines in standard form Ax + By = C₁ and Ax + By = C₂, the equivalent formula is d = |C₂ − C₁| / √(A² + B²).
What happens if the point I enter already lies on the original line?
Then the "parallel" line through that point is identical to the original line — same slope and same y-intercept — and the calculated distance between the two lines is 0.