Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Hobby & DIY
  3. /General DIY & Workshop Utilities
  4. /Slope Calculator

Slope Calculator

Calculator

Results

Enter values to see results

Slope Ratio (rise:run)

—

:1

Slope (% grade)

—

%

Slope Angle

—

°

Rise per 12 inches of Run

—

in/ft

Slope Distance (hypotenuse)

—

same unit

Results

Enter values to see results

Slope Ratio (rise:run)

—

:1

Slope (% grade)

—

%

Slope Angle

—

°

Rise per 12 inches of Run

—

in/ft

Slope Distance (hypotenuse)

—

same unit

The Slope Calculator is an indispensable tool for any project involving inclines, grades, drainage, ramps, driveways, roofing, stairs, or landscaping. Slope — also called grade, pitch, or gradient — describes how much a surface rises or falls relative to its horizontal distance. Whether you're ensuring proper drainage away from a foundation, designing an ADA-compliant ramp, grading a driveway, or setting the pitch of a shed roof, understanding slope is essential for both functionality and safety.

Slope can be expressed in several equivalent ways, and different industries use different conventions. Plumbers and drainage engineers use percent grade: a 2% slope means the surface drops 2 inches for every 100 inches of horizontal run. Roofers use pitch notation: a 6/12 pitch means the roof rises 6 inches per 12 inches of horizontal run. Surveyors and civil engineers express slope as a ratio (e.g., 1:50) or as a degree angle. This calculator handles all three input formats and converts between them automatically.

Drainage is one of the most critical slope applications in residential construction. The International Building Code (IBC) requires a minimum 2% slope (¼ inch per foot) for finished grade sloping away from building foundations. Drain pipes require a minimum ¼ inch per foot (2%) slope to allow gravity flow. Concrete driveways should slope at least 1–2% for runoff. Getting these slopes wrong causes water to pool against foundations, which leads to moisture intrusion, structural damage, and mold — costly problems that proper slope planning prevents.

For accessibility, ADA standards specify that ramps for wheelchair use must not exceed an 8.33% slope (1:12 ratio, or 4.76°). Knowing how to translate between percent grade, ratio, and degrees is essential for compliance. Stair design involves similar considerations: building codes typically require that the angle of stairway slope fall between 30° and 45° (58–100% grade), with riser-to-tread ratios carefully balanced for safe, comfortable climbing.

The slope distance output gives the actual length of the sloped surface (the hypotenuse of the rise-run right triangle), which is what you measure with a tape along the slope itself. This is particularly useful for calculating how much material is needed to cover a sloped surface — siding on a sloped wall, roofing on a pitched surface, or turf on a sloped embankment.

Use this calculator to convert freely between any slope notation so your project measurements, tool settings, and code compliance checks always use the same language as your plans and specifications.

How It Works

In Rise/Run mode: ratio = rise ÷ run, percent = ratio × 100, angle = arctan(ratio) × 180/π, rise per foot = ratio × 12, slope distance = √(rise² + run²). In Angle mode: ratio = tan(angle_degrees × π/180). In Percent Grade mode: ratio = percent ÷ 100. All modes output the same five slope descriptors.

Understanding Your Results

Key slope benchmarks: 0.25% (min drain pipe), 1–2% (site drainage from foundation), 8.33% (max ADA ramp), 16.7% (1:6 ratio, max residential driveway in many codes), 33.3% (4/12 roof pitch), 50% (6/12 roof pitch, 26.57°), 100% (45°, equal rise and run). Slopes above 100% (over 45°) are steeper than a 45° angle.

Worked Examples

ADA Ramp Compliance Check

Inputs

calc moderise_run
rise1
run12
angle input10
percent input10

Results

slope ratio0.0833
slope percent8.33
slope angle4.7636
slope per foot1
distance12.0416

Rise 1 ft over run 12 ft gives an 8.33% grade (1:12) — exactly at the ADA maximum. The ramp surface is 12.04 ft long.

Driveway Drainage Grade

Inputs

calc modepercent
rise1
run12
angle input10
percent input2

Results

slope ratio0.02
slope percent2
slope angle1.1459
slope per foot0.24
distance1.0002

A 2% drainage grade equals ¼ inch drop per foot of run (0.24 in/ft). This is the minimum recommended slope for concrete flatwork drainage.

Frequently Asked Questions

The minimum slope for effective surface drainage is 1–2% (⅛ to ¼ inch per foot). The International Residential Code requires finished grade to slope away from foundation walls at a minimum of 6 inches over the first 10 feet (5%). Drain pipes require at least ¼ inch per foot (2%) for gravity flow of liquid waste.

Most local building codes limit residential driveways to a maximum of 12–15% grade (about 7–8.5°). Steeper grades can cause vehicles to bottom out on transitions, create dangerous icy conditions in winter, and make backing out difficult. ADA guidelines for accessible parking and paths require ≤ 8.33%.

A slope ratio is expressed as rise:run, usually simplified to X:1 (rise per unit of run). A 5% slope is a 0.05:1 ratio or equivalently 1:20 (1 unit rise per 20 units run). Roofing uses a slightly different convention — the run is always expressed as 12 inches (one foot), so a '6/12 pitch' means 6 inches of rise per 12 inches of run.

Minimum roof slope depends on roofing material. Asphalt shingles require at least 2/12 pitch (16.7% grade). Metal roofing can go as low as ¼/12 (2%). Flat roofs must have at least ¼ inch per foot (2%) to drain. Steeper slopes shed snow and water better but cost more material and labor to install.

Percent grade is rise divided by run, multiplied by 100. A 100% grade means the slope rises 1 unit for every 1 unit of horizontal distance — a 45° angle. A 200% grade would be a 63.43° angle. Grades above 100% are rare in construction but can occur in steep stair risers or cuts.

Run is the horizontal (plan view) distance. Slope distance (hypotenuse) is the actual measured distance along the sloped surface. They differ by the Pythagorean relationship: slope distance = √(rise² + run²). For a 5% grade over 100 ft of run, the actual surface distance is 100.12 ft — virtually the same. At 45° (100% grade), the slope distance is 41% longer than the run.

Set the laser to the desired angle in degrees using your angle output. For example, a 2% drain pipe slope = 1.15° — set the self-leveling laser's slope mode to 1.15°. Most rotary laser levels specify tilt in percent grade or degrees. Use the calculator to convert between whatever your laser's control interface expects and the physical slope you need.

Sources & Methodology

ADA ramp slope requirements: ADA Standards for Accessible Design §405.2. Drainage slope minimums: International Residential Code (IRC) R401.3. Roof pitch minimums by material: Asphalt Roofing Manufacturers Association (ARMA) technical bulletin. Driveway grade recommendations: Institute of Transportation Engineers (ITE) guidelines.
R

Roboculator Team

The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.

How helpful was this calculator?

Be the first to rate!

Related Calculators

DIY Tools Calculator

General DIY & Workshop Utilities

Square Footage Calculator

General DIY & Workshop Utilities

Volume Calculator (DIY)

General DIY & Workshop Utilities

Pythagorean Theorem Calculator

General DIY & Workshop Utilities

Fraction Calculator (Construction)

General DIY & Workshop Utilities

Measurement Converter (DIY)

General DIY & Workshop Utilities