Everyday Calculator Spot
MathCalculator

Slope and Distance Calculator

Calculate slope, distance, midpoint, and y-intercept from two coordinate points.

What it means

About this calculator.

Four formulas at once

Two points determine a line segment. From those same inputs, you can compute slope, distance, midpoint, and the y-intercept of the full line.

Vertical-line caveat

If x1 equals x2, the slope is undefined. This generic numeric display returns 0 for that case, so treat vertical-line results accordingly.

FAQ

Questions people usually have.

What is slope?

Slope is rise divided by run. It tells you how much y changes for each 1 unit change in x.

What formula is used for distance?

Distance = sqrt((x2 - x1)^2 + (y2 - y1)^2), which is the Pythagorean theorem applied to the coordinate grid.

Keep exploring

Related calculators.

More tools in math that people usually check next.

Browse the full category

Jump back to the math section to compare nearby tools and follow related search paths.

View Math calculators

Graphing Calculator

A modern graphing calculator. Type a function of x and see it plotted instantly — pan, zoom, and trace any curve.

Percentage Calculator

Answers all the common percentage questions at once: X% of Y, X as a percent of Y, and the percent change from X to Y.

Fraction Calculator

Add, subtract, multiply, or divide two fractions and see the simplified fraction, decimal, and percent result.

Average Calculator

Calculate the sum, mean, median, minimum, and maximum for a simple set of five numbers.