Hygienic Line Slope / GSD Drainability Calculator (ASME BPE)
Normalizes hygienic line slope to ratio, in/ft, mm/m, percent and degrees, then reports the highest gravity slope designation satisfied and the margin in in/ft to the target designation, per ASME BPE SD-2.4.3 (GSD1 = 1/16 in/ft).
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.
Hygienic process lines are expected to free-drain by gravity, and BPE drawings state the requirement as a Gravity Slope Designation — GSD — rather than a raw number. This calculator takes slope in whatever form you have — rise over run in any length unit, or a direct value in in/ft, mm/m, percent or degrees — normalizes it to an exact ratio, reports every equivalent representation, and classifies it against the GSD thresholds of ASME BPE SD-2.4.3: the highest designation the slope satisfies, plus PASS/FAIL and margin against your target designation. Reach for it when translating a drawing callout for a contractor, checking an as-built slope survey at acceptance, or setting the pitch for a new transfer line. Because every representation is computed on each run, it also serves as the slope converter of record when a contractor's survey, a P&ID note and a specification each speak a different unit.
.pcp project files and the batch runner —
$2.99 / month. Compare tiers →Method
slope ratio = rise / run (canonical, dimensionless)
GSD1 = 1/16 in/ft · GSD2 = 1/8 in/ft · GSD3 = 1/4 in/ft (GSD0 = no slope)
The calculator first reduces the input to a canonical rise/run ratio — either from a rise and run pair (any single length unit; the unit cancels) or from a direct slope entry converted exactly from in/ft, mm/m, percent or degrees. The GSD thresholds are keyed to the definitional in/ft column, and every other representation is an exact conversion of it — GSD2 is 1.0417 %, not the rounded 1 % of field shorthand. The achieved ratio is then tested against each threshold with a float-tolerant comparison, so a slope defined exactly at a boundary (1 in over 16 ft) counts as meeting it regardless of the conversion path. Output is the highest designation met, the achieved slope, the target minimum and the margin in your report unit (in/ft by default), with PASS/FAIL against the target — GSD2, the SD-2.4.3.3 recommended minimum drainage slope, unless you select otherwise. A slope that meets GSD0 but not the recommended minimum draws an explicit warning naming the highest designation met, so a technically-passing shallow target is never mistaken for good practice on a line that is meant to drain.
| Inputs | ||
|---|---|---|
| rise / run | Elevation change and length (any consistent unit) | — |
| or slope | Direct slope entry in in/ft, mm/m, %, or degrees | — |
| target GSD | Required designation from the drawing/spec | — |
| Outputs | ||
| slope | Normalized: ratio, in/ft, mm/m, %, degrees | — |
| highest GSD | Highest designation satisfied | — |
| margin | Slope − target minimum (in/ft) | in/ft |
Limitations — what this calculator is not
- Checks the specified/as-measured slope value — sag between supports, thermal bowing, and dynamic hold-up are installation matters the number cannot see (support span discipline still applies).
- GSD applies to lines intended to gravity-drain; lines designed for blow-down or drainable-by-procedure follow the owner/user's quality framework instead.
- Slope is assumed continuous toward the drain point — the calculator carries this warning on every run. An average pitch that meets GSD2 does not drain a line with a local back-fall at a support or a low fitting; pockets are invisible to the number.
- One value per run: a routed line with multiple segments and intermediate low points needs each segment classified separately — the companion Slope Drainability Report card packages this same check per segment.
- Conversions are exact by design, so field shorthand fails honestly: 1% is not GSD2 here, because GSD2 converts to 1.0417%. Specify targets as GSD designations or in/ft so the acceptance criterion survives translation.
- The calculator classifies a stated or surveyed slope; it is not a measurement procedure and inherits whatever error the survey carries — a designation met by less than the survey's accuracy has not really been demonstrated.
- Rise is entered as fall toward the drain point — the calculator rejects negative values rather than classifying counter-slope. A line pitched away from its drain is a routing error to fix, not a designation to report.
- Degrees, percent and mm/m are conversions of the same ratio, not independent checks: entering a rounded figure from a survey report reproduces the rounding. Carry raw rise-and-run readings into the calculator when the margin is thin.
Worked example — fixture-verified
A transfer line installed at 1 in of fall over 192 in of run (16 ft), drawing calls GSD1.
| Given | ||
|---|---|---|
| Rise | 1 | in |
| Run | 192 | in |
| Target | GSD1 | — |
Step by step
- Ratio: 1/192 = 0.0052083 → 0.0052083·12 = 0.0625 in/ft = 1/16 in/ft.
- Equivalents: 5.208 mm/m · 0.521% · 0.298°.
- GSD1 minimum is 1/16 in/ft → met exactly, margin 0.0 → PASS, highest designation GSD1.
| Result PASS | ||
|---|---|---|
| Slope | 0.0625 (1/16) | in/ft |
| Equivalent | 5.208 | mm/m |
| Highest GSD met | GSD1 | — |
| Verdict | PASS | — |
Worked example 2 below walks the classic near-miss (1% vs GSD2); the fixture additionally locks the GSD2 pass at 1/8 in/ft and a too-flat fail — every conversion route is release-gated.
slope-check.json — case “1:192 (1/16 in/ft) meets GSD1 exactly -> pass” (tolerance 0.00001) — 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 1% near-miss against GSD2
A contractor submits an as-built slope survey reading 1% for a line the drawing calls out at GSD2. One percent sounds generous — it is the most common field shorthand for 'well sloped' — so this is the check worth doing by hand once.
| Given | ||
|---|---|---|
| Slope (as surveyed) | 1 | % |
| Target | GSD2 | — |
Step by step
- Normalize: 1% = 0.01 ratio → 0.01 · 12 = 0.12 in/ft.
- GSD2 minimum is 1/8 in/ft = 0.125 in/ft → 0.12 falls 0.005 in/ft short.
- Highest designation met: GSD1 (1/16 in/ft ✓). Target GSD2 → FAIL.
| Result FAIL | ||
|---|---|---|
| Slope | 0.12 | in/ft |
| GSD2 minimum | 0.125 | in/ft |
| Highest GSD met | GSD1 | — |
| Verdict vs GSD2 | FAIL | — |
The margin is 4% of the requirement — invisible to a level on a 10 ft straightedge, decisive on the acceptance sheet. Specify slopes on drawings as GSD designations or in/ft, never in percent, and this class of near-miss disappears at the submittal stage instead of surfacing during commissioning.
Fixture case “slope given as 1 percent, target GSD2 -> fail (highest met GSD1)” (tolerance 1e-9) — locked in the same release gate as the example above.
Additional verified cases in this fixture
1:96 (1/8 in/ft) meets GSD2 exactly -> pass PASS
input: {"rise":1,"run":96,"lengthUnit":"in","targetGsd":"GSD2"}
expect: {"ratio":0.01041667,"inPerFt":0.125,"highestGsd":"GSD2","target":"GSD2","value":0.125,"limit":0.125,"margin":0}
tol: 0.00001flatter than GSD2 target -> fail, highest met is GSD0 FAIL
input: {"rise":1,"run":200,"lengthUnit":"in","targetGsd":"GSD2"}
expect: {"ratio":0.005,"inPerFt":0.06,"highestGsd":"GSD0","target":"GSD2","value":0.06,"limit":0.125,"margin":-0.065}
tol: 1e-9Sources & citations
- ASME BPE — SD-2.4.3, gravity slope designations (GSD) for drainability (embedded).
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
What do GSD1, GSD2, GSD3 mean on a drawing?
They are BPE's standard slope call-outs: minimum gravity-drain slopes of 1/16, 1/8 and 1/4 in/ft respectively. Specifying a designation instead of a raw number ties the installation acceptance to the BPE definitions — this calculator does the conversion and classification in both directions. The designations also hand the surveyor an unambiguous acceptance number in in/ft, which percent shorthand does not. The designation system also travels better than raw numbers through a project's documents: a P&ID note, an isometric call-out and a turnover-package acceptance sheet can all say 'GSD2' and mean exactly the same test, while '1%' invites the rounding argument this page's near-miss example exists to settle. Specify the designation, let the surveyor work in in/ft, and keep the raw-number conversions as this card's output rather than as marginalia.
Is 1% slope enough for GSD2?
No — 1% is 0.12 in/ft, just under the GSD2 minimum of 1/8 (0.125) in/ft. It satisfies GSD1. This exact near-miss is one of the locked fixture cases because it is the most common field mistake. The margin the card reports — 0.005 in/ft here — is the number to quote when asking a contractor to re-shim a run. The wider lesson from this near-miss is about specification language: percent shorthand comes from civil practice, where 1% is a round number, and it collides with BPE's fractional-inch designations at exactly this boundary. Hygienic projects that ban percent call-outs on drawings and require the GSD designation plus in/ft avoid the whole class of error — and when a contractor proposes 'one percent' verbally, the correct response is to ask which GSD that is intended to meet, because the answer decides whether re-shimming is needed.
Which GSD should a drawing specify?
SD-2.4.3.3 recommends GSD2 — 1/8 in/ft — as the minimum gravity drainage slope, and the calculator both defaults its target to GSD2 and warns whenever a sloped line meets less than that. GSD1 exists for constrained routings and GSD3 for lines wanting positive drainage margin; the choice sits with the owner/user's quality framework. Overshooting to GSD3 costs elevation across a long run, which is why the designation system exists instead of a single universal slope. The elevation budget is the real currency here, and it is worth computing once per rack rather than per line: GSD2 costs 1.25 in of fall per 10 ft of run, so a 100 ft header drops over a foot end to end, and every line sharing the rack must find that fall without colliding with steel or each other. That is why slope planning happens at the rack section stage, not line by line — and why a routing that cannot afford GSD3's budget everywhere often carries it only on the segments that drain to a low-point valve.
Does a slope exactly at a GSD threshold pass?
Yes. The comparison is float-tolerant, so a slope defined exactly at a boundary — 1 in of fall over 16 ft of run, or a direct 1/8 in/ft entry — counts as meeting the designation even when two unit-conversion paths differ by a rounding ulp. The margin reports as zero rather than a spurious hairline failure. That behavior is fixture-locked, including the exact-threshold GSD2 pass at 1/8 in/ft. The tolerance question this raises for construction is best answered in the specification rather than the argument after survey: a drawing that requires GSD2 exactly invites installed slopes at 0.124 in/ft to become disputes, so hygienic specs commonly instruct fitters to TARGET the next margin up — set for 5/32 or 3/16 in/ft — so that fabrication scatter lands the finished line at or above 1/8 everywhere. The card's designation math is exact at the boundary; installation practice should aim never to need that exactness.
What is GSD0?
The designation for no slope requirement — its threshold is zero, so any horizontal or positively pitched line meets it. It exists so a line that is not required to gravity-drain can still carry a designation on the drawing; the calculator reports it as the highest designation met only when the slope fails to reach GSD1. On drawings it most often appears on lines cleared by blow-down rather than by gravity. Its other legitimate role is honesty in turnover documentation: a line that cannot drain by gravity and is cleared by blow-down should be marked GSD0 with the blow-down noted, rather than carrying an aspirational GSD1 the installation never met. The designation makes the drainage strategy explicit — which segments gravity-drain, which are displaced by gas — and that mapping is precisely what a validation protocol wants to see, because the CIP cycle's final-drain step has to match it segment by segment.
What inputs does the calculator accept?
Either a rise and run pair in one length unit — mm, cm, m, in or ft; the unit cancels in the ratio — or a direct slope value as a ratio, in/ft, mm/m, percent or degrees. Every run reports all five representations plus the highest GSD met and the margin in your chosen report unit, in/ft by default. Rise and run in mixed units are rejected rather than guessed. The rise-and-run mode earns a specific field use: verification surveys report elevations at stations, so the natural check is elevation difference over station distance — enter those two numbers directly per segment rather than pre-computing slopes on a pad. Segment-by-segment entry also catches the failure the average hides: a run can meet GSD2 end-to-end while one span between supports runs flat or backwards, so survey and check at every support bay on lines where drainability is part of acceptance.
Related calculators & tools
- Dead-Leg L/d Ratio Calculator (ASME BPE) — The other geometric cleanability screen on the same line
- CIP Flow & Velocity Calculator (5 ft/s Rule, ASME BPE) — Drained lines still need 5 ft/s flushing
- CIP Spray Device Flow Sizing Calculator (ASME BPE) — Spray returns must drain at the same GSD
- Polymer Thermal Expansion Calculator (ASME BPE PM-4.2.3) — Polymer runs move enough to change the installed slope
- ASME BPE hygienic design guide — Why designed slope gets lost to sag, thermal growth and fittings