Equation of a Line Calculator

Enter the coordinates of two points to find the equation of the line in slope-intercept and standard forms. Visualize the line on an interactive graph.

Enter Coordinates

Point 1

Point 2

Slope-Intercept Form

Standard Form

Line Visualization

Understanding the Equation of a Line

In mathematics, the equation of a line describes a straight line on a graph. The most common forms are:

This calculator helps you find both forms of the equation given any two points on the line. Simply input the x and y coordinates of two distinct points, and the tool will calculate and display the equation in both slope-intercept and standard forms, along with a visual representation of the line.

Learn more about linear equations on resources like Khan Academy or Wikipedia.