Slope Calculator: Two Points, Grade & Incline

Find rise, run, slope, percent grade, line equation and distance. Or find a second point from an incline and distance.

Example: 1,250.50. Use a period for decimals.

Result

Enter values and select Calculate.

How is this calculated?

Rise is the change in y; run is the change in x. Grade is 100 times rise divided by run for matched axis units.

Worked example: Convert a gentle rise to a percent grade

From (2, 1) to (10, 3), the rise is 2 and the run is 8. The slope is 2 ÷ 8 = 0.25, so the grade is 25%. Use matching units on both axes.

Method and limits

Coincident points do not define a line. A vertical line has no finite slope or percent grade. The two-point calculation subtracts the typed decimal coordinates before rounding the differences. In the one-point modes, the entered starting coordinates are preserved at large magnitudes while displacement components remain approximations. Incline is expressed relative to increasing x.

How to use this calculator

  1. Choose Two points if you have both coordinate pairs. Keep x and y in matching units when converting a slope to grade or incline.
  2. To locate a second point, enter the starting point, distance along the line, and either the slope or incline. Select the direction of travel.
Read run along the horizontal axis and rise along the vertical axis. The diagonal is distance, not run. Not to scale.

Distinguish percent grade from degrees

Between (2, 1) and (10, 3), rise is 2 and run is 8. The slope is 0.25 and the grade is 25%, but the incline is about 14.04°, not 25°.

Read uphill and downhill from a consistent direction

Slope describes how y changes when x increases. If you reverse the order of two points, rise and run both change sign, so their ratio stays the same. Use signed coordinates; do not discard a negative rise.

Use horizontal run, not the length of the incline

A point 3 units higher and 4 units across has grade 75%. The diagonal length is 5, but dividing the rise by 5 gives a different ratio. Choose the distance mode only when the distance is measured along the line.

Check vertical and horizontal lines differently

Equal y-coordinates give a horizontal line with slope zero. Equal x-coordinates with distinct y-coordinates give a vertical line; the calculator reports an undefined grade and writes the equation in the form x = constant.

Frequently asked questions

Is 0.1 slope the same as 10% grade?
Yes when both axes have matching units. Multiply the slope by 100.
Can I enter points in either order?
Yes. The individual rise and run reverse signs; the slope and distance stay the same.
What does reverse change in distance mode?
It moves you to the opposite side of the starting point on the same line.
What if both points are identical?
A single repeated point cannot determine a unique line.

Common mistakes and limits

Sources & methodology

Related calculators