BuildMetricLab

Drainage & Earthworks

Pipe Slope Calculator

Pipe fall from run length and gradient, in 1 in X, percent, in/ft or mm/m

Updated October 1, 2026 · Live

What this tool does

Works out the fall a drain or sewer pipe needs over its run from the gradient, entered as 1 in X, percent, inches per foot or millimetres per metre. The gradient is restated in all four, and an optional available fall shows whether it is enough.

Fall equals run length times gradient. Enter the gradient in whichever format you have and read it back in the other three, with the drop over the run.

Inputs
ft
in
Result

Total Fall Over 50 ft at 1/4 in/ft (1 in 48, 2.08%)

12.50 in

Feet and Inches
1 ft 1/2 in
As a Ratio
1 in 48
As a Percentage
2.08%
Inches per Foot
1/4 in/ft
mm per Metre
20.83 mm/m
Angle
1.19°
Formula
50 ft × 1/4 in/ft = 12.50 in
Plain Estimate
From BrightScale Labs
Invoice maker
Quote at the door. Signed on the spot.
Estimates and invoices for trades, built while you are still in the room.
Scan to get
Get it onGoogle Play

What this tool does not check

  • Gives fall in mm only — does not size the pipe or check self-cleansing velocity.
  • Does not confirm minimum/maximum gradient for your pipe diameter.
  • Does not check cover depth or bedding requirements.
  • Does not authorise connection to a public sewer.

People also use

Formula Used
f=L×ss=1X=%100=in/ft12=mm/m1000\begin{aligned} f &= L \times s \\ s &= \tfrac{1}{X} = \tfrac{\%}{100} = \tfrac{\text{in/ft}}{12} = \tfrac{\text{mm/m}}{1000} \end{aligned}
ff
Total fall between the two ends
LL
Horizontal run length (ft)
ss
Gradient as a plain ratio of drop to run, from the figure and format entered

How the pipe slope calculator works

A drain has to fall along its length so that water, and whatever it carries, runs to the outlet under gravity. The calculator takes the horizontal length of the run and the gradient you want, and gives the total fall between the two ends. That is the difference in invert level, the inside bottom of the pipe, from the top of the run to the outlet. The fall is length multiplied by gradient. 10 m at 1 in 40 is 10 ÷ 40 = 0.25 m, so 250 mm. 50 ft at 1/4 in per foot is 50 × 0.25 = 12.5 in, which is 1 ft 1/2 in.

Gradients are written four different ways, and the calculator accepts any of them and shows the result in all four. In the UK and Ireland a drain is usually laid at 1 in 40 or 1 in 80. In North America plumbers talk in inches per foot: 1/4 in/ft, 1/8 in/ft. Civil engineers and many codes use percent, and metric site drawings often give millimetres per metre. The number means the same thing each time, a ratio of drop to horizontal run, so 1 in 40 is 2.5%, 25 mm/m and 0.3 in/ft. Pick the format in the selector, enter the figure, and read the others off the result card.

Converting between the four

To turn 1 in X into a percentage, divide 100 by X: 1 in 40 is 2.5%, 1 in 80 is 1.25% and 1 in 100 is 1%. Inches per foot to a ratio is 12 divided by the inches: 1/4 in/ft is 12 ÷ 0.25 = 1 in 48, and 1/8 in/ft is 1 in 96. Millimetres per metre to a ratio is 1,000 divided by the millimetres, so 25 mm/m is 1 in 40. The common figures line up like this. 1/4 in/ft = 1 in 48 = 2.08% = 20.8 mm/m. 2% = 1 in 50 = 0.24 in/ft = 20 mm/m. 1/8 in/ft = 1 in 96 = 1.04% = 10.4 mm/m. 1 in 80 = 1.25% = 0.15 in/ft = 12.5 mm/m. The US codes call 1/4 in/ft a 2 percent slope and 1/8 in/ft a 1 percent slope; the rounding is theirs, and the closer figures are 2.08% and 1.04%.

Minimum gradients in the codes

The minimum gradient depends on the pipe size and on how much it carries, and it comes from the plumbing or building code where you are, not from this page. In England, Table 6 of Approved Document H gives the flattest gradients for foul drains. They are 1 in 40 for 75 mm and 100 mm pipes carrying under 1 litre a second. Where the peak flow is over 1 litre a second, 75 mm and 100 mm pipes may go to 1 in 80, the 100 mm pipe only if it serves at least one WC. A 150 mm pipe serving at least five WCs may go to 1 in 150. Paragraph 3.15 puts 75 mm and 100 mm rainwater drains at not less than 1 in 100. In the US, section P3005.3 of the International Residential Code requires horizontal drainage piping of 2 1/2 in and smaller to be laid at not less than 1/4 in/ft, and 3 in and larger at not less than 1/8 in/ft. The International Plumbing Code's Table 704.1 has the same two figures and adds 1/16 in/ft for 8 in and larger. Canada's National Plumbing Code states its minimums as 1 in X ratios, and Australia and New Zealand's AS/NZS 3500.2 states them as percentages by pipe size. Where the ground falls more steeply than the minimum, the drain can follow it; the minimum is a floor, not a target, and a steeper drain carries more.

