Every example below is a hand-derived calculation published with its full step-by-step
arithmetic — and every one is simultaneously a fixture case in the calc-core release gate, re-verified
on every commit. If the app and the published example ever disagreed, the build would go red.
Focus areas: ASME BPE hygienic tubing, ASME B31.1 power piping, and ASME B31.3 process piping,
plus the flexibility and pipeline-integrity calculations that surround them. Derivation policy and
tolerances are documented in the validation methodology.
| Worked example | Problem | Headline result |
|---|
| ASME B31.3 Pipe Wall Thickness Calculator |
NPS 6 (6.625 in OD) carbon-steel line at 2,000 psi design pressure. Allowable stress 20,000 psi, seamless (E = 1.0, W = 1.0), Y = 0.4, corrosion allowance 1/16 in, mill tolerance 12.5%. |
t — pressure design thickness: 0.31851 in COMPUTED |
| ASME B31.3 Allowable Working Pressure Calculator |
NPS 8 Sch 40 (8.625 in OD × 0.322 in wall), S = 17,500 psi, E = 1.0, y = 0.4, corrosion allowance 0.065 in, 12.5% mill tolerance. |
tp — thickness available: 0.21675 in COMPUTED |
| Hydrostatic / Pneumatic Leak Test Pressure Calculator (ASME B31.3) |
Design pressure 300 psi; allowable stress 20,000 psi at ambient test temperature and 17,500 psi at design temperature; B31.3 factors. |
Stress ratio ST/S: 1.14286 — COMPUTED |
| Welded Branch Connection Reinforcement Calculator (ASME B31.3 ¶304.3.3) |
NPS 8 Sch 40 run (8.625 × 0.322) with an NPS 4 Sch 40 branch (4.5 × 0.237) at 90°, no pad, no allowance credit. Required walls: th = 0.147 in, tb = 0.077 in. |
A1 — required: 0.5918 in² PASS |
| Mitered Elbow Allowable Pressure Calculator (ASME B31.3 ¶304.2.3) |
3-cut miter, half-angle 15°, S = 20,000 psi, E = 1.0, available wall Tc = 0.25 in, mean radius r2 = 4.1515 in, effective bend radius R1 = 12 in. |
Pm1 (Eq. 4a): 707.6 psi COMPUTED |
| Displacement Stress Range Check (ASME B31.3 ¶319.4.4) |
NPS 6 Sch 40 point (Z = 8.49575 in³) with a pure in-plane moment range of 44,139 in·lb intensified by ii = 2.26557 (the Appendix D elbow above); A106-B allowables Sc = 20,000, Sh = 17,300 psi, f = 1.0. |
SE — displacement stress range: 11,770.6 psi PASS |
| Pipe Bend Minimum Wall Thickness Calculator (B31.3 ¶304.2.1) |
NPS 8 (8.625 in OD) bent at R = 12 in (≈1.4D), P = 1,000 psi, S = 20,000 psi, E = 1, y = 0.4, allowance 0.065 in. |
I intrados / extrados: 1.28049 / 0.86782 — COMPUTED |
| Worked example | Problem | Headline result |
|---|
| Dead-Leg L/d Ratio Calculator (ASME BPE) |
Instrument tee off a hygienic process line: dead-leg length 50 mm, branch ID 25 mm, standard limit of 2. |
L/d ratio: 2.0 — PASS |
| Hygienic Line Slope / GSD Drainability Calculator (ASME BPE) |
A transfer line installed at 1 in of fall over 192 in of run (16 ft), drawing calls GSD1. |
Slope: 0.0625 (1/16) in/ft PASS |
| CIP Spray Device Flow Sizing Calculator (ASME BPE) |
Vertical vessel, 3 ft diameter, static spray ball with the default 2.5–3.0 gpm/ft band. |
Wetted length: 9.4248 ft COMPUTED |
| CIP Flow & Velocity Calculator (5 ft/s Rule, ASME BPE) |
2.0 in ID transfer line; find the CIP flow for 5 ft/s, then check a skid that can only deliver 60 gpm. |
Required flow @ 5 ft/s: 48.96 gpm PASS |
| PREN Calculator (Pitting Resistance Equivalent, ASME BPE) |
A 316L hygienic distribution loop. The mill certificate reports 17.0 % Cr, 2.10 % Mo and 0.050 % N; no tungsten. Stainless/duplex form. |
PREN: 24.73 — COMPUTED |
| Ferrite / Weldability Calculator (WRC-1992, ASME BPE) |
A 316L hygienic tube heat offered for autogenous orbital welding. Certificate: 17.0 % Cr, 12.0 % Ni, 0.020 % C, 0.050 % N, 2.10 % Mo, 0.010 % S. |
Cr_eq: 19.1 — PASS |
| Ra Surface-Finish Calculator (ASME BPE SF Designations) |
Incoming electropolished tube. The profilometer reads 18 µin; the drawing's SF designation carries a maximum of 20 µin. |
Measured Ra: 0.4572 µm PASS |
| Electropolish Removal & Passivation Acceptance Calculator |
An EP and passivation certification coupon: 0.5 g mass loss over 100 cm² of treated area, austenitic stainless. Surface analysis by AES gives Cr/Fe of 1.2 and an oxide layer of 20 Å. |
Removal: 6.25 µm PASS |
| Tube Weld Acceptance Calculator (ASME BPE MJ-8.4-1) |
A production coupon on 3/4 in OD × 0.065 in wall tube. Measured: concavity 0.004 in, convexity 0.005 in, misalignment 0.010 in. Limits as entered from the project's licensed Table MJ-8.4-1 for this size. |
Concavity ratio: 0.6154 — PASS |
| ASME BPE Fitting Dimensions Lookup (Part DT-4.1) |
A 2 in hygienic transfer line turns two 90° corners in the same plane. The isometric shows the two elbow centerline intersections 24 in apart. The fabricator needs the cut length of the straight between the elbows and the length of tube the orbital head will clamp on at each elbow end. |
BPE table: DT-4.1.1-1 — COMPUTED |
| Worked example | Problem | Headline result |
|---|
| Stress Intensification & Flexibility Factor Calculator (B31.3 Appendix D) |
NPS 6 Sch 40 long-radius elbow: D = 6.625 in, T = 0.28 in, R1 = 9 in — the PVP Suite selftest case. |
h — flexibility characteristic: 0.25038 — COMPUTED |
| Polymer Thermal Expansion Calculator (ASME BPE PM-4.2.3) |
A PVDF distribution run, 120 in between anchors, seeing an 80 °F swing between ambient and hot-water sanitisation. Installation temperature is known and recorded. Vendor α for the grade is 0.000079 in/in/°F. |
Effective ΔT: 80 °F COMPUTED |
| Expansion Loop / Leg Sizing Calculator (Guided Cantilever) |
2½ in (2.875 in OD) carbon-steel line, installed at 52 °F, operating at 350 °F, 100 ft anchor-to-anchor. α = 6.7×10⁻⁶ in/in·°F, E = 29×10⁶ psi, S = 15,600 psi — the published flow-sheet example. |
ΔL — thermal growth: 2.396 in COMPUTED |
| Pipe Thermal Growth Calculator (in / 100 ft) |
Steam line with tabulated expansion 2.6 in/100 ft at operating temperature, 120 ft between anchors — the PVP Suite selftest case. |
Free growth: 3.12 in COMPUTED |
| ASME B31.4 / B31.8 / B31.11 Pipeline Wall Thickness Calculator |
NPS 12 (12.75 in OD) API 5L X52 liquid transmission line to ASME B31.4 at 1,440 psi internal design pressure. Design factor F = 0.72, seamless/ERW joint factor E = 1.0, no temperature derating (T = 1.0), and no corrosion allowance taken (A = 0) so the pressure design thickness is seen bare. |
t — pressure design thickness: 0.24519 in COMPUTED |
| Pipeline MAOP Calculator — Maximum Allowable Operating Pressure (ASME B31.8 / B31.4) |
An NPS 12 gas transmission segment: 12.75 in OD, 0.250 in nominal wall, API 5L X52 pipe, designed to a 0.72 design factor with a seamless/ERW joint factor of 1.0 and no temperature derating. The strength test reached 2,200 psi and the governing code requires test pressure to be at least 1.25× the operating pressure. No component or historical cap applies. |
designPressure — pipe design pressure: 1468.235 psi COMPUTED |
| Slurry Critical Deposition Velocity Calculator (Durand–Condolios) |
A sand-water slurry in an NPS 12 line with a 12.0 in bore. The solids are silica sand at specific gravity 2.65 in a water carrier at 1.0, and the design flow is 5,000 gpm. The Durand coefficient read from the chart for this particle size and concentration is 1.34. |
VD — critical deposition velocity: 13.807 ft/s PASS |
| API RP 14E Erosional Velocity Calculator (Line Sizing) |
A clean, solids-free water line: NPS 6 schedule 40 (6.065 in bore) carrying 800 gpm at 62.4 lb/ft³. The project applies an erosional constant of C = 100 for this continuous, solids-free service. |
Ve — erosional velocity limit: 12.659 ft/s PASS |
| Pipeline Hydrostatic Test Pressure Calculator (ASME B31.4 / B31.8) |
An NPS 12 liquid line designed to ASME B31.4: 12.75 in OD × 0.250 in nominal wall in API 5L X52 (SMYS 52,000 psi), with an internal design pressure of 1,440 psi. The code test factor is 1.25, and the test is permitted to reach 100% of SMYS. |
testPressure — minimum test pressure: 1800 psi PASS |
| Thermal Expansion Table Interpolation Calculator (in/100 ft) |
A 120 ft straight run whose design temperature falls exactly between two rows of the expansion table. The engineer reads the bracketing rows for the line's material group: 0.5 in/100 ft at 100 °F and 1.5 in/100 ft at 200 °F. The design temperature is 150 °F. |
e — interpolated unit expansion: 1.0 in/100 ft COMPUTED |
| Worked example | Problem | Headline result |
|---|
| ASCE 7 Wind Load on Piping Calculator |
Bare NPS 8 (8.625 in OD) line on an outdoor rack. Basic wind speed 115 mph, Kz = 0.85 at the rack elevation, no topographic speed-up (Kzt = 1.0), Kd = 0.95, Ke = 1.0, gust factor G = 0.85, force coefficient Cf = 0.7 for the round section. |
qz — velocity pressure: 27.3387 psf COMPUTED |
| ASME B31E Seismic Design Force Calculator (Fp) |
A piping component on a rack at roof level (z/h = 1) at a high-seismic site. S<sub>DS</sub> = 1.0 g from the site hazard data; a<sub>p</sub> = 2.5, R<sub>p</sub> = 6 and I<sub>p</sub> = 1.0 taken from the governing edition for this component; operating weight W<sub>p</sub> = 1,000 lb. |
Fp raw — base equation: 500 lb COMPUTED |
| Water Hammer Calculator — Joukowsky Surge Pressure and Wave Speed |
A water line — NPS 12 Schedule 40 carbon steel, 12.0 in bore on a 0.375 in wall — running 2,000 ft from a supply vessel to a valve. Water at 62.4 lb/ft³ with a bulk modulus of 300,000 psi, steel at 29.5×10⁶ psi, thin-wall anchored restraint (c₁ = 1.0). The valve closes on a flow of 5 ft/s. |
waveSpeed — pressure wave speed a: 4099.44 ft/s COMPUTED |
| Snow and Ice Load on Piping Calculator (ASCE 7 Inputs) |
An NPS 12 bare line (12.75 in OD, no insulation) on an outdoor rack in a cold climate. ASCE 7 gives a design radial ice thickness of 0.5 in at a design ice density of 56 lb/ft³ for the site, with a design snow pressure of 20 psf. The pipe weight is left at zero so the card reports only the atmospheric load being added to the existing weight case. |
wIce — ice line load: 8.094 lb/ft COMPUTED |
| Worked example | Problem | Headline result |
|---|
| Pipe Support Spacing Calculator — Maximum Deflection-Limited Span |
4 in FRP process line, 4.5 in OD × 4.0 in ID structural laminate, long-term flexural modulus 1,000,000 psi. Operating load (pipe + contents) 2 lb/in, owner's sag limit 0.5 in, single simply supported span (c = 5/384). |
I — section moment of inertia: 7.56253 in⁴ COMPUTED |
| Variable Spring Hanger Load Variability Calculator |
General-service line on a variable spring hanger. The stress model reports a 1,000 lb operating load at the support node and 2 in of upward vertical thermal travel. The selected spring has a rate of 50 lb/in, and the project spec allows 25% variability on non-critical lines. |
Cold load P_c: 1,100 lb PASS |
| Worked example | Problem | Headline result |
|---|
| Equipment Nozzle Load Check Calculator (API 610 / NEMA SM-23) |
NPS 6 discharge nozzle on an API 610 centrifugal pump. The flexibility model delivers Fx 100, Fy 200, Fz 200 lbf and Mx 300, My 400, Mz 0 ft·lb. The allowables read from the governing standard's table for that nozzle size are 400 lbf on each force component and 600 ft·lb on each moment component. |
Resultant force FR: 300 lbf PASS |
| Flange Equivalent Pressure Calculator (Kellogg Method) |
NPS 6 Class 600 flanged joint on a hot line. Design pressure 500 psi, the flexibility analysis reports 50,000 in·lb resultant bending moment and 2,000 lbf axial tension at the flange. Gasket reaction diameter G = 6 in; the applicable B16.5 table gives a rating of 1,975 psi at the design temperature. |
Moment term 16M/(πG³): 1178.926 psi PASS |
| EN 1591-1 Bolted Flange Load-Balance Screening Calculator |
NPS 6-class gasketed joint: effective gasket diameter 8.8 in, width 1.0 in, 8× 3/4 in bolts (root area 0.302 in² each) at 25,000 psi allowable, internal pressure 300 psi. Gasket constants Q0min = 1,800 psi, Qsmin = 1,200 psi, Qmax = 15,000 psi. |
Age — effective gasket area: 27.64602 in² PASS |
| Worked example | Problem | Headline result |
|---|
| ASME B16.5 Flange Rating Calculator (Pressure–Temperature) |
A Class 300, Group 1.1 (A105) flange on a hot-oil line at 450°F design, 500 psig design pressure. 450°F falls between table rows, so the rating is interpolated. |
Rating at 450°F: 620 psig PASS |
| Pipe Trapeze / Strongback Hanger Calculator (Channel Size, Rod Size, Max Spacing) |
The rack that prompted the tool: four 30" sch 10 304 SS cooling-tower water headers (water-filled), carried on back-to-back channel strongbacks 144 in wide (pipes on 36" centres), strongbacks every 10 ft, two rods each. What channel, what rod, and is 10 ft spacing OK? |
Rack load: 1,579.7 lb/ft — 15,797 lb per strongback — PASS |
| Flange Bolt Tightening Sequence Calculator (Star Pattern Chart + Pass Torques) |
The chart case from the thread: a 12-bolt flange, crew running impacts — no torque numbers anywhere on the job. The order is the whole product. |
Tightening order: 1 – 7 – 4 – 10 – 2 – 8 – 5 – 11 – 3 – 9 – 6 – 12 — COMPUTED |
| Piping Criticality Evaluation Calculator (API 580/581 Screening Rubric) |
A toxic-service line at large bore, routed through an occupied area, running at high temperature with mild cyclic service and low corrosion. No code-check utilization has been entered yet. |
Consequence: 7 /9 COMPUTED |
| Analysis Sets: Multi-Code Piping Stress Comparison Calculator |
NPS 8 Sch 40 line (8.625 in OD × 0.322 in wall, Z = 16.81 in³) carrying 600 psi, evaluated against all four codes at once. Moment range resultants of 50,000 / 30,000 / 20,000 in·lbf (in-plane / out-plane / torsional) with SIFs ii = 2.27, io = 1.89; Sc = 20,000 psi, Sh = 17,300 psi; SL = 8,000 psi; SMYS = 35,000 psi with the default design factor F = 0.72. |
B31.1 sustained / expansion: 0.46243 / 0.28387 unity PASS |
| AISC 360 Steel Member Check Calculator (ASD) for Pipe-Support Steel |
Pipe-support leg, Ag=5 in², r=1.5 in, Z=6 in³, unbraced length 150 in, K=1.0, Fy=36 ksi, E=29000 ksi, applied Pr=25 kip axial compression and Mr=40 kip·in bending. |
KL/r — slenderness: 100 — PASS |
| EJMA Bellows Expansion Joint Rating Calculator |
24 in mean-diameter bellows expansion joint, design pressure 150 psi, with rated movements and spring rates and squirm-screening geometry supplied by the manufacturer. |
Ae — effective area: 452.38934 in² PASS |
| Welding Tee Stress Intensification Factor Calculator (B31.3 App. D / B31J) |
NPS 6 Sch 40 welding tee (6.625 in OD × 0.28 in nominal wall) per ASME B16.9 — the same pipe size the App D closed form is validated against in the PVP-parity test suite. |
h — flexibility characteristic: 0.38834 — COMPUTED |
| Worked example | Problem | Headline result |
|---|
| B31G Corroded Pipe Remaining Strength Calculator (Level 1) |
NPS 8 Sch 40 pipeline (8.625 × 0.322), corrosion patch 2.886 in long, 0.100 in deep, operating basis 800 psi. |
z — length parameter: 3.00 — FAIL |
| Charpy Arrest Energy Calculator (Battelle CVN Requirement) |
An NPS 12 gas transmission line: 12.75 in OD (6.375 in outside radius) with a 0.375 in wall, operating at a hoop stress of 40 ksi. The mill certificates for the heat report a full-size Charpy energy of 30 ft·lbf at the minimum design temperature. |
requiredCVN — Battelle arrest requirement: 23.105 ft·lbf PASS |
| Pipeline Dent Depth Screening Calculator (Plain Dents, %OD) |
An in-line inspection run on an NPS 12 line (12.75 in OD) reports a plain dent on the pipe body, away from any weld, with no associated metal loss and no gouging. Field verification confirms a maximum depth of 0.5 in from the original profile. The operator's procedure applies a 6% of OD plain-dent acceptance limit. |
depthPct — dent depth as %OD: 3.922 % of OD PASS |
| DNV-RP-F101 Corroded Pipe Calculator (Single Defect Capacity) |
An NPS 12 line, 12.75 in OD × 0.375 in wall in API 5L X52 material, with the assessment run on a tensile strength of 66,700 psi. In-line inspection reports an isolated longitudinal metal-loss defect 6 in long with a maximum depth of 0.15 in — 40% of the wall. The assessment applies a combined usage factor of 0.72, and the line operates at 1,440 psi. |
Q — length correction factor: 1.82596 — PASS |