PrimeCalcPro
Explore 1070+ free calculators — math, finance, health & more.

Line Equation Calculator

Equation of a line in slope-intercept form

Line Equation Calculator

x₁
y₁
x₂
y₂

Line Equation

y = 2.0000x + 2.0000
Slope (m)
2.0000
y-intercept
2.0000

The equation of a line in slope-intercept form is y = mx + c, where m is the slope (gradient) and c is the y-intercept. It describes every straight line in 2D space.

  1. 1Slope m = (y₂−y₁)/(x₂−x₁)
  2. 2y-intercept c = y − mx
  3. 3Parallel lines have equal slopes
  4. 4Perpendicular lines: m₁×m₂ = −1
Points (0,2) and (3,8)=m = (8−2)/(3−0) = 2, c = 2, so y = 2x + 2
m = 3, passes through (1, 5)=y − 5 = 3(x − 1), so y = 3x + 2
FormEquationBest used when
Slope-intercepty = mx + cSlope and y-intercept known
Point-slopey−y₁=m(x−x₁)Point and slope known
Standardax + by = cInteger coefficients needed
Two-point(y−y₁)/(y₂−y₁)=(x−x₁)/(x₂−x₁)Two points known
🔒
100% Gratis
Ingen registrering
Korrekt
Verifierade formler
Omedelbar
Resultat direkt
📱
Mobilanpassad
Alla enheter

Settings

Theme

Light

Dark

Layout

Language

PrivacyTermsAbout© 2025 PrimeCalcPro