Gradient calculations might be the most practically important piece of applied mathematics in construction — and one of the most likely to be done wrong. Get the drainage gradient too shallow and water pools, leading to damp, flooding, or standing water that breeds mosquitoes and damages materials. Get the roof pitch wrong and tiles become unstable, rainwater backs up under overlaps, or the structural design is compromised. Understanding how to calculate, express, and convert gradients between different formats is a genuine professional skill for anyone involved in construction, drainage, or civil engineering.
What Is Gradient?
Gradient is the ratio of vertical rise (or fall) to horizontal distance. It expresses how steeply a surface slopes. The same gradient can be expressed in four equivalent formats:
- Ratio: 1:40 (rise of 1 for every 40 of horizontal run)
- Percentage: 2.5% (rise of 2.5cm per 100cm of run)
- Decimal: 0.025 (same as 2.5%, expressed as a decimal)
- Angle: 1.43° (arctangent of 0.025)
All four describe the same slope. Different industries use different formats: drainage engineers work in ratios (1:40, 1:80), roofing specifies pitch in degrees or as a ratio of rise to half-span, road design uses percentages, and structural engineers often use both ratios and degrees. Fluency in converting between them prevents costly misunderstandings when working across disciplines.
Drainage Gradients: The Critical Numbers
Surface water drainage — gutters, downpipes, drainage channels, underground pipes — requires enough gradient to move water without being so steep that it creates erosion or structural problems. British Standard BS EN 752 and the Building Regulations Approved Document H provide the authoritative requirements for drainage gradients in the UK.
For standard 100mm soil pipes (foul drainage), the recommended gradient is 1:40 (2.5%) for a single connection, reducing to a minimum of 1:80 (1.25%) for longer runs. Below 1:80, water may not carry solids effectively and blockages become more likely. Above 1:40 in some configurations, flow velocity can separate liquid from solids — also leading to blockages, ironically.
For a 10-metre run of soil pipe at 1:40 gradient, the invert level (bottom of pipe) at the far end should be 10 ÷ 40 = 0.25m (25cm) lower than at the inlet. If the pipe starts at 0.80m below finished floor level, it should reach 1.05m below finished floor level at the end of the 10m run. This calculation determines trench depth and is critical for avoiding expensive re-excavation after installation.
Roof Pitch: Definitions and Formats
Roof pitch describes the steepness of a roof slope and directly affects tile selection, structural loading, drainage performance, and usable loft space. In the UK, roof pitch is most commonly expressed in degrees, though older drawings may use the X-in-12 format inherited from imperial construction practice.
Common residential pitches in the UK:
- 17.5° — Minimum pitch for most interlocking concrete tiles
- 22.5° — Common for low-pitch roofs, minimum for some plain tiles
- 30° — Standard residential roof, works with most tile types
- 35–45° — Steeper traditional pitches, often on period properties
Use our roofing calculator to determine the actual rafter length, roof area, and material quantities for any pitch angle and building footprint. The pitch factor — used to convert horizontal plan area to actual roof area — is 1 ÷ cos(pitch angle). At 30°, the pitch factor is 1 ÷ cos(30°) = 1 ÷ 0.866 = 1.155. A house with a 60m² floor plan under a 30° pitched roof has a total roof area of 60 × 1.155 = 69.3m².
Calculating Rafter Length from Pitch
For a gable roof, the rafter length (from ridge to eaves, ignoring overhang) is calculated as: half the span ÷ cos(pitch angle). For a 7-metre wide house at 30° pitch: half-span = 3.5m, rafter = 3.5 ÷ cos(30°) = 3.5 ÷ 0.866 = 4.04m. Adding a 300mm eaves overhang: total rafter length = 4.34m per rafter.
The ridge height above the wall plate for the same building: half-span × tan(pitch angle) = 3.5 × tan(30°) = 3.5 × 0.577 = 2.02m. These two calculations — rafter length and ridge height — determine the structural design of the roof and the specification for all timber and tile quantities. Use our slope calculator to convert between angle, gradient percentage, and rise-over-run for any slope or pitch specification.
Converting Between Gradient Formats
The conversion formulas are straightforward once you understand that gradient = rise ÷ run = tan(angle):
- Ratio (1:n) to percentage: (1 ÷ n) × 100. A 1:40 gradient is 2.5%.
- Percentage to ratio: 1:(100 ÷ percentage). A 5% gradient is 1:20.
- Percentage to degrees: arctan(percentage ÷ 100). A 10% gradient is arctan(0.10) = 5.71°.
- Degrees to percentage: tan(degrees) × 100. A 30° pitch is tan(30°) × 100 = 57.7%.
Flat Roofs: The Minimum Fall Rule
No roof is truly flat — all "flat" roofs must have some fall to drain rainwater. UK Building Regulations and British Standards require a minimum fall of 1:80 for most flat roof coverings, with 1:40 recommended as a more practical design target to allow for deflection under load.
For a flat roof covering a 6×8m extension, at a 1:40 gradient across the 6m dimension: total fall = 6 ÷ 40 = 0.15m (150mm) from high to low edge. This fall must be incorporated into the structural design, either through tapered insulation (more common in modern construction) or structural falls built into the joists or deck.
The NHBC Standards provide detailed guidance on roof pitch and drainage requirements for new-build construction, including the minimum pitch specifications for each common tile and membrane type.
