Drainage Pipe Slope & Gravity Flow Calculator

Compare up to three circular gravity pipes at one entered discharge. Use actual inside diameter, slope and Manning roughness to explore uniform-flow depth, available fall and the slope required to remain below your chosen depth cap. The flow-depth chart shows the near-full peak and declining segment rather than assuming capacity rises all the way to a full pipe. Select an inspection or solved depth to see the corresponding water section; compare lower and higher mathematical branches where both exist. Tables and complete CSV preserve the same geometry and quantities as the charts. Flow demand and roughness are your assumptions. This is a steady uniform-flow scenario model, not a runoff estimator, culvert or network model, pressure-flow calculation, material recommendation or drainage-compliance assessment.

Gravity flow

Compare drainage pipe flow & slope

Explore circular-pipe depth, capacity and required fall with a constant-roughness Manning model.

Demand and site assumptions

0–100,000 L/s; enter an independently estimated flow.

0.01–100,000 m; fall = run × slope.

1–99% of inside diameter; a scenario constraint, not a code limit.

0–100%; changes the section diagram, not demand.

Uniform flow in a straight circular pipe with constant roughness. No inlet/outlet control, backwater, surcharge, debris or network calculation. Results do not establish drainage or plumbing compliance.

Pipe alternatives

Pipe 1

1–60 printable characters.

10–10,000 mm; use actual bore, not nominal size.

0.0001–20%; 1% means 10 mm fall per metre.

0.005–0.1; select for actual material and condition.

Pipe 2

1–60 printable characters.

10–10,000 mm; use actual bore, not nominal size.

0.0001–20%; 1% means 10 mm fall per metre.

0.005–0.1; select for actual material and condition.

Pipe 3

1–60 printable characters.

10–10,000 mm; use actual bore, not nominal size.

0.0001–20%; 1% means 10 mm fall per metre.

0.005–0.1; select for actual material and condition.

3 of 3 alternatives meet the entered depth cap under the uniform-flow assumptions.

300 mm at 1%

One uniform-flow depth

51% deep

0.153 m · 1.3795 m/s

Within entered depth cap

Capacity at or below cap
88.1793 L/s
Required slope / fall within cap
0.3215% / 0.1286 m
Available fall
0.4 m
Flow headroom
38.1793 L/s

375 mm at 0.5%

One uniform-flow depth

44.19% deep

0.1657 m · 1.0623 m/s

Within entered depth cap

Capacity at or below cap
113.052 L/s
Required slope / fall within cap
0.0978% / 0.0391 m
Available fall
0.2 m
Flow headroom
63.052 L/s

450 mm at 0.3%

One uniform-flow depth

38.9% deep

0.1751 m · 0.8736 m/s

Within entered depth cap

Capacity at or below cap
142.398 L/s
Required slope / fall within cap
0.037% / 0.0148 m
Available fall
0.12 m
Flow headroom
92.398 L/s
Flow capacity across water depth

Vertical: flow, 0–181.42 L/s. Horizontal: water depth, 0–100% of inside diameter. Circles mark solved depths; squares mark peak flow.

  • 300 mm at 1% — solid curve; peak 104.0216 L/s at 93.8181% depth.
  • 375 mm at 0.5% — long-dashed curve; peak 133.363 L/s at 93.8181% depth.
  • 450 mm at 0.3% — short-dashed curve; peak 167.9813 L/s at 93.8181% depth.

Gray vertical dashes: 75% depth cap. Amber horizontal dashes: 50 L/s demand.

The higher near-full branch is a mathematical solution, not an operating recommendation. The lower branch is used for the depth-cap comparison.

Inspect a pipe section

300 mm at 1% — inspection depth

50% full · 0.15 m deep · 48.3504 L/s at this depth

Flow area
0.0353 m²
Wetted perimeter
0.4712 m
Hydraulic radius
0.075 m
Velocity
1.368 m/s

Compare slope and capacity

Pipe comparison at the entered demand and depth cap
PipeLower depth (%)Full reference (L/s)Flow at cap (L/s)Maximum below cap (L/s)Required slope (%)Required fall (m)Fall headroom (m)
300 mm at 1%51.002396.700888.179388.17930.32150.12860.2714
375 mm at 0.5%44.1879123.9771113.052113.0520.09780.03910.1609
450 mm at 0.3%38.9008156.1591142.398142.3980.0370.01480.1052

Above the peak depth, flow at the cap is lower than the maximum attainable below it. Required slope uses that maximum. Negative headroom indicates a shortfall.

Curve data — 300 mm at 1%

All 0.5% depth steps plus exact cap, peak, inspection and solved-depth checkpoints. CSV includes every row for every pipe.

