📏 Line Equation from Two Points Calculator

Calculate line equation from two points

Point 1 (x₁, y₁)

Point 2 (x₂, y₂)

How to Use This Calculator

1

Enter Two Points

Input coordinates (x₁, y₁) and (x₂, y₂) of two points on the line.

2

Calculate

Press "Calculate Line Equation" to find the line equation in multiple forms.

Formula

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

Y-intercept: b = y₁ - mx₁

Equation: y = mx + b

About Line Equation from Two Points Calculator

The Line Equation from Two Points Calculator finds the equation of a line passing through two given points. It provides slope-intercept form and standard form.

When to Use This Calculator

  • Geometry: Find line equations in coordinate geometry
  • Mathematics: Solve problems involving lines
  • Engineering: Calculate linear relationships

Frequently Asked Questions

How do I find the line equation from two points?

Calculate slope: m = (y₂ - y₁)/(x₂ - x₁). Then find y-intercept: b = y₁ - mx₁. The equation is y = mx + b.

What if the line is vertical?

If x₂ = x₁, the line is vertical (undefined slope) and the equation is x = x₁ (or x = x₂).