Rise Over Run
Calculator
Calculate slope, grade percentage, angle of inclination, and hypotenuse from rise and run — with an interactive slope diagram, roof pitch notation, stair compliance check, and ADA ramp verification.
Rise Over Run Calculator: Calculate Slope, Grade, and Pitch Instantly
Rise over run is the fundamental way to express slope — the ratio of vertical change (rise) to horizontal change (run). Whether you’re calculating a roof pitch for a building plan, verifying stair code compliance, designing an ADA-compliant ramp, grading a road, or solving a math problem, the rise-over-run ratio is the starting point. This calculator converts any rise and run values into four equivalent slope expressions: the rise/run ratio (e.g., 5/12), the decimal slope (0.4167), the grade percentage (41.67%), and the angle of inclination (22.6°) — plus the hypotenuse length, roof pitch notation, stair compliance status, and ADA ramp verification.
📐 The formulas:
Slope (m) = Rise ÷ Run
Grade % = Slope × 100
Angle (θ) = arctan(Rise ÷ Run)
Hypotenuse = √(Rise² + Run²)
Example: Rise 5, Run 12 → slope 0.4167 → 41.67% grade → 22.6° angle → hypotenuse 13.0
Common Rise/Run Values Reference
| Application | Rise/Run | Grade % | Angle |
|---|---|---|---|
| 🅿️ Parking lot drainage | 1/100 | 1% | 0.6° |
| ♿ ADA ramp (max) | 1/12 | 8.3% | 4.8° |
| 🚗 Steep driveway | 1/4 | 25% | 14.0° |
| 🏠 Low-slope roof (3:12) | 3/12 | 25% | 14.0° |
| 🏠 Standard roof (5:12) | 5/12 | 41.7% | 22.6° |
| 🏠 Steep roof (8:12) | 8/12 | 66.7% | 33.7° |
| 🪜 Standard staircase | 7/10.5 | 66.7% | 33.7° |
| 📐 45-degree slope | 1/1 | 100% | 45.0° |
Four Ways to Express Slope
Rise/Run ratio
The most intuitive form: “5 units up for every 12 units across.” Used in roofing (5:12 pitch), construction, and everyday communication. The calculator shows this as the primary output.
Decimal slope (m)
Rise ÷ Run as a decimal: 5/12 = 0.4167. Used in mathematics (slope of a line, y = mx + b), engineering calculations, and computer modeling where a single number is needed.
Grade percentage
Slope × 100: 0.4167 × 100 = 41.67%. Used for road grades, survey grades, and drainage specifications. A 6% road grade rises 6 feet per 100 feet of horizontal distance.
Angle (degrees)
arctan(Rise/Run): arctan(0.4167) = 22.6°. The actual geometric angle measured from horizontal. Used in engineering, trigonometry, and when setting tools like miter saws and protractors.
Roof Pitch: The Most Common Application
Roof pitch is expressed as rise per 12 inches of run — a convention specific to the construction industry. A “5:12 pitch” means the roof rises 5 inches for every 12 inches of horizontal run. This notation instantly communicates the roof’s steepness to any builder, roofer, or architect. The calculator converts any rise/run combination to the equivalent roof pitch notation (normalized to a run of 12).
Roof pitch categories: Flat roofs (0:12 to 2:12, 0°–9.5°) — require membrane or built-up roofing, prone to ponding. Low-slope roofs (3:12 to 4:12, 14°–18.4°) — minimum for standard asphalt shingles. Standard roofs (5:12 to 7:12, 22.6°–30.3°) — the most common residential range, balancing water drainage with material cost. Steep roofs (8:12 to 12:12, 33.7°–45°) — excellent drainage and weather shedding, but higher material and labour costs. Very steep roofs (>12:12, >45°) — dramatic architectural statements requiring specialized installation techniques.
Stair Design and Code Compliance
Building codes regulate stair geometry through rise (the height of each step) and run (the depth of each tread). The International Residential Code (IRC) specifies: maximum riser height 7.75 inches (196mm), minimum tread depth 10 inches (254mm). This produces a rise/run ratio of approximately 7.75/10 = 0.775 (37.8° angle). The comfortable range for residential stairs is 30°–37° (rise/run ratios of 0.577–0.753). The calculator’s “Stair check” indicator flags whether your rise/run values fall within this code-compliant range.
The 7-11 rule is a common carpenter’s guideline: ideal stairs have a 7-inch rise and 11-inch run (7/11 = 0.636, 32.5° angle). Another rule: rise + run should equal 17–18 inches (e.g., 7″ + 11″ = 18″). These empirical rules produce stairs that feel natural and safe — not too steep (which is tiring and dangerous) and not too shallow (which wastes floor space and feels awkward).
ADA Ramp Requirements
The Americans with Disabilities Act (ADA) specifies a maximum ramp slope of 1:12 (8.33% grade, 4.76° angle) — meaning 1 inch of rise for every 12 inches of run. For a 30-inch elevation change (e.g., 2.5 steps), the required ramp length is 30 × 12 = 360 inches = 30 feet. The calculator’s “Ramp (ADA)” indicator verifies whether your rise/run produces a slope at or below the 1:12 maximum. Slopes steeper than 1:12 are non-compliant for public accessibility.
Road and Highway Grades
Road grades are expressed as percentage: a 6% grade rises 6 feet per 100 feet of horizontal distance (rise/run = 6/100 = 0.06). Most highways have maximum grades of 6–8% (3.4°–4.6°), while mountain roads may reach 10–15% (5.7°–8.5°). Interstate highway standards limit grades to 3–6% depending on design speed and terrain. The preset “2% Road” represents a typical residential street crown slope (for drainage). Truck drivers monitor grade percentages closely because steep downgrades require engine braking to prevent brake fade.
The Slope Diagram
The calculator renders an SVG right-triangle diagram with the rise (green, vertical), run (blue, horizontal), and hypotenuse/slope line (red, diagonal) drawn to scale on a blueprint grid. A yellow arc shows the angle of inclination at the base, and a right-angle marker confirms the 90° corner. Dimension labels display the exact rise, run, and hypotenuse values, and the angle appears alongside the arc. The triangle updates in real time as you change the rise or run values, providing immediate visual confirmation of the slope steepness.
Relationship Between Grade, Angle, and Ratio
The three slope expressions (ratio, percentage, angle) are mathematically related but not linearly proportional. A 100% grade is NOT 90° — it’s 45° (rise = run, the slope makes a 45° angle with horizontal). A 200% grade is 63.4°. An infinitely steep (vertical) surface would be an infinite percentage grade at 90°. This non-linear relationship between percentage and angle is the most common source of confusion: people expect 50% grade to be “half of vertical” (45°), but it’s actually only 26.6°. The calculator displays all three simultaneously, demonstrating their correct relationship.
Surveying and Land Grading
Surveyors use rise-over-run calculations to determine terrain slope, drainage patterns, and cut/fill volumes for site grading. A surveyor measuring between two elevation points — say, elevation 102.5 ft at station 0+00 and elevation 105.8 ft at station 1+50 — calculates: rise = 105.8 − 102.5 = 3.3 ft, run = 150 ft, slope = 3.3/150 = 0.022 = 2.2% grade. This 2.2% slope determines whether water drains adequately (minimum 1–2% recommended), whether the grade meets design specifications, and whether additional cut or fill earthwork is needed.
Mathematics: Slope of a Line
In algebra and coordinate geometry, rise over run defines the slope (m) of a straight line on a graph. Given two points (x₁, y₁) and (x₂, y₂), the slope is m = (y₂ − y₁) / (x₂ − x₁) — literally the rise (vertical change) divided by the run (horizontal change). A positive slope means the line goes up from left to right; negative means down. Zero slope is horizontal; undefined slope (division by zero) is vertical. The calculator handles the mathematical definition directly: enter rise and run, get slope (m), which plugs directly into the equation y = mx + b.
Drainage and Plumbing Slopes
Plumbing drain pipes require a minimum slope to ensure waste flows by gravity. Residential plumbing codes typically require 1/4 inch per foot for pipes 3 inches and smaller (2.08% grade, 1.19° angle) and 1/8 inch per foot for 4-inch and larger pipes (1.04% grade, 0.60° angle). The calculator verifies these specifications: enter rise = 0.25, run = 12 (inches per foot) to confirm the slope of 0.0208 (2.08%). Too little slope causes slow drainage and clogs; too much slope causes the liquid to outrun the solids, also causing clogs.
Landscaping and Grading
Landscape grading around buildings requires a minimum 5% slope away from the foundation for the first 10 feet — ensuring rainwater drains away from the building rather than pooling against the foundation wall. This translates to a minimum 6-inch drop over 10 feet of horizontal distance (rise/run = 6/120 = 0.05 = 5%). The calculator converts between the percentage specification (which codes use) and the actual rise measurement (which builders implement): for a 10-foot run at 5% grade, the rise = 10 ft × 0.05 = 0.5 ft = 6 inches.
Common Slope Calculation Mistakes
- Confusing grade percentage with angle. A 100% grade is 45°, not 90°. A 50% grade is 26.6°, not 45°. The relationship is non-linear (arctangent function).
- Reversing rise and run. Rise is ALWAYS the vertical dimension; run is ALWAYS the horizontal. Swapping them inverts the slope (5/12 becomes 12/5 — a dramatically different pitch).
- Using slope length instead of run. Run is the horizontal distance, NOT the distance along the slope (which is the hypotenuse). Using slope length instead of horizontal run underestimates the actual steepness.
- Forgetting units consistency. Rise in inches and run in feet produces an incorrect ratio. Both must be in the same unit before dividing.
Related Engineering Calculators
Frequently Asked Questions
Pythagorean Theorem and the Hypotenuse
The rise, run, and slope line form a right triangle. The Pythagorean theorem (a² + b² = c²) calculates the hypotenuse — the actual distance along the slope surface. For a rise of 5 and run of 12: hypotenuse = √(5² + 12²) = √(25 + 144) = √169 = 13. This hypotenuse length has practical significance: it’s the actual length of rafter needed for a roof (not the horizontal span), the actual distance traveled on a slope (not the map distance), and the actual length of a stair stringer (not the floor-to-floor height or horizontal projection).
The calculator displays the hypotenuse automatically for every rise/run combination. This value is essential for material estimation: a roofer cutting rafters for a 5:12 pitch roof spanning 24 feet horizontally needs rafters of √(10² + 24²) = √(100 + 576) = √676 = 26 feet long (where rise = 10 feet for the full half-span at 5:12 pitch). Ordering 24-foot rafters based on the horizontal span alone would leave every rafter 2 feet too short.
Slope in Different Professions
Different professions use rise-over-run but with different terminology and conventions. Roofers use pitch notation (rise per 12 inches of run): “6:12 pitch.” Road engineers use grade percentage: “8% grade.” Surveyors use both grade percentage and slope ratio: “1:50 slope” or “2% grade.” Mathematicians use the decimal slope (m) in the equation y = mx + b. Plumbers use inches per foot: “1/4 inch per foot.” Pilots use glide slope angles in degrees: “3° approach.” All of these are the same physical measurement expressed in different formats — the calculator converts between all of them simultaneously.
Mountain and Trail Grade
Hiking trails and mountain roads are graded by percentage, which determines difficulty and accessibility. Easy trails: 0–5% grade (flat to gently rolling, wheelchair accessible in many cases). Moderate trails: 5–12% grade (noticeable incline, sustained hiking effort). Strenuous trails: 12–25% grade (steep, requiring fitness and proper footwear). Extreme trails/scrambles: 25–50% (very steep, may require hands). Rock climbing: >100% (past vertical, overhanging). Mountain roads typically max at 10–15% grade for public highways, though some mountain passes reach 18–20%. The calculator converts any trail or road grade measurement into the angle and ratio that help hikers, cyclists, and drivers assess the challenge.
Solar Panel Tilt Angle
Solar panel installation requires a specific tilt angle that maximises energy capture based on latitude. The optimal tilt angle approximately equals the site’s latitude: 30° tilt for 30° latitude, 45° tilt for 45° latitude. The calculator converts this target angle to a rise/run ratio for the mounting structure: a 30° tilt requires a rise/run of tan(30°) = 0.577 = approximately 7:12. A 45° tilt requires 1:1 (12:12). Solar installers use rise/run ratios to build racking systems on flat roofs or ground mounts, calculating the exact rise needed for a given horizontal mount span.
For roof-mounted solar panels, the existing roof pitch determines the panel tilt. A 5:12 pitch (22.6°) is close to optimal for locations at approximately 23° latitude (southern Florida, Hawaii). A 8:12 pitch (33.7°) works well for locations at 34° latitude (Los Angeles, Atlanta). The calculator helps solar designers assess whether a roof’s existing pitch is close enough to optimal or whether adjustable tilt mounts are needed to improve the angle.
Wheelchair Ramp Design
Beyond the ADA maximum of 1:12 slope, wheelchair ramp design involves several rise-over-run considerations. Landing requirements: ramps must have level landings at the top and bottom (60 inches minimum length) and at every 30-inch rise interval. For a 36-inch total rise at 1:12 slope: ramp length = 36 × 12 = 432 inches = 36 feet, with one intermediate landing (at the 30-inch mark). Cross-slope: ramp surfaces must have a maximum cross-slope (side-to-side) of 1:48 (2.08%) to prevent wheelchair drift. Outdoor ramps: some codes allow 1:8 slope for existing buildings where space constraints prevent 1:12 — the calculator instantly shows that 1:8 = 12.5% grade = 7.1° angle, allowing the designer to verify compliance.
Erosion and Slope Stability
Soil erosion rate increases dramatically with slope steepness. The Universal Soil Loss Equation (USLE), used by agricultural engineers and environmental planners, includes slope percentage as a primary factor. A 2% slope produces minimal erosion risk for most soil types. A 10% slope requires erosion control measures (vegetation, terracing, retaining walls). A 25%+ slope presents significant stability challenges and may require geotechnical engineering (retaining walls, soil nails, drainage systems) to prevent landslides. The calculator converts between the percentage grades that erosion models use and the ratio/angle formats that construction designers work with.
Conveyor Belt and Material Handling
Industrial conveyor belts have maximum slope angles that depend on the material being transported. Flat belt conveyors typically operate at 0–18° maximum (0–32% grade). Cleated belt conveyors can handle 25–45° (47–100% grade). Bucket elevators handle vertical (90°) transport. A logistics engineer designing a conveyor to move boxes from a ground-level loading dock to a 6-foot-elevated packaging area over a 20-foot horizontal run calculates: rise/run = 6/20 = 0.30 = 16.7° angle. This falls within flat-belt capacity (< 18°), so no cleats are needed. The calculator provides the angle that determines conveyor type selection.
Skiing and Snowsport Grades
Ski slopes are graded by steepness, with the grade directly determining difficulty classification. Green (beginner): 6–25% grade (3.4°–14°). Blue (intermediate): 25–40% grade (14°–21.8°). Black (advanced): 40–100% grade (21.8°–45°). Double black (expert): >100% grade (>45°). A mountain resort measuring a run with 400 meters of vertical drop over 1,200 meters of horizontal distance calculates: grade = 400/1200 × 100 = 33.3% — a solid blue/intermediate run. The calculator converts this to 18.4° angle, which helps ski resort designers set snow grooming specifications and snowmaking coverage plans.
Pipe and Conduit Installation
Underground pipes (sewer, storm drain, electrical conduit) are installed at specified slopes that ensure proper flow (gravity sewers) or adequate cover depth (conduit). Sewer mains: minimum 1% grade for 8-inch pipes, 0.5% for 12-inch pipes (larger pipes need less slope because gravity acts on a larger cross-section). Storm drains: typically 0.5–2% grade depending on pipe size and expected flow volume. Foundation drains: minimum 1% grade toward the sump or discharge point. The calculator converts these percentage specifications to rise/run ratios: a 200-foot sewer run at 1% grade needs a total drop of 200 × 0.01 = 2 feet from inlet to outlet.
Bicycle and Cycling Grade
Cyclists are intensely aware of road grades because gradient directly determines power output requirement. Flat: 0–2% — comfortable sustained cycling at any fitness level. False flat: 2–4% — feels flat but measurably increases effort by 20–40%. Moderate climb: 4–6% — requires sustained effort, most recreational cyclists slow significantly. Steep climb: 6–10% — challenging, requires low gears, speed drops to 8–15 km/h for most riders. Very steep: 10–15% — only manageable by fit cyclists, requires very low gearing. Extreme: 15%+ — approaching the limits of practical cycling, famous mountain stages in professional races. The calculator helps cyclists interpret road grade signs and plan routes by converting percentage to the ratio and angle they can visualize.
Earthwork and Excavation Slopes
Excavation safety regulations (OSHA in the US) specify maximum trench wall slopes based on soil type to prevent cave-ins. Type A soil (stable rock, cemented clays): maximum slope 3/4:1 (0.75:1 horizontal to vertical, 53° angle). Type B soil (crusite gravel, silt): maximum slope 1:1 (45° angle, 100% grade). Type C soil (sand, gravel, submerged soil): maximum slope 1.5:1 (34° angle, 67% grade). These slope specifications are life-safety requirements — exceeding them risks trench collapse that kills workers. The calculator converts OSHA’s horizontal-to-vertical ratio into the rise/run, grade percentage, and angle formats that field supervisors and safety inspectors use. Note that OSHA ratios are expressed as run:rise (horizontal:vertical), the inverse of the calculator’s rise:run — a 1.5:1 OSHA slope means run of 1.5 for every 1 of rise, which is rise/run = 1/1.5 = 0.667 = 33.7°.
Photography and Camera Angles
Photographers and cinematographers use angle calculations for camera positioning, especially for architectural photography, drone operations, and time-lapse setups. A photographer shooting a building from 50 meters away with the camera aimed at a window 20 meters above ground level needs a camera tilt angle of arctan(20/50) = 21.8° above horizontal. A drone pilot capturing an overhead perspective from 100 meters altitude at 200 meters horizontal distance calculates the camera gimbal angle as arctan(100/200) = 26.6° below horizontal. The calculator converts these distance-based scenarios (rise = vertical distance to subject, run = horizontal distance to subject) into the camera angle needed for the shot.
Roof Material Selection by Pitch
Roof pitch directly determines which roofing materials are appropriate — choosing the wrong material for the pitch risks leaks, premature failure, and code violations. Flat to 2:12 pitch (0–9.5°): requires built-up roofing (BUR), single-ply membrane (TPO, EPDM), or modified bitumen — water sits on these roofs, so waterproof membranes are essential. 2:12 to 4:12 pitch (9.5–18.4°): some asphalt shingles are rated for this range with additional underlayment and sealant, but membrane roofing is still preferred. 4:12 to 12:12 pitch (18.4–45°): standard asphalt shingles, wood shakes, metal roofing, tile, and slate are all appropriate. Above 12:12 (>45°): specialty installation methods required for any material — fasteners must be reinforced against gravity pulling materials downslope. The calculator’s roof pitch output instantly classifies the pitch into these material-compatibility ranges, helping homeowners and builders select appropriate roofing materials before purchasing.
Teaching Rise Over Run in the Classroom
Rise over run is one of the first mathematical concepts that bridges abstract algebra with real-world application. Students who struggle with “the slope of a line” in y = mx + b often grasp “how steep is this hill” immediately. The calculator supports classroom instruction by providing the visual slope diagram that makes the abstract concept concrete — students enter rise and run values and watch the right triangle change shape in real time, developing intuition for how the numbers relate to physical steepness. The simultaneous display of ratio, decimal, percentage, and angle reinforces that all four are different expressions of the same quantity, preventing the common student confusion of treating them as separate concepts.
Calculate your slope now
Rise/run, grade %, angle, hypotenuse, roof pitch, stair check, ADA compliance — enter rise and run for instant results.
Calculate slope ↑