Selected pipe curve values
Depth (%)Depth (m)Area (m²)Hydraulic radius (m)Velocity (m/s)Flow (L/s)
000000
0.50.00154.236e-50.0010.07680.0033
10.0030.00010.0020.12170.0146
1.50.00450.00020.0030.15930.035
20.0060.00030.0040.19260.065
2.50.00750.00050.00490.22320.1051
30.0090.00060.00590.25160.1555
3.50.01050.00080.00690.27840.2164
40.0120.00090.00790.30380.2882
4.50.01350.00110.00880.32810.3708
50.0150.00130.00980.35140.4644
5.50.01650.00150.01070.37390.5691
60.0180.00170.01170.39560.685
6.50.01950.00190.01260.41660.8121
70.0210.00220.01350.4370.9505
7.50.02250.00240.01450.45681.1002
80.0240.00260.01540.47611.2612
8.50.02550.00290.01630.49491.4336
90.0270.00320.01720.51331.6174
9.50.02850.00340.01810.53121.8125
100.030.00370.01910.54882.0189
10.50.03150.0040.020.5662.2367
110.0330.00420.02090.58282.4657
11.50.03450.00450.02170.59942.706
120.0360.00480.02260.61562.9576
Page 1 of 9

Export assumptions and results

CSV preserves numerical precision and includes assumptions, all branches and all curve rows. Cells are quoted and prefixed as text for spreadsheet safety.

How to use this calculator

  1. Start with Three-pipe comparison or Explore two near-full depths. Enter Demand in L/s from a separate flow estimate and Pipe run in metres.
  2. Set Maximum desired depth as a percentage of inside diameter. This is your scenario limit; the calculator does not choose a jurisdictional requirement.
  3. Enter actual Inside diameter, Available slope and Manning roughness n for each labeled pipe. Add or remove alternatives to compare up to three scenarios.
  4. Read lower solved depth, required slope and fall, and signed headroom. Inspect explicit capacity failures or unresolved results rather than treating them as full-depth solutions.
  5. Use the Pipe and Section depth selectors to compare entered inspection depth with available solved branches. Read the near-full curve and the distinction between flow at the cap and maximum flow below it.
  6. Review the comparison and paginated curve data. Download the complete CSV or open Selectable CSV to copy the same data and assumptions.

The Formula

The mathematical logic powering this calculation is:

Use SI quantities: inside diameter D and depth y in metres, pipe slope S in m/m, Manning roughness n, flow Q in m³/s and mean velocity V in m/s. Convert input diameter from mm by dividing by 1,000, slope percent by dividing by 100 and demand L/s by dividing by 1,000. Geometric fall = entered run length × slope. A 1% slope is 10 mm fall per metre.
Set x = y/D and wetted angle t = 2acos(1 − 2x). Circular flow area A = D²(t − sin t)/8, wetted perimeter P = Dt/2, hydraulic radius R = A/P and top width T = 2D sqrt(x(1 − x)). At zero depth these quantities and flow are zero by their limits. At full depth A = πD²/4 and P = πD; top width is zero. A stable equivalent angle and small-angle series avoid cancellation in very shallow sections.
The SI Manning relationship is V = R^(2/3) sqrt(S)/n and Q = AV. It assumes steady uniform flow, a constant circular cross-section, constant positive slope and constant n. The energy slope equals the pipe slope under this assumption. No rounded English-unit coefficient is used. At half depth, hydraulic radius and velocity equal the full-depth limiting values, while area and discharge are half of those values.
Discharge is not monotonic across the entire depth range. With n constant, differentiating the normalized discharge gives peak-angle equation 5t(1 − cos t) − 2(t − sin t) = 0. The peak is at approximately 93.8181% depth. Below full-reference flow there is one lower normal-depth root. At full-reference flow the lower root coexists with the full-depth limit. Between full-reference and peak flow, two mathematical roots exist. At the peak they coalesce; above it there is no uniform-flow solution under these assumptions. The higher branch is displayed for understanding the curve, not as an operating recommendation.
Each monotone branch is inverted by bracketed bisection with at most 120 iterations. A solved root requires depth-fraction bracket width at most 2e−13 and relative discharge residual at most 1e−10, with only the smallest representable positive number as a residual floor. If these conditions cannot be achieved, the result is explicitly unresolved. In particular, an extremely small entered positive demand is not replaced with a larger flow that happens to fall inside an absolute tolerance. Boundary classifications use max(1e−9 L/s, 1e−12 × peak flow); these are numerical labels, not exact physical equalities.
For desired cap c, the maximum discharge attainable at or below the cap occurs at depth fraction min(c, peak fraction). If the cap lies beyond the peak, flow at the cap itself is lower than this maximum. The table shows both. Required slope to carry entered Q within the cap is [Qn/(A R^(2/3))]² at that maximizing depth. At zero demand the required slope and fall are zero. Values outside the editable slope range are displayed without clamping and annotated. Flow headroom = capacity below cap − demand; fall headroom = available fall − required fall. Negative headroom identifies a shortfall. This criterion establishes mathematical existence of a depth below the cap, not code compliance or actual field performance.
Curves contain all 201 depth fractions from 0 to 1 in steps of 0.005, plus exact modeled inspection, cap, peak and solved-depth checkpoints, sorted and deduplicated. Roots are solved independently of sampled chart points. The selected table is paginated; CSV includes every row for every pipe, all roots, inputs, geometry, headroom and method assumptions.
Supported inputs: one to three alternatives with labels of 1–60 printable characters and distinct identifiers; demand 0–100,000 L/s, run 0.01–100,000 m, desired maximum depth 1–99%, inspection depth 0–100%, actual inside diameter 10–10,000 mm, slope 0.0001–20%, and roughness 0.005–0.1. Numeric drafts are plain unsigned decimal strings of at most 100 characters; blank, exponent, fraction, nonfinite and out-of-range values are rejected. These are numerical bounds, not recommended design ranges.
Excluded: rainfall/runoff estimation, changing roughness with depth, inlet and outlet control, backwater, culvert capacity, hydraulic jumps, surcharge, pressure-flow head loss, junctions, drainage networks, debris or sediment, minimum self-cleansing velocities, structural capacity, local plumbing rules and product suitability. A full-depth Manning reference does not establish pressure-flow capacity.

