Skip to content
FiftyCalc Free calculators for all 50 states

Parallel Line Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Enter the slope and y-intercept of the line, and the point the parallel line must pass through.

Result

Sample figures

y-intercept of the parallel line, y₀ − m × x₀—

Slope of the parallel line (same as the given line) —

  • Distance between the two lines—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Parallel Line Calculator

Slope m of the given line y = mx + b: enter a number. Prefilled example: 2.

y-intercept b of the given line: enter a number. Prefilled example: 1.

Point: x₀: enter a number. Prefilled example: 3.

Point: y₀: enter a number. Prefilled example: 4.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Slope m of the given line y = mx + b: enter a number.
  2. y-intercept b of the given line: enter a number.
  3. Point: x₀: enter a number.
  4. Point: y₀: enter a number.
  5. Read the result: y-intercept of the parallel line, y₀ − m × x₀; the panel also shows Slope of the parallel line (same as the given line) and Distance between the two lines.

How this calculator works

Parallel lines have the same slope. The line through (x₀, y₀) with slope m is y − y₀ = m(x − x₀), so its y-intercept is b = y₀ − m × x₀.

The distance between the parallel lines y = mx + b₁ and y = mx + b₂ is |b₂ − b₁| ÷ √(1 + m²).

The formula

  1. B=y0−m×x0+0
Symbols used in the formula
SymbolMeaning
mSlope m of the given line y = mx + b
x0Point: x₀
y0Point: y₀
By-intercept of the parallel line, y₀ − m × x₀

Worked example

Slope m of the given line y = mx + b2
y-intercept b of the given line1
Point: x₀3
Point: y₀4
Slope of the parallel line (same as the given line)2
Distance between the two lines1.3416
  1. B=4−2×3+0=−2

y-intercept of the parallel line, y₀ − m × x₀ -2

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What line through (3, 4) is parallel to y = 2x + 1?

y = 2x − 2. The two lines are |−2 − 1| ÷ √5 ≈ 1.3416 units apart.

What about a vertical line x = c?

A vertical line has no slope; the parallel line through (x₀, y₀) is simply x = x₀.

Related calculators