terican

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.

FreeInstantNo signupOpen source

Inputs

Slope

Explain my result

0/3 free

Get a plain-English breakdown of your result with practical next steps.

Slope

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:

  1. Identify two distinct points on the line: (x1, y1) and (x2, y2).
  2. Calculate the rise: rise = y2 minus y1 (positive if the line goes up, negative if it goes down).
  3. Calculate the run: run = x2 minus x1 (positive when moving right, negative when moving left).
  4. Divide rise by run to compute slope m.
  5. 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

Frequently asked questions

What does rise over run mean in math?
Rise over run describes the slope of a straight line by comparing its vertical change (rise) to its horizontal change (run). If a line moves up 4 units and across 2 units between two points, its slope is 4/2 = 2. This ratio stays constant everywhere along the same straight line, making it a reliable measure of both steepness and direction.
How do you calculate rise over run slope step by step?
To calculate rise over run slope, subtract the y-coordinates of two points to find the rise (y2 - y1), then subtract the x-coordinates to find the run (x2 - x1), and divide rise by run. For example, with points (3, 5) and (7, 13): rise = 13 - 5 = 8, run = 7 - 3 = 4, so slope = 8 / 4 = 2. The result means the line rises 2 units per unit of horizontal movement.
What does a slope of 0.5 (or 1/2) mean?
A slope of 0.5 means the line rises 0.5 units vertically for every 1 unit moved horizontally, or equivalently 1 unit of rise for every 2 units of run. Expressed as a percent grade, this equals 50%, which is an extremely steep gradient — far exceeding typical road design limits. ADA accessibility standards cap ramp slope at 1:12 (about 8.3%), making a 50% slope unsuitable for most construction applications.
What is the difference between slope and percent grade?
Slope (m) is a dimensionless ratio — rise divided by run — while percent grade multiplies that ratio by 100. A slope of 0.06 equals a 6% grade. Civil engineers and geographers typically use percent grade for roads and terrain analysis, whereas mathematicians and physicists use the decimal or fractional form. According to the U.S. Geological Survey, percent slope is the standard unit used in topographic and terrain steepness analysis.
Can rise over run be negative, and what does it mean?
Yes, rise over run can be negative. A negative slope occurs when a line descends from left to right, meaning the y-value decreases as the x-value increases. For example, points (2, 8) and (6, 4) give a rise of 4 - 8 = -4 and a run of 6 - 2 = 4, so m = -4 / 4 = -1. A slope of -1 means the line drops exactly 1 unit vertically for every 1 unit of horizontal movement.
How is slope used in construction and civil engineering?
Slope governs critical design decisions throughout construction and civil engineering. ADA accessibility standards require ramps to have a maximum slope of 1:12 (approximately 8.3%). Roof pitches are specified as rise-to-run ratios such as 4:12 or 6:12. Highway engineers typically design road grades between 3% and 7% for safe vehicle travel. Drainage systems require a minimum slope to ensure water flows away from building foundations and paved surfaces correctly.