Algebra

Equation of a Line Calculator

Calculate the equation of a line in standard form, slope-intercept form, and point-slope form using our free online calculator. Easily find line equations from two points, a point and slope, or slope and y-intercept.

Enter Coordinates of Two Points

Enter Point and Slope

Enter Slope and Y-intercept


Result:

Understanding Line Equations

A line equation represents a straight line on a graph. There are several forms to express a line equation, each useful in different contexts:

  • Standard Form: Represented as \(Ax + By = C\), where A, B, and C are constants. It's a clean and simple form, useful for general representation.
  • Slope-Intercept Form: Written as \(y = mx + b\), where \(m\) is the slope and \(b\) is the y-intercept. This form is excellent for understanding the slope and where the line crosses the y-axis.
  • Point-Slope Form: Expressed as \(y - y_1 = m(x - x_1)\), where \((x_1, y_1)\) is a point on the line and \(m\) is the slope. It's particularly useful when you know a point on the line and the slope.

This calculator helps you convert between these forms and find the equation of a line based on different inputs such as two points, a point and a slope, or a slope and y-intercept. Simply select your input type, enter the values, and calculate to see the line equation in all three forms.

For more in-depth information, you can refer to resources like Math is Fun - Equation of a Line or explore other online math resources.