Rise and run calculation is the method for finding the slope of a line: divide the vertical change (rise) by the horizontal change (run). The result is the slope, which tells you how steep the line is. This guide explains the formula, how to measure rise and run from a graph or two points, and how to interpret the answer in real-world situations.
What Exactly Are Rise and Run?
Rise and run are two measurements that describe the steepness of a line. The rise is the vertical distance between two points on a line—how much the line goes up or down. The run is the horizontal distance between the same two points—how much the line goes left or right. Together, they form the ratio that defines slope.
In algebra, slope is often written as the letter m:
- m = rise / run
- Rise is measured in the same units as the y-axis (e.g., feet, meters, dollars).
- Run is measured in the same units as the x-axis (e.g., feet, meters, hours).
The slope can be positive (line goes up as you move right), negative (line goes down), zero (flat), or undefined (vertical line). A vertical line has no run, so you cannot divide by zero—that’s why its slope is undefined.
The Slope Formula: Rise Over Run
When you have two points on a line, you can calculate the slope without a graph. Label the points (x₁, y₁) and (x₂, y₂). Then:
- Rise = y₂ − y₁ (vertical change)
- Run = x₂ − x₁ (horizontal change)
- Slope = (y₂ − y₁) / (x₂ − x₁)
This formula works for any two distinct points on a straight line. It doesn’t matter which point you call first, as long as you stay consistent—if you subtract the first point’s y from the second’s, do the same for x.
Example: Points (2, 3) and (5, 9). Rise = 9 − 3 = 6. Run = 5 − 2 = 3. Slope = 6 / 3 = 2. That means for every 1 unit you move right, the line goes up 2 units.
How to Measure Rise and Run From a Graph
If you have a graph, you can read rise and run directly by picking two points on the line. Choose points where the line crosses grid intersections to make counting easier.
- Pick two points on the line. Any two will work, but choose ones far apart for better accuracy.
- Count the vertical distance between them. Going up is a positive rise; going down is negative.
- Count the horizontal distance. Going right is a positive run; going left is negative.
- Divide rise by run to get the slope.
For example, a line passes through (1, 2) and (4, 8). From the first point to the second, you go up 6 units (rise = 6) and right 3 units (run = 3). Slope = 6/3 = 2. The same result as the formula—graphing is just a visual way to do the same subtraction.
Rise and Run in Real Life: Roofs, Ramps, and Roads
Rise and run aren’t just algebra exercises. Builders, engineers, and architects use them every day to describe steepness.
- Roof pitch: Often written as “4/12” meaning 4 inches of rise for every 12 inches of run. A 4/12 roof is walkable; a 12/12 roof is a steep 45°.
- Ramps: The Americans with Disabilities Act (ADA) recommends a maximum slope of 1:12 (1 inch of rise per 12 inches of run) for wheelchair ramps. That’s about 4.8°.
- Roads: Highway grades are percentages—a 5% grade means 5 feet of rise per 100 feet of run (or 5 meters per 100 meters). That’s a slope of 0.05.
In each case, the principle is the same: divide the vertical change by the horizontal change. The units must match, or you’ll get a meaningless number.
Converting Slope to Degrees
Sometimes you need the angle of the line, not just the ratio. The slope is the tangent of the angle with the horizontal. To find the angle in degrees:
- Angle = arctan(slope) (using a calculator in degree mode)
For example, a slope of 1 (rise = run) gives arctan(1) = 45°. A slope of 0.5 gives about 26.57°. Conversely, if you know the angle, the slope = tan(angle).
This conversion is handy when reading architectural drawings or comparing steepness in different formats.
Common Mistakes and How to Avoid Them
The most frequent error in rise and run calculations is mixing up the order of subtraction. If you calculate rise as y₂ − y₁, you must calculate run as x₂ − x₁. Swapping the points changes the signs of both, but the slope stays the same. However, if you subtract y₁ − y₂ for rise but x₂ − x₁ for run, you’ll get the wrong sign.
Another common mistake is forgetting to include units. Slope is a ratio, so the units cancel out. But if you measure rise in feet and run in meters, you’ll get a slope that’s not meaningful. Always use the same unit for both.
Also, don’t confuse rise and run with the line’s length. The line’s length (the hypotenuse) is found with the Pythagorean theorem: √(rise² + run²). That’s not the slope.
Rise, Run, and the Equation of a Line
Once you have the slope, you can write the equation of the line in slope-intercept form: y = mx + b, where m is the slope and b is the y-intercept (where the line crosses the y-axis).
For example, if the slope is 2 and the line passes through (2, 3), plug those into the equation: 3 = 2(2) + b, so b = −1. The equation is y = 2x − 1. The slope tells you the rate of change—y increases by 2 for every 1 increase in x.
This connection between slope and linear equations is the foundation of much of algebra and calculus. In calculus, the slope of a curve at a point is the derivative, which is the limit of rise/run as the run approaches zero.
Frequently Asked Questions
What if the run is zero?
A zero run means the line is vertical. You can’t divide by zero, so the slope is undefined. In real life, a vertical wall has an infinite slope—it’s not a number you can calculate.
Can slope be a percentage?
Yes. Multiply the slope (as a decimal) by 100 to get the percentage grade. For example, a slope of 0.05 is a 5% grade. This is common on roads and train tracks.
Does it matter which point is (x₁, y₁)?
No. As long as you consistently subtract the same point’s coordinates, the slope will be the same. If you swap the points, both rise and run change sign, but the ratio stays the same.
How do I find rise and run without a graph?
Use the coordinates of two points. Subtract the y-values to get rise, and subtract the x-values to get run. Then divide.
What’s the difference between slope and gradient?
In most contexts, they’re the same thing. “Gradient” is more common in physics and engineering, and can also refer to a vector in multivariable calculus. For a straight line, slope and gradient are interchangeable.