Parallel Line Calculator

Same Direction, Different Path

Parallel lines share one thing and one thing only: slope. Everything else — where they sit on the page, which y-intercept they cross — is free to differ. That single shared property is enough to build a new line, as long as you know one point it has to pass through.

The Formula

The slope carries over unchanged from the original line; only the intercept is recalculated for the new point:

m (parallel) = m (original)
b = y − m × x
Equation: y = mx + b

If the original line is defined by two points rather than a slope, its slope is found first with m = (y2−y1)/(x2−x1), then carried into the formula above. A vertical original line produces a vertical parallel line through the new point's x-coordinate.

Where This Matters

  • CAD and drafting — offsetting a wall, road edge, or boundary line by drawing a new line through a specific point with identical direction.
  • Coordinate geometry proofs — showing that a quadrilateral is a parallelogram often reduces to comparing slopes computed this way.
  • Physics and engineering diagrams — constructing a reference line parallel to a known axis or edge through a specified location.
Note: Two lines are parallel only if their slopes are exactly equal and their equations are not identical — identical slope and identical intercept means the "two" lines are actually the same line.

How to Use This Calculator

  1. Choose how the original line is defined: Line From Two Points or Line From Slope.
  2. Enter the original line's coordinates (X1, Y1, X2, Y2) or its slope, depending on the mode selected.
  3. Enter the coordinates of the new point (New Point X, New Point Y) the parallel line must pass through.
  4. Select Calculate to get the equation of the parallel line.

Related Calculations

Need a line at a right angle instead? Use the Perpendicular Line Calculator, or start from raw coordinates with the Line Equation Calculator.