Line Through Two Points Calculator
Enter two points and see the line that passes through both.
The x-coordinate of the first point.
The y-coordinate of the first point.
The x-coordinate of the second point.
The y-coordinate of the second point.
Try
Result
You entered
Slope
y-intercept
x-intercept
Slope-intercept form
Point-slope form
Standard form
Angle with the x-axis
Show the work
Slope formula (rise over run)
The line is , so the slope comes first: the rise divided by the run. Here and .
Find the y-intercept
The intercept is where the line meets the -axis. Since is on the line, , so . Here .
Slope-intercept form
Put and into .
Result
So the line through the two points is .