Line Equation Calculator

Find the equation of a line in slope-intercept form from a given slope and point, visualized interactively.

Input Parameters

Enter the slope and the coordinates of a point on the line to calculate the line equation.

Result

Line Equation (slope-intercept form):

Line Visualization

Understanding Slope-Intercept Form

The slope-intercept form of a linear equation is given by y = mx + b, where:

  • m is the slope of the line, representing the rate of change of y with respect to x.
  • b is the y-intercept, the point where the line crosses the y-axis (i.e., the value of y when x = 0).

This calculator helps you find the equation of a line in this form when you know the slope (m) and a point ((x1, y1)) that the line passes through. By substituting these values into the point-slope form and rearranging, we derive the slope-intercept form. Use this tool to easily visualize and understand linear equations.

For further learning, you can refer to resources on linear equations and slope-intercept form available on Khan Academy and other educational websites.