Line Segment Calculator

This page will accept two order pairs on a line segment and calculate the equation of the line, the slope, the y-intercept, a sample equation for a line parallel to the given line, and a sample equation of a line perpendicular to the given line.
Enter coordinate values:
X1:
Y1:
X2:
Y2:
Formula:
Slope:
Y-Intercept:
A Sample Parallel Line Formula:
A Sample Perpendicular Line Formula:

Return to Calculators

Back to Mr. Gary White
Script modified by G. White
Free JavaScripts provided
by The JavaScript Source