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.

    Point A
    Point B
    Calculates standard form, slope-intercept details, point-slope inputs, and axis intercepts.

    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

    Calculations are based on the listed reference sources. Links open in a new tab.

    Updated:

    Related Tools