Worked examples

A 15 m run of 100 mm foul drain at 1 in 80: 15 ÷ 80 = 0.1875 m, so 188 mm of fall, which is 1.25% or 12.5 mm/m. A 60 ft run of 3 in sewer line at 1/8 in/ft: 60 × 0.125 = 7.5 in of fall, 1 in 96. A 100 ft run at 2%: 100 × 0.02 = 2 ft, so 24 in, which is 1 in 50 or 0.24 in/ft.

The available fall input turns the question round. Suppose the run is 18 m, the design gradient is 1 in 40, but the outlet is only 300 mm below the start. At 1 in 40 the run needs 18 ÷ 40 = 0.45 m, so 450 mm, and the calculator reports 150 mm short. It also reports the gradient the 300 mm does give: 18 ÷ 0.3 = 1 in 60, or 1.67%. If the code allows 1 in 80 for the pipe and load, that works; if not, the pipe has to start higher, the outlet lower, or a pump has to do the lifting.

Setting the fall out on site

The length to enter is the horizontal distance, measured along the trench, not the length of the pipe laid on its slope. At drain gradients the two differ by well under 1%, so a tape along the ground is fine. The fall is between invert levels, so a 250 mm fall over a run means the trench bottom, and the bedding under it, drops 250 mm too, and the trench gets deeper by that amount at the outlet end. On site the fall is set with a laser level and a staff, with boning rods and a traveller, or with a pipe laser sitting in the pipe itself. A spirit level with a shim under one end gives a fall for short runs. A 1 m level with a 25 mm block under the low end reads level at 1 in 40, and a 4 ft level with a 1 in block at 1/4 in/ft.

Keep the gradient uniform over the whole run. The codes ask for uniform alignment and slope, and a run that is steep at one end and flat at the other collects solids at the change. Where the ground drops more than the pipe should, take the extra height out at a manhole or inspection chamber with a backdrop rather than steepening the whole run.

What the calculator does not do

It does not size the pipe or check its flow capacity, which depend on the gradient, the diameter and the load from the fixtures or the roof. It does not pick the gradient for you, and it does not include the bedding and surround that make a trench deeper than the pipe. Connections to a public sewer or storm drain need the sewer operator's or building department's approval almost everywhere, and in most places new below-ground drainage is inspected before the trench is backfilled.

Using this with other BuildMetricLab tools

The excavation volume calculator sizes the trench once you know how deep it gets. The French drain calculator covers perforated land drains with their stone and geotextile, and the dry well calculator sizes a soakaway at the outlet. All BuildMetricLab tools run in your browser with no sign-up, and the formula is on the page so the maths can be checked.

Sources & methodology

Fall = horizontal run length × gradient, where the gradient is converted to a plain ratio: 1/X for 1 in X, %/100 for percent, in/ft ÷ 12 for inches per foot, mm/m ÷ 1,000 for millimetres per metre. The card restates the gradient as a ratio, a percentage, inches per foot, mm per metre and an angle (arctan). If an available fall is entered, its gradient = available fall ÷ run length, and the difference from the required fall is shown as spare or short. A 1 in X ratio needs X of at least 1. No pipe sizing or flow capacity is calculated.

Frequently asked questions

Are pipe slope calculator results accurate enough to set out a drain?

Yes. Fall equals length times gradient with no allowance, so the figure is exact for the length and gradient you enter, to the millimetre or hundredth of an inch shown. What it cannot tell you is whether that gradient is the right one for the pipe size and load; take that from your plumbing or building code. Then measure the horizontal length on site and set the inverts to the fall shown.

What slope should I use for a drain pipe?

It depends on the pipe size, what it carries and where you are. The US International Residential Code (P3005.3) requires at least 1/4 in per foot for pipes of 2 1/2 in and smaller and 1/8 in per foot for 3 in and larger. England's Approved Document H Table 6 gives 1 in 40 for 75 mm and 100 mm foul drains carrying under 1 litre a second. Over 1 litre a second it allows 1 in 80 for 75 mm and 100 mm pipes, the 100 mm pipe serving at least one WC, and 1 in 150 for a 150 mm pipe serving at least five. Other countries have their own minimums; the figure on a drawing or from the inspector takes precedence.

Does this replace professional advice?

No. It converts a gradient into a fall and back. Drainage to a public sewer or storm drain, and most new below-ground drainage, needs approval and inspection, and a pipe that is undersized or laid too flat will block however accurately the fall was set out. A drainage designer, plumber or building control officer decides the gradient and size.

Can I enter the gradient as a percentage or in inches per foot?

Yes. Choose the format in the selector: 1 in X, percent, inches per foot or millimetres per metre. Enter the figure in that format and the result card shows the same gradient in all four, with the total fall over the run. 1 in 40 is 2.5%, 0.3 in/ft and 25 mm/m; 1/4 in/ft is 1 in 48, 2.08% and 20.8 mm/m.

Spotted something off?

Calculations or display — let us know.

Calculators from other categories that planners often reach for next.