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.
Result
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
- Choose Two points if you have both coordinate pairs. Keep x and y in matching units when converting a slope to grade or incline.
- To locate a second point, enter the starting point, distance along the line, and either the slope or incline. Select the direction of travel.
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
- Straight Cartesian geometry only. It does not account for terrain, coordinate-map projection, construction tolerances, or code limits.
- Input coordinate differences are computed from the typed decimals before numerical conversion; other outputs may be rounded.
Sources & methodology
Related calculators
- Triangle Calculator: Solve Sides, Angles & Area
Solve a planar triangle from three measurements, including at least one side. Find sides, angles, area and both valid configurations in the ambiguous SSA case.
- Right Triangle Calculator: Sides, Angles & Area
Reconstruct a right triangle from two measurements. Find all three sides, acute angles, area and perimeter; compare swapped-leg solutions where applicable.
- Pythagorean Theorem Calculator: Find a Missing Side
Calculate a missing leg or hypotenuse from two sides of a right triangle. Enter each known side as a length or a value under a square root.
- Distance Calculator: 2D, 3D & Earth Coordinates
Find straight-line distance between two points in a plane or in space. For latitude and longitude, estimate the shortest surface arc on a spherical Earth.