Calculation verification
Every result on this page can be checked by hand. For each calculator: the inputs, the formula, a worked example with real numbers, the units, the standard it comes from, and what it does not cover. Worked examples checked against the calculator output on 17 Nov 2026.
Hydrotest pressureASME B31.3 para. 345.4 / 345.5, B31.1 para. 137.4, B16.5 para. 2.6
Input parameters
| Parameter | Symbol | Unit | Source |
|---|---|---|---|
| Design pressure | P | bar(g) | Line list / design basis |
| Allowable stress at test temperature | S_T | MPa | B31.3 Table A-1M (entered by you) |
| Allowable stress at design temperature | S | MPa | B31.3 Table A-1M (entered by you) |
| Pipe size and schedule | NPS → D, t_n | mm | ASME B36.10M / B36.19M |
| Mill under-tolerance | m | % | Pipe specification (12.5% typical for seamless) |
| Yield strength at test temperature | S_Y | MPa | Material specification (entered by you) |
| Flange material group and class | – | – | Piping class; ratings from ASME B16.5 Table 2 |
| Height of high point above low point | h | m | Isometric / model |
| Line length to fill | L | m | Line list |
Formula used
B31.3 hydrostatic: P_T = 1.5 × P × S_T / S, with S_T / S not more than 6.5 (345.4.2) B31.3 pneumatic: P_T = 1.1 × P (345.5.4) B31.1 hydrostatic: P_T = 1.5 × P (137.4.5) Low point: P_L = P_T + 0.0981 × h (bar, water at 1000 kg/m³) Wall used: t = t_n × (1 − m/100) Hoop stress: σ = P_L × D / (2 t) (P in MPa = bar ÷ 10), compared with S_Y (345.4.2(c)) Flange limit: 1.5 × B16.5 rating at 38 °C, rounded up to the next 1 bar (B16.5 para. 2.6) Water: V = π/4 × ID² × L, ID = D − 2 t_n
Worked example
NPS 6 Sch 40 carbon steel pipe, A106 Gr B, B31.3 hydrotest. Design 40 bar(g) at 200 °C; S_T = S = 138 MPa; yield 241 MPa; mill tolerance 12.5%; Class 300 flanges, group 1.1; high point 10 m above the low point; 100 m of line.
- S_T / S = 138 / 138 = 1.000
- P_T = 1.5 × 40 × 1.000 = 60.0 bar(g) at the high point (870 psig)
- P_L = 60.0 + 0.0981 × 10 = 61.0 bar(g) at the low point
- D = 168.3 mm; t_n = 7.11 mm; t = 7.11 × 0.875 = 6.22 mm
- σ = 6.10 MPa × 168.3 / (2 × 6.22) = 82.5 MPa, which is 34% of 241 MPa: below yield
- Class 300, group 1.1 at 38 °C: 51.1 bar; 1.5 × 51.1 = 76.65, rounded up to 77 bar; 61.0 ≤ 77: flanges OK
- ID = 168.3 − 2 × 7.11 = 154.1 mm; V = 0.7854 × 0.1541² × 100 = 1.86 m³ (about 1,860 kg of water)
Result: Test at 60.0 bar(g) at the high point (61.0 bar(g) at the low point); pipe and flanges pass; about 1.86 m³ of water.
Units
- Pressure in bar(g); psig shown alongside (1 bar = 14.504 psi)
- Stress in MPa; 1 bar = 0.1 MPa
- Lengths in mm and m
Standard or engineering basis
- ASME B31.3 para. 345.4.2 (hydrostatic test pressure), 345.5.4 (pneumatic), 345.4.2(c) (yield limit)
- ASME B31.1 para. 137.4.5
- ASME B16.5 para. 2.6 (system hydrostatic test of flanged joints) and Table 2 ratings
Assumptions and limitations
- No allowable or yield stresses are built in; enter them from your code edition and material specification.
- Hoop stress uses the thin-wall formula on the minimum wall. Bends, branches and other components with lower ratings are not checked.
- Equipment, valves, instruments and expansion joints in the test loop may have a lower test pressure; isolate or remove them.
- Where the system includes a pressure vessel, B31.3 345.4.3 sets special rules; they are not covered here.
- Water density taken as 1000 kg/m³. For other test liquids, scale the static head.
- Pneumatic tests carry a much higher risk; follow B31.3 345.5 in full.
Contact & corrections
Questions, a value that differs from your edition of the code, or an idea for a new tool. For corrections, include the standard, table and size so the value can be checked.
Or email directly:
Isometric revision compare
Compare the issued (IFC) isometric against the latest from the model. Drop two PDFs for a linework overlay, or two PCF files for a component-by-component change list. Files stay in your browser.