← All calculators

Rise Over Run Calculator

Rise Over Run Calculator to find the slope of a line from its vertical rise and horizontal run, or calculate rise, run, slope, angle, and percent grade from two points.

Scroll for the full guide

What Is Rise Over Run?

Rise over run is the standard way to describe the slope of a straight line. The rise represents the vertical change, while the run represents the horizontal change.

The basic formula is:

Slope = Rise ÷ Run

When two points are known, the same formula can be written as:

m = (y2 − y1) ÷ (x2 − x1)

Here, m represents slope, y2 − y1 represents the rise, and x2 − x1 represents the run. This is the standard definition used in coordinate geometry.

How the Rise Over Run Calculator Works

The calculator can determine slope from either a known rise and run or from two coordinate points.

For two points:

Point 1 = (x1, y1)
Point 2 = (x2, y2)

The calculator first determines the two changes:

Rise = y2 − y1

Run = x2 − x1

It then divides the rise by the run:

m = Rise ÷ Run

This gives the slope of the line.

Rise Over Run Formula

The main formula is:

m = Rise / Run

For coordinate points, use:

m = (y2 − y1) / (x2 − x1)

The formula can also be rearranged when one of the other values is unknown:

Rise = Slope × Run

Run = Rise ÷ Slope

These relationships make it possible to calculate more than just slope. If you know any two of the three quantities—rise, run, and slope—you can find the missing value.

What Does Rise Mean?

The rise is the vertical change between two locations on a line.

It is calculated by subtracting the first y-coordinate from the second:

Rise = y2 − y1

A positive rise means the line moves upward. A negative rise means the line moves downward.

For example, if a line goes from y = 3 to y = 8:

Rise = 8 − 3 = 5

The line rises 5 units.

If it goes from y = 8 to y = 3:

Rise = 3 − 8 = −5

The negative value indicates that the line falls rather than rises.

What Does Run Mean?

The run is the horizontal change between two points.

It is calculated using:

Run = x2 − x1

A positive run normally represents movement to the right, while a negative run represents movement to the left.

For example, if x changes from 2 to 7:

Run = 7 − 2 = 5

The horizontal distance is 5 units.

How to Calculate Rise Over Run From Two Points

Suppose a line passes through the points:

(2, 3) and (7, 8)

Start by calculating the rise:

Rise = 8 − 3 = 5

Next, calculate the run:

Run = 7 − 2 = 5

Now divide:

Slope = 5 ÷ 5 = 1

Therefore, the rise over run is 5/5, and the slope is 1.

This means the line rises 1 unit for every 1 unit it moves horizontally to the right.

Positive, Negative, Zero, and Undefined Slope

The sign and value of the slope tell you how a line behaves.

Slope Line Direction Meaning
Positive Rises from left to right As x increases, y increases
Negative Falls from left to right As x increases, y decreases
0 Horizontal No vertical change
Undefined Vertical Horizontal run is zero

In coordinate geometry, a vertical line has an undefined slope because its run is zero, and division by zero is not defined. A horizontal line has a slope of zero because its rise is zero.

Rise Over Run Examples

Example 1: Positive Slope

Find the rise over run between (1, 2) and (5, 10).

Rise = 10 − 2 = 8

Run = 5 − 1 = 4

Slope = 8 ÷ 4 = 2

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

Example 2: Negative Slope

Consider the points (2, 9) and (8, 3).

Rise = 3 − 9 = −6

Run = 8 − 2 = 6

Slope = −6 ÷ 6 = −1

The negative slope means the line falls as it moves from left to right.

Example 3: Zero Slope

Suppose the points are (2, 5) and (9, 5).

Rise = 5 − 5 = 0

Run = 9 − 2 = 7

Slope = 0 ÷ 7 = 0

The line is horizontal.

Example 4: Undefined Slope

Suppose the points are (4, 2) and (4, 10).

Rise = 10 − 2 = 8

Run = 4 − 4 = 0

Because the run is zero, the slope is undefined. This represents a vertical line.

Rise Over Run as a Fraction

Slope is often written as a fraction because rise over run naturally forms a ratio.

For example:

Rise = 6
Run = 8

Then:

m = 6/8 = 3/4

The fraction can be simplified without changing the slope.

A slope of 3/4 means the line rises 3 units for every 4 units of horizontal movement.

Rise Over Run and Slope Angle

The slope can also be used to calculate the angle of a line relative to the positive horizontal axis.

The relationship is:

θ = arctan(m)

where θ is the angle and m is the slope.

For example, if the slope is 1:

θ = arctan(1) = 45°

If the slope is 2:

θ = arctan(2) ≈ 63.43°

The angle provides another way to describe steepness, although slope itself is usually the more direct measurement in coordinate geometry.

Rise Over Run and Percent Grade

In practical applications, slope is often expressed as a percentage.

The basic grade formula is:

Percent Grade = (Rise ÷ Run) × 100

For example, if a road rises 2 feet over a horizontal run of 20 feet:

Grade = (2 ÷ 20) × 100 = 10%

So the grade is 10%.

Percent grade is commonly used to describe roads, ramps, trails, drainage slopes, and other surfaces. The important distinction is that grade uses the horizontal run in the denominator rather than the actual diagonal distance.

Rise Over Run vs. Percent Slope

These terms are closely related but use different forms of expression.

Measurement Formula Example
Rise over run Rise ÷ Run 2 ÷ 10 = 0.2
Decimal slope Rise ÷ Run 0.2
Percent grade (Rise ÷ Run) × 100 20%
Angle arctan(slope) ≈ 11.31°

So a slope of 0.2 corresponds to a 20% grade and an angle of approximately 11.31°.

Rise Over Run in Real-World Applications

