Algebra

Equation of a Line Calculator | Slope-Intercept Form

Easily find the equation of a line in slope-intercept form (y=mx+b) using our online calculator. Just enter the slope and a point on the line.

Input Parameters

Enter the slope and the coordinates of a point through which the line passes.

Equation of the Line:

Line Visualization

Understanding the Equation of a Line

In mathematics, a linear equation represents a straight line on a graph. The slope-intercept form is a common way to express the equation of a line, given by y = mx + b, where:

  • y is the y-coordinate of a point on the line.
  • x is the x-coordinate of a point on the line.
  • m is the slope of the line, indicating its steepness and direction.
  • b is the y-intercept, the y-coordinate where the line crosses the y-axis (when x = 0).

This tool helps you find the equation of a line when you know its slope (m) and any point ((x₁, y₁)) that the line passes through. By substituting these values into the slope-intercept form and solving for b, we can determine the full equation of the line. The visualization provides a graphical representation of the line and the given point, enhancing understanding.

Use this calculator to quickly determine and visualize linear equations for your math problems or educational purposes.