Line Equation Calculator
Find the equation of a line from two points or from a point and slope, with standard form, slope-intercept form, point-slope form, intercepts, and a graph.
Find the equation of a line
English search intent for a line equation calculator is usually algebra and coordinate geometry: enter two points, or a point and slope, then get the line in standard, slope-intercept, and point-slope forms.
m is the slope and b is the y-intercept.
Standard form works for vertical lines as well as non-vertical lines.
What the calculator returns
- Standard form, slope-intercept form, and point-slope form when defined.
- Slope and y-intercept for non-vertical lines.
- x-intercept, y-intercept, direction vector, and normal vector.
- A graph preview for the coordinate plane.
- Special handling for vertical and horizontal lines.
Frequently Asked Questions
Sources and References
- Equation of a Line CalculatorInch Calculator
- Line CalculatoreMathHelp
- Equation of a Line CalculatorMiniWebtool
- Lines in two dimensionsMathPortal
Calculations are based on the listed reference sources. Links open in a new tab.
Related Tools
Calculate the acute and obtuse angles between two 2D lines using slopes or standard-form coefficients, with parallel and perpendicular classifications.
Find where two 2D lines intersect from standard form, slope-intercept form, or two points on each line. The calculator also detects parallel and coincident lines.
Find the perpendicular distance from a 2D point to a line, using standard form or two points on the line, with signed distance and closest point.
Calculate the slope of a line from two points, an angle, or standard-form coefficients. Shows undefined vertical slope, angle, intercept, and perpendicular slope.