Last verified · v1.0
Calculator · math
Rise Over Run Slope Calculator
Calculate slope using the rise over run formula. Enter two points or rise and run values to get slope as a decimal, fraction, percentage, or angle in degrees.
Inputs
Slope
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
The formula
How the
result is
computed.
What Is Rise Over Run?
The rise over run is the foundational definition of slope in coordinate geometry — the ratio of a line's vertical change (rise) to its horizontal change (run). Given any two distinct points on a straight line, this ratio remains constant, which is why slope is one of the most reliable descriptors of linear behavior in mathematics, science, and engineering.
The Slope Formula
The rise over run slope formula is expressed as:
m = rise / run = (y2 - y1) / (x2 - x1)
Each variable in this equation has a precise meaning:
- m — the slope, representing the line's rate of vertical change per unit of horizontal movement
- rise — the vertical change between two points, computed as y2 minus y1
- run — the horizontal change between two points, computed as x2 minus x1
- (x1, y1) — the coordinates of the first reference point on the line
- (x2, y2) — the coordinates of the second reference point on the line
Why Is Slope Represented by the Letter m?
The convention of using m for slope is a well-established mathematical tradition. One widely cited explanation links it to the French verb monter, meaning to climb or ascend — an intuitive metaphor for a rising line. Regardless of its etymology, m is universally recognized in algebra, calculus, and statistical modeling worldwide.
Step-by-Step Calculation
Follow these steps to calculate slope using the rise over run method:
- Identify two distinct points on the line: (x1, y1) and (x2, y2).
- Calculate the rise: rise = y2 minus y1 (positive if the line goes up, negative if it goes down).
- Calculate the run: run = x2 minus x1 (positive when moving right, negative when moving left).
- Divide rise by run to compute slope m.
- Simplify the result or convert to the desired output format.
Positive Slope Example
Given points (2, 3) and (6, 11): rise = 11 - 3 = 8; run = 6 - 2 = 4; m = 8 / 4 = 2. A slope of 2 means the line climbs 2 units vertically for every 1 unit of horizontal distance traveled.
Negative Slope Example
Given points (1, 10) and (5, 2): rise = 2 - 10 = -8; run = 5 - 1 = 4; m = -8 / 4 = -2. A negative slope means the line descends from left to right on a standard coordinate plane.
Interpreting Slope Values
- m > 0: Positive slope — the line rises from left to right.
- m < 0: Negative slope — the line falls from left to right.
- m = 0: Zero slope — the line is perfectly horizontal.
- m = undefined: The run equals zero — the line is perfectly vertical and slope is undefined (division by zero).
Slope as Percent Grade and Angle
In geography, civil engineering, and construction, slope is frequently expressed as a percentage. According to the U.S. Geological Survey (USGS), percent slope equals (rise divided by run) multiplied by 100. A roadway with a 5% grade climbs 5 feet for every 100 feet of horizontal distance. To convert slope to an angle in degrees, apply the arctangent function: angle = arctan(m). A slope of exactly 1.0 corresponds to 45 degrees.
Real-World Applications
As the Science Education Resource Center at Carleton College explains, calculating rates of change through time is mathematically equivalent to computing slope — a principle foundational to physics, environmental science, and economics. Common real-world applications include:
- Civil engineering: Road grades and drainage gradients (ADA-compliant ramps require a maximum slope of 1:12, or approximately 8.3%)
- Architecture: Roof pitch expressed as rise-to-run ratios, such as a 6:12 pitch meaning 6 inches of rise per 12 inches of run
- Physics: Velocity derived as the slope of a position-versus-time graph; acceleration as the slope of a velocity-versus-time graph
- Data science: Linear regression coefficients that represent the slope of a best-fit line through scatter data
- Finance: Rate of return computed as the slope of an asset value plotted against time
Output Format Options
This rise over run calculator supports four output formats to match the conventions of different fields:
- Decimal — e.g., m = 2.5 (standard algebraic notation used in most math courses)
- Fraction — e.g., m = 5/2 (exact form, preferred in academic mathematics)
- Percentage — e.g., 250% (standard in civil engineering and topographic mapping)
- Degrees — e.g., approximately 68.2 degrees (applied in trigonometry, surveying, and navigation)
Reference