Rise Over Run Calculator
Calculate slope, rise, run, and angle degrees.
Whether you are plotting points on a graph for an algebra assignment, designing a staircase, or laying a drainage pipe, understanding the relationship between vertical and horizontal changes is essential. This relationship is commonly known as rise over run.
In simple terms, “rise” is how much a line goes up or down, and “run” is how far it moves left or right. When you divide the rise by the run, you get the slope.
The Core Formulas
1. The Standard Slope Formula
If you know the starting and ending coordinates of a line—Point 1 (x_1, y_1) and Point 2 (x_2, y_2) you calculate the difference in the vertical values (the rise) and divide it by the difference in the horizontal values (the run).
2. Calculating Slope Percentage (Grade)
In construction, road building, and landscaping, slope is rarely discussed in raw decimals. Instead, it is expressed as a percentage grade. To find this, you simply multiply your decimal slope by 100.
3. Converting Rise and Run to an Angle (Degrees)
Sometimes you need to know the actual physical angle of the incline. To convert the ratio of rise and run into a measurable angle (θ), we use trigonometry specifically, the inverse tangent function (arctan).
How to Use This Calculator
Mode 1: The “Slope” Tab
Use this setting when you already know your physical measurements. For example, if you know a roof rises 4 feet for every 12 feet of horizontal distance, simply enter 4 in the Rise field and 12 in the Run field. The calculator will immediately format this as a simplified fraction (1/3), a decimal (0.33333), an angle (18.43°), and a grade (33.33%).
Mode 2: The “Points” Tab
Use this setting if you are working on a coordinate plane. If you have a line segment that starts at point (2, 3) and ends at point (6, 11), enter those coordinates into the x and y fields. The tool will calculate the exact vertical and horizontal changes for you before delivering the final slope.
Application
- Carpentry and Roofing: Roof pitch is traditionally expressed as a fraction over 12 (e.g., a “6/12 pitch” means the roof rises 6 inches for every 12 inches of horizontal run). Knowing the exact pitch is required for cutting rafters accurately.
- Civil Engineering and Roads: Road signs warning of a “Steep Grade” refer to the percentage slope. An 8% grade means the road elevation drops or climbs 8 units for every 100 units of forward travel.
- Plumbing and Drainage: Pipes must be laid on a specific downward slope to ensure water flows properly using gravity. A standard minimum requirement is often a 1/4-inch drop per foot of pipe length.
- Accessibility: ADA-compliant wheelchair ramps have strict guidelines, generally requiring a slope no steeper than 1:12 (an 8.33% grade or 4.8 degrees).
FAQs
Q1. What happens if the “run” is zero?
A: If there is no horizontal movement (the run is 0), you are dealing with a perfectly vertical line. In mathematics, dividing by zero is impossible, meaning the slope is undefined. Our calculator will catch this and display a clear error message.
Q2. Is a 100% grade the same as a 90-degree straight wall?
A: No, this is a very common misconception. A 100% grade means the rise and the run are exactly the same (for example, rising 10 feet over a 10-foot distance). If you plug 10 for rise and 10 for run into our calculator, you will see it forms a 45° angle, not a 90° angle. A true perfectly vertical 90° wall has an infinite percentage grade.
Q3. Can a slope be negative?
A: Yes. A negative slope simply means the line is going downhill as it moves from left to right. If your y_2 coordinate is lower than your y_1 coordinate, your rise will be a negative number, resulting in a downward (negative) slope.