Math

Line Equation Calculator

Live

Build slope-intercept and standard-form equations from two points.

About Line Equation Calculator

Build slope-intercept and standard-form equations from two points. Enter first point x, first point y, second point x, second point y in a purpose-built geometry workspace with explicit units and relevant controls. The slope comes from rise over run and the intercept follows from substituting either point. The result panel reports slope, slope-intercept form, standard form, x-intercept, y-intercept with supporting context. Results depend on the entered assumptions and should be checked against the real terms, measurements, or source data. Processing stays in your browser and entered values are not sent to UtilityPages.

Set up Line Equation Calculator

Workspace

Structured calculation

Follow the input-to-result path; the fields below remain the source of every value.

Complete the fields to prepare a result.

Enter the first point x used by this tool.

Enter the first point y used by this tool.

Enter the second point x used by this tool.

Enter the second point y used by this tool.

Line Equation Calculator results

Enter the values above, then calculate to see the result.

Line Equation Calculator method

The slope comes from rise over run and the intercept follows from substituting either point.

How it works

The slope comes from rise over run and the intercept follows from substituting either point. Results depend on the entered assumptions and should be checked against the real terms, measurements, or source data.

Examples

Line Equation Calculator example

Example input
{
    "x1": 1,
    "y1": 3,
    "x2": 5,
    "y2": 11
}
Expected result
{
    "slope": 2,
    "slope_intercept_form": "y = 2x + 1",
    "standard_form": "8x − 4y = -4",
    "x_intercept": -0.5,
    "y_intercept": 1
}

Privacy

This tool does not store your inputs or results on UtilityPages.org.

Frequently asked questions

How does the Line Equation Calculator work?

The slope comes from rise over run and the intercept follows from substituting either point.

What should I enter in the Line Equation Calculator?

Enter first point x, first point y, second point x, second point y. Keep units consistent with the labels and use values from the same scenario.

What does the Line Equation Calculator return?

The result includes slope, slope-intercept form, standard form, x-intercept, y-intercept. Supporting values are included to make the headline result easier to check.

How exact is the Line Equation Calculator?

Results depend on the entered assumptions and should be checked against the real terms, measurements, or source data.