Line Equation from Two Points Calculator

Your details

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.
Slope-intercept form
y = 2x + 0

y = mx + b

Slope (m)2
y-intercept (b)0
Standard form6x - 3y = 0
Point-slope form (P₁)y - 2 = 2(x - 1)
Point-slope form (P₂)y - 8 = 2(x - 4)
Parametric formx(t) = 1 + 3t, y(t) = 2 + 6t
x-intercept0
Angle of inclination63.43deg
Distance between points6.7082
Midpoint(2.5, 5)
Parallel line slope2
Perpendicular line slope-0.5

Line equation: y = 2x + 0

  • The line has a positive slope (rises left to right) of 2.
  • It crosses the x-axis at x = 0 and the y-axis at y = 0.
  • The two points are 6.7082 units apart, with midpoint at (2.5, 5).
  • The line makes an angle of 63.4349° with the positive x-axis.
  • Any perpendicular line to this one has slope -0.5.

Next stepUse the standard form (Ax + By + C = 0) when you need to work with systems of equations, or the parametric form for vectors and physics problems.

= Powered by OnlyCalculators