Line Equation from Two Points Calculator

Use this Line Equation from Two Points Calculator to find the slope and equation of a line using two given points.

Formulas

Slope m = (y₂ - y₁) / (x₂ - x₁)
Line equation: y - y₁ = m(x - x₁)

Popular Examples

Point 1 (x₁,y₁)Point 2 (x₂,y₂)Slope (m)Equation
(1,2)(3,4)1.000000y = 1x + 1
(0,0)(2,5)2.500000y = 2.5x + 0
(-1,3)(2,0)-1.000000y = -1x + 2
(1,1)(4,7)2.000000y = 2x - 1
(2,3)(5,6)1.000000y = 1x + 1

How To Calculate Without A Calculator

1. Compute slope: m = (y₂ - y₁) / (x₂ - x₁).
2. Substitute m and one point into y - y₁ = m(x - x₁).
3. Solve for y to get y = mx + b.
4. This gives the line equation manually.

About This Calculator

This Line Equation from Two Points Calculator provides accurate slope and line equation results. Perfect for students, engineers, and anyone learning how to find the line equation from two points.

Interesting Facts

• The slope represents the steepness of a line.
• Parallel lines have equal slopes.
• Perpendicular lines have slopes that are negative reciprocals.
• Line equations are used in algebra, physics, and engineering.
• Finding line equations is essential in coordinate geometry.