Formula used
Pipe MAWP: P = 2 × S × K × te ÷ (D − 2 × Y × te)
Required pressure wall: t = P × D ÷ [2 × (S × K + P × Y)]
Effective wall: te = available wall − corrosion − erosion − mechanical − threading allowances
Derating factor: allowable stress at design temperature ÷ allowable stress at reference temperature
K is the product of the selected joint, weld, strength, quality, design, service, cyclic, corrosion, and material factors. The exact governing equation, coefficient limits, and allowable-stress source must match the approved code edition and piping specification.
How to use this calculator
- Select the governing piping or flange standard and record the approved edition.
- Choose a material preset for demonstration or enter a verified custom stress table.
- Enter pipe diameter, nominal wall, measured wall, mill tolerance, and allowances.
- Add design, operating, external, static-head, surge, and test conditions.
- Enter verified joint, weld, quality, service, cyclic, and material coefficients.
- Provide listed flange and component ratings whenever approved table values are available.
- Calculate, review the governing component, inspect warnings, and export the report.
Example data
| Input | Example | Purpose |
|---|---|---|
| Outside diameter | 114.3 mm | Defines pipe geometry. |
| Measured wall | 5.70 mm | Represents current available thickness. |
| Corrosion allowance | 1.50 mm | Reserves future wall loss. |
| Design pressure | 3.0 MPa | Sets the primary pressure demand. |
| Design temperature | 250 °C | Selects temperature-dependent allowable stress. |
| Flange class | Class 300 | Provides a component rating basis. |
Engineering notes and limitations
This calculator provides a transparent preliminary assessment. It does not reproduce proprietary code tables, certify a design, or replace engineering review.
Listed components may be limited by material group, size, class, gasket, bolting, manufacturing method, service category, cyclic loading, creep, brittle fracture, external pressure, or local loads. Confirm every input against approved documents.
Nonmetallic piping, lined systems, reinforced thermoplastics, fiberglass pipe, cast materials, and manufacturer-rated products often require different equations. Use verified manufacturer data and applicable standards.
Frequently asked questions
What is pressure-temperature derating?
It is the reduction of allowable pressure as material or component capacity changes with temperature.
Why can a flange govern instead of the pipe?
The complete piping assembly is limited by its lowest-rated pressure-containing component.
Should measured wall thickness include mill tolerance?
A verified measured thickness normally represents actual wall. Project procedures determine additional deductions.
Can allowable stress be extrapolated?
Extrapolation is normally unsuitable unless the governing standard or approved data source explicitly permits it.
Does this calculator check external pressure?
No. Vacuum and external pressure require separate collapse, ovality, stiffness, and buckling checks.
What does the Y coefficient represent?
It is a code-dependent coefficient used in certain pressure-design equations.
Why is the hydrotest value only an estimate?
Actual test pressure depends on code rules, stress ratios, component limits, and test conditions.
How is maximum permitted temperature found?
The calculator scans the entered stress range and identifies the highest temperature meeting demand.
Can I use this result for final design approval?
No. A qualified engineer must verify materials, tables, equations, loads, fabrication, and service requirements.