What is the Equation of a Line Calculator?
An online LeCalculators tool that helps you find a line equation from two points or from a point and slope.
Choose two-point or point-slope mode to produce slope-intercept and standard forms.
Fill in the fields below, then select Calculate.
How to use Equation of a Line Calculator, plus the formulas and logic behind the results.
Find a line equation from two points or from a point and slope.
m = (y2−y1)/(x2−x1)y − y1 = m(x − x1)Algebra tips
Validates inputs, applies the standard formula(s) for the equation of a line calculator, and formats numeric results.
Educational calculator. Floating-point rounding may differ slightly from hand work.
Common questions about this calculator and how to use the results.
An online LeCalculators tool that helps you find a line equation from two points or from a point and slope.
Yes—most numeric fields accept decimals. Integer-only fields are labeled.
Common causes are division by zero, empty lists, or values outside the stated domain.
Integer and fraction results stay exact when possible; otherwise values are rounded for display.
Yes. LeCalculators algebra tools are free to use in your browser.
Yes for checking work—still show your own steps when required.