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:
- Slope-Intercept Form: y = mx + b, where m is the slope and b is the y-intercept. This form is useful for quickly identifying the slope and y-intercept of a line.
- Standard Form: Ax + By = C, where A, B, and C are integers, and A and B are not both zero. This form is useful for solving systems of linear equations and is often preferred for general algebraic manipulations.
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.