Gradient Calculator

Calculate slopes, gradients, and ramp angles with precision for construction, accessibility, and mathematical applications

Rise & Run
Two Points
Reverse Calculate

Calculation Results

Visual Representation

What This Means

How to Calculate Gradients

Basic Formula

The gradient (slope) of a line is calculated by dividing the vertical change (rise) by the horizontal change (run):

Gradient = Rise ÷ Run

Different Ways to Express Gradient

Ratio: Expressed as 1:X (e.g., 1:12 means 1 unit rise for every 12 units run)

Percentage: Multiply the decimal gradient by 100 (e.g., 0.083 = 8.3%)

Degrees: Use inverse tangent: angle = arctan(rise/run)

Conversion Formulas

Percentage = (Rise ÷ Run) × 100
Ratio = 1:(Run ÷ Rise)
Degrees = arctan(Rise ÷ Run) × (180 ÷ π)

Common Gradient Applications

Construction and Architecture

Gradients are essential for designing ramps, roads, roofs, and drainage systems. Proper gradient calculation prevents water pooling and provides safe access routes.

Accessibility Ramps

UK Building Regulations (Part M)

  • Maximum 1:12 for ramps up to 2 metres
  • Maximum 1:15 for ramps up to 5 metres
  • Maximum 1:20 for ramps up to 10 metres
  • Minimum width of 1.5 metres for public access
  • Landing areas required at top and bottom

Road Design

Highway gradients typically range from 0.5% to 8%, with steeper grades reserved for mountainous terrain. Urban roads rarely exceed 12% gradient for safety reasons.

Roof Pitches

Roof gradients vary by material: flat roofs (1-3%), tiles (22.5°+), and metal roofing (5-45°). Proper pitch prevents water damage and snow accumulation.

Gradient Conversion Table

Ratio (1:X) Percentage (%) Degrees (°) Common Use
1:100 1.0% 0.6° Drainage, gentle paths
1:50 2.0% 1.1° Car parks, gentle ramps
1:25 4.0% 2.3° Accessible walkways
1:20 5.0% 2.9° Maximum for long ramps
1:15 6.7% 3.8° Medium ramps
1:12 8.3% 4.8° ADA compliant ramps
1:8 12.5% 7.1° Assisted use ramps
1:4 25.0% 14.0° Steep driveways
1:2 50.0% 26.6° Very steep slopes

Practical Examples

Example 1: Wheelchair Ramp Design

For a doorway 600mm above ground level, calculate the minimum ramp length:

Rise = 600mm, Maximum gradient = 1:12
Required run = 600mm × 12 = 7,200mm = 7.2m

Example 2: Driveway Gradient

A driveway rises 2 metres over 20 metres horizontal distance:

Gradient = 2m ÷ 20m = 0.1 = 10%
Ratio = 1:10, Angle = 5.7°

Example 3: Roof Pitch Calculation

A roof rises 3 metres over a 6-metre span:

Gradient = 3m ÷ 6m = 0.5 = 50%
Angle = 26.6°, suitable for most roofing materials

Safety Considerations

Important: Always consult local building codes and regulations before constructing ramps or slopes. Requirements vary by location and intended use.

Ramp Safety Guidelines

  • Install handrails on both sides for ramps over 600mm rise
  • Provide level landings every 10 metres maximum
  • Use slip-resistant surfaces, especially outdoors
  • Include edge protection to prevent wheels slipping off
  • Consider lighting for safe use in all conditions

Weather Considerations

Steeper gradients become significantly more dangerous when wet, icy, or covered with leaves. Consider seasonal conditions when designing outdoor slopes and ramps.

Frequently Asked Questions

What’s the difference between gradient, slope, and pitch?
These terms are often used interchangeably, but technically: gradient typically refers to the rate of change, slope is the angle or steepness, and pitch specifically refers to roof angles. All can be expressed as ratios, percentages, or degrees.
How steep can a ramp be for wheelchair access?
In the UK, wheelchair ramps must not exceed 1:12 gradient for independent use. For shorter distances (under 2m), this may be acceptable, but longer ramps require gentler gradients: 1:15 for 5m ramps and 1:20 for 10m ramps.
Why are gradients important in construction?
Proper gradients prevent water accumulation, provide safe access routes, comply with building regulations, and maintain structural integrity. Incorrect gradients can lead to drainage problems, accessibility issues, and safety hazards.
How do I measure gradient on existing slopes?
Use a spirit level and measuring tape. Place the level horizontally at the top of the slope, measure the vertical drop to the ground, then measure the horizontal distance. Divide vertical by horizontal for the gradient.
What gradient is needed for proper drainage?
Minimum 1:100 (1%) for effective drainage. Flat surfaces should have at least 1:80 gradient to prevent standing water. Gutters and channels typically require 1:60 to 1:40 gradient for proper flow.
Can gradients be expressed as negative values?
Yes, negative gradients indicate downward slopes. In coordinate geometry, a line falling from left to right has a negative gradient. For construction purposes, gradients are often expressed as positive values with direction specified separately.
Scroll to Top