CIP Flow & Velocity Calculator (5 ft/s Rule, ASME BPE)
Sizes the CIP flow in gpm and L/min needed to hold the ASME BPE SD-6.3.5.2.1 target of 5 ft/s in a given tube ID, and inverts Q = 2.448·v·ID² to report the velocity in ft/s and m/s an available flow actually reaches, with PASS/FAIL.
Method last updated (calculation changelog) · fixture-verified on every build — most recently 2026-09-03.
Built and fixture-verified by Matthew Norris, P.E. — active P.E. licensure in Arizona, California, Kansas, Missouri, North Carolina, Texas.
Turbulent line flushing is the piping half of clean-in-place: BPE practice, per SD-6.3.5.2.1, targets a mean velocity of 5 ft/s (≈1.5 m/s) in the CIP circuit. This calculator works the requirement in both directions. Enter a tube inside diameter and it returns the flow required to hold the target velocity, in gpm and L/min — the number that sizes the CIP skid. Enter the flow your skid can actually deliver and it returns the velocity achieved, in ft/s and m/s, with a PASS/FAIL verdict against the target. Reach for it when designing a CIP circuit, sizing supply and return pumps, or checking whether an existing skid can serve a line that grew a size during detail design. Because the check inverts the same equation used for sizing, the two modes cannot disagree — a skid that passes in check mode is by definition delivering the sizing-mode flow.
.pcp project files and the batch runner —
$2.99 / month. Compare tiers →Method
Q (gpm) = 2.448 · v (ft/s) · ID² (in)
v = Q / (2.448 · ID²)
Both directions are the same continuity relation Q = v·A for a round section, A = π/4·ID². The 2.448 coefficient is the exact unit-conversion constant — 448.831 gpm per ft³/s times π/4, divided by 144 in² per ft² — not an empirical factor. In sizing mode the calculator multiplies the target velocity (5 ft/s by default, overridable) by 2.448·ID² for the required flow, reported in gpm and L/min. In check mode, an entered supply flow is inverted through the same relation for the achieved velocity in ft/s and m/s; achieved at or above target is PASS, below is FAIL with the shortfall stated. Because ID enters squared, required flow grows steeply with line size — which is why the largest ID in the circuit governs the skid. A line ID under 1.5 in additionally raises the SD-6.3.5.2.1 branch/short-outlet drainability advisory, pointing you at the dead-leg and slope checks for that run. Metric equivalents are computed on every run — L/min from gpm and m/s from ft/s — so a 1.5 m/s specification can be checked without hand conversion, and both calculation directions are locked as separate fixture cases in the release gate.
| Inputs | ||
|---|---|---|
| ID | Tube / pipe inside diameter | in |
| target v | Target velocity (default 5) | ft/s |
| Q actual | Available flow (optional — enables the check mode) | gpm |
| Outputs | ||
| Q required | Flow for target velocity | gpm, L/min |
| v achieved | Velocity at available flow (check mode) | ft/s, m/s |
Limitations — what this calculator is not
- Full-pipe, single-phase flow assumed — partially drained returns or air-locked circuits will not see the computed velocity, however good the arithmetic. Air relief and full-flood verification at the high points is a commissioning step the arithmetic cannot replace.
- Sizes the flow requirement only; pump head, circuit ΔP, and parallel-path balancing are hydraulic design beyond this card.
- 5 ft/s is the accepted practice minimum for line flushing, not a guarantee of soil removal — chemistry, temperature and contact time complete the cleaning equation, and a circuit at full velocity with the wrong detergent strength or temperature still fails validation.
- The output is a bulk mean velocity. It says nothing about local shear in valve cavities, instrument tees or gasket recesses; unswept geometry is screened by the dead-leg calculator, not by circuit velocity.
- One ID at a time: the calculator checks a single line. Identifying the largest ID in the flow path — which sets the skid flow — and any parallel branches that can starve is circuit analysis you perform across runs of this card.
- ID is entered in inches (the 2.448 constant is the US-customary form); metric flow and velocity are reported as conversions, but there is no native metric input. Use the actual tube ID, not the nominal size.
- No fluid properties are entered and none are used: the conversion between flow and velocity is pure geometry. Temperature, viscosity and detergent concentration belong to the cleaning recipe, and any Reynolds-number or heat-loss assessment is separate work.
- Verdicts apply to the entered target only. If your specification writes the requirement at 1.5 m/s or another value, enter that as the target — the default is a defaulted input, not a hard-coded limit.
Worked example — fixture-verified
2.0 in ID transfer line; find the CIP flow for 5 ft/s, then check a skid that can only deliver 60 gpm.
| Given | ||
|---|---|---|
| Tube ID | 2.0 | in |
| Target velocity | 5 | ft/s |
| Available flow (case 2) | 60 | gpm |
Step by step
- Required flow: Q = 2.448·5·2² = 2.448·5·4 = 48.96 gpm (185.3 L/min).
- Check mode: v = 60 / (2.448·4) = 60 / 9.792 = 6.13 ft/s (1.87 m/s) ≥ 5 → PASS.
| Result PASS | ||
|---|---|---|
| Required flow @ 5 ft/s | 48.96 | gpm |
| Required flow | 185.3 | L/min |
| Achieved velocity @ 60 gpm | 6.13 | ft/s |
| Verdict | PASS | — |
Both directions — flow-from-velocity and velocity-from-flow — are locked as separate fixture cases; worked example 2 scales the same method to the circuit's largest line.
cip-velocity.json — case “2 in line, 5 ft/s target -> required flow” (tolerance 0.01) — in the
calc-core release gate. It re-runs on every commit; a red fixture blocks deployment.
See the validation methodology.Worked example 2 — the 3 in header sets the circuit flow
The same CIP circuit also passes through a 3.0 in ID transfer header — the largest line in the path, which therefore sets the skid flow requirement (the ID² term makes this decisively nonlinear).
| Given | ||
|---|---|---|
| Tube ID | 3.0 | in |
| Target velocity | 5 | ft/s |
Step by step
- Required flow: Q = 2.448·5·3² = 2.448·5·9 = 110.16 gpm (417.0 L/min).
- Compare: the 2.0 in line needed 48.96 gpm — a 50% increase in diameter is a 2.25× increase in required flow.
| Result COMPUTED | ||
|---|---|---|
| Required flow @ 5 ft/s | 110.16 | gpm |
| Required flow | 417.0 | L/min |
A skid sized for the 2 in lines starves the 3 in header down to about 2.2 ft/s — visually turbulent, hygienically inadequate. Size the CIP supply for the largest ID in the circuit and let the smaller lines run fast; if the resulting flow is impractical, split the circuit rather than shaving the velocity target.
Fixture case “3 in header, 5 ft/s target -> required flow” (tolerance 0.01) — locked in the same release gate as the example above.
Additional verified cases in this fixture
60 gpm available -> achieved velocity pass PASS
input: {"id":2,"actualFlowGpm":60}
expect: {"achievedVelocityFtS":6.1274,"achievedVelocityMS":1.8676}
tol: 0.001Sources & citations
- ASME BPE — SD-6.3.5.2.1, CIP line velocity practice.
Per the source & citation policy, allowable-stress and factor table values are user-supplied. Where a page does reproduce specific ASME data (the B16.5 ratings, the quick-reference tables), it states the source table and conditions inline.
FAQ
Why 5 ft/s?
It is the industry-accepted threshold for fully turbulent, wall-shearing flow across hygienic tube sizes — enough shear to strip soil films and sweep particulates. BPE references it as accepted practice; individual owners sometimes specify 1.5 m/s, which the metric output shows directly. Below the threshold, low-shear regions let soil films survive the cycle even when chemistry and temperature are right. The target's units carry an assumption worth surfacing: 5 ft/s delivers its cleaning shear in water-like CIP solutions — caustic and acid washes at typical strengths behave like water for this purpose — but a viscous product push or a solvent flush is a different fluid, and the velocity that produces equivalent wall shear moves with it. For standard aqueous CIP chemistry the number is settled practice; for anything else, the specification should say what basis replaced it.
Which line sets the CIP flow for a circuit?
The largest ID in the flow path — it needs the most flow to hold 5 ft/s. Smaller lines in series then run faster, which is acceptable; parallel paths need balancing so no branch starves. Worked example 2 makes the point concretely: moving from a 2 in to a 3 in line multiplies the required flow by 2.25. The parallel-path half of that rule deserves its own respect: two branches of unequal length and fitting count will not naturally split flow to hold 5 ft/s in both, and the short easy path steals from the long one. Balancing orifices, sequenced valve steps that clean one path at a time, or simply splitting the circuit are the standard fixes — and the flow verification at the skid meter must then be per-step, because a total flow that satisfies the sum can still starve a branch.
Where does the 2.448 constant come from?
It is exact unit bookkeeping, not an empirical factor: continuity Q = v·A with A = π/4·ID² for a round tube, converted to gpm, ft/s and inches. Numerically it is 448.831 gpm per ft³/s multiplied by π/4 and divided by 144 in² per ft², giving 2.448 gpm per (ft/s·in²). Any consistent-unit form of Q = v·A reproduces the same results. The practical value of knowing it is exact: any two of flow, velocity and ID determine the third with no judgment involved, so the card works in reverse during troubleshooting — enter the flowmeter's reading and the line ID, and the computed velocity either clears the target or explains the failed swab result. When a circuit's returns run dirty, this arithmetic is the first check, because a pump running off its curve or a partially closed valve shows up here before it shows up anywhere else.
Is a 1.5 m/s specification the same as 5 ft/s?
Close but not identical: 5 ft/s converts to 1.524 m/s, so a spec written at 1.5 m/s is marginally less demanding — about 4.92 ft/s. The calculator shows metric equivalents alongside every result, and the target is an overridable input: enter the value your specification states and the PASS/FAIL verdict follows it. Mixed-unit specifications are common on imported skids; check mode settles which requirement actually governs. The check-mode habit that keeps multi-vendor projects coherent: enter the exact target each document states — 1.5 m/s for the European skid's protocol, 5 ft/s for the US specification — and let the card's verdict follow each document on its own terms. Where one physical circuit must satisfy both, design to the stricter 5 ft/s and record that decision once; a circuit that quietly assumes the two numbers are identical will pass one audit and fail the other with the same data.
What does the advisory on lines under 1.5 in mean?
SD-6.3.5.2.1 carries branch and short-outlet drainability minimums that come into play at small bores, so when the entered ID is under 1.5 in the calculator flags the run for a dead-leg and slope review. It is an advisory, not a failure — the flow and velocity arithmetic is unaffected. Treat it as a routing prompt: small-bore runs are where drainability problems hide. There is also a hydraulic reason small bores deserve the second look: they dominate a circuit's pressure drop — at matched velocity, pressure drop per foot rises steeply as bore falls — so the small-bore segment is simultaneously the drainability risk, the velocity-verification headache, and the reason the CIP pump curve is running out of head. When a circuit's arithmetic gets difficult, the small line is almost always where; the advisory just makes sure the routing questions get asked at the same time as the hydraulic ones.
Should I enter the nominal tube size or the actual ID?
The actual inside diameter. Hygienic tubing is specified on OD, so the ID is the OD less twice the wall for your gauge — and because flow scales with ID², using the nominal size as if it were the ID overstates the required flow noticeably on small lines. Pull the ID from the tube specification before running the sizing — wall gauge varies by tube size and pressure class, so there is no single OD-to-ID offset to memorize. The ID-squared sensitivity also means wall gauge substitutions are not hydraulically free: the same nominal OD in a heavier wall shrinks the ID and raises the velocity at fixed flow — usually a safe-side surprise for cleaning, but a real change to pressure drop and to any balancing already done. When procurement substitutes tube gauge, rerun the affected circuits; two gauge steps on a small bore is a measurable shift, and the validation record should match the tube that was actually installed.
Related calculators & tools
- CIP Spray Device Flow Sizing Calculator (ASME BPE) — Vessel side of the same CIP circuit demand
- Dead-Leg L/d Ratio Calculator (ASME BPE) — Velocity won't clean branches beyond L/d of 2
- Hygienic Line Slope / GSD Drainability Calculator (ASME BPE) — Circuits must drain between CIP flush steps
- Electropolish Removal & Passivation Acceptance Calculator — CIP chemistry acts on the passivated surface
- ASME BPE hygienic design guide — Why mixed line sizes force a circuit split at 5 ft/s