Rise Over Run Calculator

By: Calculator Grid

Rise Over Run Calculator

Enter two Cartesian points to calculate rise, run, slope, percentage grade, angle, distance, intercept, and the equation of the line.

Slope2
Line typeIncreasing
Distance6.7082 units

The startup example is valid and ready to export.

Point coordinates

First point

Required horizontal coordinate; use a dot for decimals.

Required vertical coordinate; negative values are allowed.

Second point

Required horizontal coordinate for the second point.

Required vertical coordinate for the second point.

Results

Slope (m = Δy ÷ Δx)
2

The line rises 2 units for every 1 unit of positive horizontal movement.

Rise (Δy)
6
Run (Δx)
3
Percentage grade
200.00%
Angle
63.43°
Distance
6.7082
Y-intercept
0
Line type
Increasing
Line equation
y = 2x
Slope 2. Rise 6. Run 3.

Calculation detail

Measure Formula Substitution Result

Coordinate subtraction keeps its sign. Reversing both points changes the signs of rise and run together, so the slope remains the same.

How to use this rise over run calculator

What this calculator does

This calculator finds the straight line determined by two Cartesian points. It computes the signed vertical change, or Rise (Δy); the signed horizontal change, or Run (Δx); and their ratio, Slope (m = Δy ÷ Δx). It also converts the slope to Percentage grade, calculates the line's Angle from the positive x-axis, measures the straight-line Distance between the points, finds the Y-intercept when one exists, classifies the Line type, and writes the Line equation. The result is an exact coordinate-geometry identity for the entered points, subject only to displayed rounding. It does not decide whether a real road, roof, stair, or ramp satisfies a building or safety code.

When to use it

Use it to check algebra homework, convert a surveyed rise and run into a grade, describe the direction and steepness of a trend line, or verify the equation connecting two plotted points. The underlying slope formula is explained in the OpenStax lesson on graphing functions and slope.

How to calculate

  1. The calculator opens with the demonstration points (1, 2) and (4, 8), complete live results, and a validated example workbook ready under Download Excel.
  2. Replace x₁ and y₁ with the horizontal and vertical coordinates of the first point. Replace x₂ and y₂ with the second point. Results update immediately.
  3. Read the primary slope first, then use the result cards and the Calculation detail table to inspect each operation. The table columns are Measure, Formula, Substitution, and Result.
  4. Select Download Excel to export the current validated inputs and calculated outputs. Select Reset to clear the demonstration and all computed content. Reset may disable export until four valid coordinates defining two distinct points are entered again.

Input guide

x₁ is the required horizontal coordinate of the first point; y₁ is its required vertical coordinate. x₂ and y₂ are the corresponding required coordinates of the second point. Each field accepts a signed integer or decimal, optionally with correctly placed U.S.-style thousands separators, such as -1,250.5. Use a period as the decimal separator. Scientific notation, unit symbols, malformed grouping, blank values, and magnitudes above one trillion are rejected. Higher y-values increase rise; higher x-values increase run, but the effect on slope depends on both points. A common mistake is subtracting y-coordinates in one order and x-coordinates in the opposite order. Another is entering the identical point twice, which cannot define a unique line.

Output guide

The header pills repeat the live Slope, Line type, and Distance for quick scanning. Rise (Δy) is y₂ – y₁, and Run (Δx) is x₂ – x₁; either may be negative. Slope is rise divided by run: positive means the line increases from left to right, negative means it decreases, and zero means horizontal. A vertical line has zero run, so its slope and Percentage grade are undefined rather than infinite. Percentage grade is slope × 100%. Angle is arctangent of slope in degrees; a vertical line is reported as 90°. Distance is the nonnegative Euclidean distance between the points. Y-intercept is the value of y where x = 0 and does not exist as a single value for a vertical line. Line equation is shown as y = mx + b, y = c for a horizontal line, or x = c for a vertical line. OpenStax's point-slope formula explanation shows how slope and one point determine the equation.

Worked example

For the startup points (1, 2) and (4, 8), rise is 8 – 2 = 6 and run is 4 – 1 = 3. Therefore, slope is 6 ÷ 3 = 2, percentage grade is 200.00%, and angle is arctan(2) = 63.43°. The distance is √(3² + 6²) = √45 = 6.7082 units. The y-intercept is 2 – 2 × 1 = 0, so the line equation is y = 2x. Every startup display and workbook checkpoint uses these same values.

Formula and interpretation

m = (y₂ – y₁) ÷ (x₂ – x₁) = Δy ÷ Δx

Slope is dimensionless only when x and y use the same unit; otherwise it carries “y-units per x-unit.” Percentage grade is most meaningful when rise and run use compatible length units. The distance calculation uses the Pythagorean theorem, as described in OpenStax's rectangular coordinate system and distance formula section.

Special cases and common mistakes

If y₁ equals y₂ while x₁ differs from x₂, the line is horizontal: rise and slope are zero, the angle is 0°, and the equation is y = y₁. If x₁ equals x₂ while y₁ differs from y₂, the line is vertical: run is zero, distance remains valid, and the equation is x = x₁, but slope, grade, and a single y-intercept are not defined. If both points are identical, there is no unique line, so the calculator asks for a different second point. Reversing the point order changes the signs of rise and run but not their ratio, distance, intercept, or line equation.