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.
You may also like these tools
Equation of a Line Calculator (General Form)
Easily find the equation of a line in general form (Ax + By + C = 0) given two points.
Equation of a Line from Two Points Calculator
Easily calculate the equation of a line in slope-intercept form when given two points.
Slope-Intercept Form Calculator
Calculate the slope-intercept form of a line from two points, inspect the slope and y-intercept, and visualize the line on a compact coordinate plane.