Equation of a Line Calculator

Enter the coordinates of two points to find the equation of the line in slope-intercept form and visualize it.

Equation of the Line:

Line Visualization

About Equation of a Line Tool

This tool helps you find the equation of a straight line in slope-intercept form (y = mx + b) when you are given the coordinates of two points on the line. The slope (m) represents the steepness of the line, and the y-intercept (b) is the point where the line crosses the y-axis. To use the calculator, simply input the x and y coordinates for two distinct points. The tool will then calculate and display the slope-intercept equation of the line passing through these points, along with a visual representation on an interactive graph. This is useful for algebra, geometry, and various applications requiring linear equations.