The rise-over-run concept is not limited to classroom algebra. It provides a simple mathematical way to describe how quickly something rises or falls over a horizontal distance.

Roads and Driveways

Road and driveway slopes can be expressed as a percentage grade. A higher rise relative to the same horizontal run produces a steeper grade.

Ramps

Ramp calculations use vertical rise and horizontal run to describe slope. Accessibility requirements may use additional standards and measurements, so a mathematical slope calculation should not be treated as proof that a particular ramp meets local building or accessibility requirements.

Roof Pitch

Roof pitch is another practical application of rise over run. A roof can be described by how many inches it rises for a specified horizontal run.

Stairs

The relationship between vertical rise and horizontal run can help describe stair steepness. Actual stair construction, however, must follow applicable building codes and design requirements.

Drainage

Drainage pipes and surfaces may be designed with a particular fall over a horizontal distance. The rise-over-run relationship can express that change numerically.

Rise Over Run for Roof Pitch

Roof pitch is commonly expressed as vertical rise over a standard horizontal run. For example, a roof described as 6:12 rises 6 units for every 12 units of horizontal run.

The corresponding slope is:

6 ÷ 12 = 0.5

And the equivalent percentage grade is:

0.5 × 100 = 50%

Roof pitch conventions can vary by industry, so construction calculations should use the convention specified for the project.

How to Find Rise When Slope and Run Are Known

If the slope and run are known, rearrange the main formula:

Rise = Slope × Run

For example, suppose the slope is 0.25 and the horizontal run is 40 feet.

Rise = 0.25 × 40 = 10 feet

The vertical rise is therefore 10 feet.

How to Find Run When Rise and Slope Are Known

Start with:

Slope = Rise ÷ Run

Rearrange it to:

Run = Rise ÷ Slope

For example, if the rise is 6 feet and the slope is 0.5:

Run = 6 ÷ 0.5 = 12 feet

The required horizontal run is 12 feet.

Rise Over Run and the Equation of a Line

Slope is also used to write the equation of a straight line.

The slope-intercept form is:

y = mx + b

Here:

  • m = slope
  • b = y-intercept
  • x = horizontal coordinate
  • y = vertical coordinate

For example, if a line has a slope of 2 and a y-intercept of 3:

y = 2x + 3

Knowing the rise over run therefore helps you move from a graphical description of a line to its mathematical equation.

Common Rise Over Run Mistakes

Reversing Rise and Run

The standard slope relationship is vertical change divided by horizontal change. Putting run in the numerator changes the result.

Correct: Rise ÷ Run

Incorrect: Run ÷ Rise

Changing the Order of Only One Coordinate Difference

If you calculate the rise as y1 − y2, you must also calculate the run as x1 − x2. Changing the order of both keeps the slope the same.

Ignoring Negative Signs

A negative rise indicates downward movement. Removing the negative sign changes a negative slope into a positive one.

Dividing by Zero

If both x-coordinates are identical, the run is zero and the slope is undefined. A vertical line does not have a finite numerical slope.

Confusing Slope With Distance

Slope describes the relationship between vertical and horizontal change. It is not the diagonal distance between the two points.

Rise Over Run Calculator: Quick Reference

Known Values Formula
Rise and run Slope = Rise ÷ Run
Two points m = (y2 − y1) ÷ (x2 − x1)
Slope and run Rise = Slope × Run
Rise and slope Run = Rise ÷ Slope
Slope and angle θ = arctan(m)
Slope and percent grade Grade = Slope × 100%

Frequently Asked Questions

What is the formula for rise over run?

The formula is Slope = Rise ÷ Run. When two points are provided, it becomes m = (y2 − y1) ÷ (x2 − x1).

How do I calculate rise over run from two points?

Subtract the first y-coordinate from the second to find the rise. Then subtract the first x-coordinate from the second to find the run. Divide the rise by the run.

What does a rise over run of 1 mean?

A slope of 1 means the line rises 1 unit for every 1 unit of horizontal movement. It corresponds to a 45° angle for a standard Cartesian coordinate system.

What does a negative rise over run mean?

A negative slope means the line falls as you move from left to right. The y-value decreases as the x-value increases.

What is the rise over run of a horizontal line?

A horizontal line has zero rise, so its slope is 0.

What is the rise over run of a vertical line?

A vertical line has zero run. Because division by zero is undefined, its slope is undefined.

How do I convert rise over run to percent grade?

Divide the rise by the run and multiply by 100. For example, 3 ÷ 20 = 0.15, so the corresponding grade is 15%.

Is rise over run the same as slope?

Yes. Rise over run is the standard definition of slope for a straight line. The rise is the vertical change and the run is the horizontal change.

Can rise over run be greater than 1?

Yes. A slope greater than 1 simply means the line rises more vertically than it moves horizontally. For example, a slope of 2 means a rise of 2 units for every 1 unit of run.

Can the run be negative?

Yes. If the second point lies to the left of the first point, the calculated run can be negative. As long as the coordinate order is handled consistently for both rise and run, the resulting slope is correct.

Final Takeaway

The Rise Over Run Calculator turns a basic slope relationship into a quick calculation. The key idea is simple: rise measures vertical change, run measures horizontal change, and slope is their ratio.

For coordinate points, use:

m = (y2 − y1) ÷ (x2 − x1)

From the resulting slope, you can also determine the line’s direction, angle, and percentage grade. The same concept applies across algebra, coordinate geometry, roof pitch, roads, ramps, stairs, and other situations where steepness needs to be expressed mathematically.

When the run is zero, the line is vertical and the slope is undefined. When the rise is zero, the line is horizontal and the slope is zero. For all other straight-line cases, rise over run provides a straightforward measure of how quickly y changes as x changes.