Worked Example

If you input:

  • Demand and run: 50 L/s over 40 m
  • Maximum desired depth: 75% of inside diameter
  • Pipe A: 300 mm inside diameter, 1% slope, n = 0.013
  • Pipe B: 375 mm inside diameter, 0.5% slope, n = 0.013
  • Pipe C: 450 mm inside diameter, 0.3% slope, n = 0.013
  • Inspection depth: 50%; independent of demand

Result:

At 50 L/s, lower uniform-flow depths are approximately 0.153007 m, 0.165705 m and 0.175054 m for pipes A, B and C. All three lie below the entered 75% cap. Required slopes to carry the demand within the cap are approximately 0.321519%, 0.097803% and 0.036987%; over 40 m these require about 0.128608 m, 0.039121 m and 0.014795 m of fall. Available falls are 0.4 m, 0.2 m and 0.12 m. These comparisons use an illustrative common roughness of 0.013 and do not establish code compliance or product suitability.

Frequently Asked Questions

Why does a nearly full pipe sometimes carry more than the full-depth reference?

With constant Manning roughness, the hydraulic radius changes nonlinearly with water depth. The small loss in flow area below the crown can be offset by reduced wetted perimeter. The idealized curve peaks around 93.8181% depth, then falls toward the full-depth reference. Real entrance, air, backwater and pressurization effects are outside this model.

Which of the two near-full depths should I use?

The lower branch is used for the depth-cap comparison. The higher mathematical root is shown to explain the nonmonotonic curve, not as an operating recommendation. Actual flow conditions require boundary conditions and checks beyond uniform-flow inversion; choosing the higher root does not prove an attainable drainage operating state.

Does the required slope meet a plumbing code?

No. Required slope here is the mathematical slope needed to carry your entered demand at or below your entered depth cap under constant-n uniform-flow assumptions. Local minimum slopes, velocity criteria, materials, fittings, vents and approval requirements are not evaluated.

Should I enter nominal pipe size or inside diameter?

Use actual inside diameter in millimetres. Nominal dimensions can differ from the bore, depending on material, wall thickness and product. The tool does not convert a nominal product designation into a verified hydraulic diameter.

How should I choose Manning roughness?

Supply a value appropriate to the pipe material, condition and applicable methodology. The default 0.013 is an illustrative assumption, not a recommendation for every pipe. This model keeps roughness constant with depth; joints, aging, sediment and variable roughness can change actual performance.

Why are flow at the cap and capacity below the cap different?

If your desired cap is above the peak-depth fraction, the maximum capacity occurs at a shallower depth than the cap. Required slope uses that maximum attainable below the cap. The separate flow-at-cap column prevents the declining near-full curve from being mistaken for a monotonic capacity rule.

What does a capacity failure or unresolved depth mean?

A capacity failure means demand exceeds the idealized curve maximum at the entered size, roughness and slope. Unresolved means the numerical solver did not meet its accuracy requirement within its iteration limit. Neither state is assigned a fictitious depth. Inspection geometry and capacity curves remain available, but they are not solved operating depths.

Can this size a culvert, gutter or pressurized pipe?

Not by itself. Culverts require inlet/outlet and headwater checks; gutters have different geometry and often spatially varying flow; pressurized pipes require a pressure-loss model. Use the related tools for their stated tasks, and do not infer design approval from this uniform circular-pipe model.

Similar Calculators