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).
BPE process lines must drain by gravity, and drawings call the requirement out as a GSD designation. This calculator takes slope in whatever form you have — rise over run, in/ft, mm/m, percent, or degrees — normalizes it, and classifies it against the GSD levels, reporting the highest designation met and PASS/FAIL versus your target.
Method
slope ratio = rise / run → in/ft, mm/m, %, degrees
The computed slope is compared against the GSD (Gravity Slope Designation) minimums of ASME BPE SD-2.4.3 (GSD1 = 1/16 in/ft, GSD2 = 1/8 in/ft, …). The card reports the highest designation the slope satisfies and the margin to your target designation. The companion Slope Drainability Report card packages the same check as a per-segment classification report.
| 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.
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 | — |
The fixture also locks the GSD2 pass at 1/8 in/ft, a too-flat fail (highest met GSD0), and a percent-entry fail path — 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.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-9slope given as 1 percent, target GSD2 -> fail (highest met GSD1) FAIL
input: {"slope":1,"slopeUnit":"percent","targetGsd":"GSD2"}
expect: {"ratio":0.01,"inPerFt":0.12,"highestGsd":"GSD1","target":"GSD2","value":0.12,"limit":0.125}
tol: 1e-9Sources & citations
- ASME BPE — SD-2.4.3, gravity slope designations (GSD) for drainability (embedded under ASME authorization).
Per the source & citation policy, allowable-stress and factor table values are user-supplied — this page and the app cite paragraph numbers and never reproduce ASME table data.
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 higher in/ft respectively. Specifying a designation instead of a raw number ties the installation acceptance to the BPE table — this calculator does the conversion and classification in both directions.
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.
Related calculators
- 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