When to use Perpendicular Line Calculator
Find a line through a point at right angles to a reference line.
Apply the calculation to a diagram, coordinate problem or measurement task with the same geometric assumptions.
How to use this tool
- Enter the inputs listed below. Follow the field format, and select units beside each supported quantity.
- Results update automatically. Review the main result and its breakdown. Use Clear to enter a new scenario.
- x₁
- y₁
- x₂
- y₂
- Pass-through x
- Pass-through y
How it works
Rotate the reference direction (Δx, Δy) by 90° to get (−Δy, Δx), then use the chosen point.
Worked example
The examples below use fixed sample inputs. They explain the calculation and do not change when you edit the tool above.
- x₁
- 1
- y₁
- 2
- x₂
- 4
- y₂
- 8
- Pass-through x
- 0
- Pass-through y
- 5
- Result
- y = -0.5x + 5
- Slope
- -0.5
- Y-intercept
- 5
Understanding the result and its limits
Choose the correct shape and dimensions. Area uses squared units and volume uses cubed units; neither is a length.
Frequently asked questions
How should I check a geometric answer?
Sketch the shape, label the inputs and check units. A result for an ideal shape may not describe an irregular real object.
Methodology and references
Use the formulas and assumptions above when interpreting the example. Any practical estimate depends on the accuracy of the inputs.
- Further reading: OpenStax: basic geometry and measurement