Advertisement

Parallel line calculator

Construct a parallel line through a point, or find parallel offsets at a chosen distance. Enter the reference in slope or standard form.

Calculator

Standard coefficient A
2.00000000
Standard coefficient B
-1.00000000
Standard constant C
-1.00000000
Standard equation Ax + By = C
(2)x + (-1)y = -1
Slope m
2.00000000
y intercept b
1.00000000
x intercept
-0.50000000
Point-slope equation
y - (1) = (2)(x - 0)
Line angle in (-90, 90] degrees
63.4349
Grade
200.000000%
Distance from point to reference line
0.44721360

Advertisement

How this calculator works

Parallel lines have parallel normals. Keeping A and B while choosing C to pass through the point gives the required parallel line. A perpendicular line uses the rotated normal (-B, A), so horizontal and vertical cases need no division by slope. For a distance offset, the two constants differ from the original by plus or minus distance times the normal magnitude. The point-to-reference distance is measured before constructing the new line.

Formula

Parallel through (x0,y0): Ax + By = Ax0 + By0. Perpendicular: -Bx + Ay = -Bx0 + Ay0. Offset constants: C plus or minus d sqrt(A^2+B^2).

Worked example

The line 2x - y = 0 has slope 2. Its parallel through (1, 3) is 2x - y = -1. Its perpendicular through that point is x + 2y = 7, with slope -0.5.

Advertisement

Frequently asked questions

What if the reference is horizontal?

The perpendicular is vertical, represented in standard form without an infinite slope.

Why are there two offset lines?

A line has two sides. Equal unsigned perpendicular distances give one parallel line on each side.

Can the parallel line equal the original?

Yes. If the supplied point lies on the reference line, the parallel through it is the same line.

Sources

Advertisement