Gradient Calculator
Calculate slopes, gradients, and ramp angles with precision for construction, accessibility, and mathematical applications
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):
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
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:
Required run = 600mm × 12 = 7,200mm = 7.2m
Example 2: Driveway Gradient
A driveway rises 2 metres over 20 metres horizontal distance:
Ratio = 1:10, Angle = 5.7°
Example 3: Roof Pitch Calculation
A roof rises 3 metres over a 6-metre span:
Angle = 26.6°, suitable for most roofing materials
Safety Considerations
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.
