SAMPLE
Piping Toolset — Calculation Report
generated by calc-core · 2026-07-31

Pipeline MAOP Calculator — Maximum Allowable Operating Pressure (ASME B31.8 / B31.4) — Sample Report

ProjectSample Project — Demonstration Only Job No.SAMPLE-001 Client
CalculationPipeline MAOP Calculator — Maximum Allowable Operating Pressure (ASME B31.8 / B31.4) Calc byPiping Toolset (calc-core) Checked byUNCHECKED — sample
Date2026-07-31 Rev0 BasisASME B31.8 ¶845.2.2 / B31.4 ¶403 — lowest of pipe design pressure, test-qualified pressure Pt/factor, and component/historical cap

1 · Design inputs

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.

CodeB31.8
Outside diameter D12.75in
Nominal wall t0.25in
SMYS52,000psi
Design factor F0.72
Joint factor E1.0
Derating T1.0
Test pressure Pt2,200psi
Test factor1.25
Other cap0 (none)psi

2 · Method

Three candidate ceilings are computed or accepted, and the minimum is reported with its basis.

1 — Pipe design pressure. Barlow form with the pipeline design factors applied to SMYS, identical to the form used by ASME B31.8 ¶841.1.1, B31.4 ¶403.2.1 and B31.11:

Pdesign = 2 · t · SMYS · F · E · T / D

2 — Test-qualified pressure. The strength test only substantiates the pressure it actually reached, reduced by the ratio the code requires between test and operating pressure (commonly 1.25 for gas transmission in the higher location classes, and 1.25 or 1.5 elsewhere — enter the value your code and class require):

Ptest = Pt / (test factor)

3 — Other cap. Any additional limit that is not the line pipe: the lowest-rated flange, valve, or fitting in the segment; a manufacturer's pressure rating; or a historical, grandfathered or previously-established MAOP that the operator is not permitted to exceed. Entered directly; 0 disables the check rather than forcing the answer to zero.

MAOP = min ( Pdesign , Ptest , Pother )

The engine reports governing as one of design, test or other. That output matters more than it looks: two segments can share an MAOP number and be in completely different positions, one limited by steel it cannot get back and one limited by a flange that could be swapped in a shutdown. When the test governs, the calculator raises a warning — a test-limited MAOP means the pipe you bought is not fully qualified by the test you ran, and that gap is either a retest opportunity or an unrecognised derate, depending on how it happened.

Inputs are validated rather than trusted: D and t must be positive with t < D/2, SMYS positive, and F, E and T each within (0, 1]. A factor greater than 1 is rejected outright — it is the most common way a units or transcription error silently inflates an MAOP.

3 · Calculation

  1. Pipe design pressure: Pdesign = 2·t·SMYS·F·E·T/D = 2·0.25·52,000·0.72·1·1 / 12.75.
  2. Numerator: 2·0.25 = 0.5; 0.5·52,000 = 26,000; 26,000·0.72 = 18,720 lb/in.
  3. Divide by the diameter: 18,720 / 12.75 = 1,468.235 psi.
  4. Test-qualified pressure: Ptest = Pt / 1.25 = 2,200 / 1.25 = 1,760 psi.
  5. Other cap is 0, so it is not applied. MAOP = min(1,468.235 , 1,760) = 1,468.235 psi, and the governing basis is design — the pipe, not the test, is the limit.

4 · Results COMPUTED

designPressure — pipe design pressure1468.235psi
testDerived — test-qualified pressure1760psi
maop — governing MAOP1468.235psi
governing — basisdesign

5 · Verification statement

The result values above are locked as fixture pipeline-maop.json, case “design governs: NPS 12 X52 F=0.72, Pt=2200”, tolerance 0.001, in the calc-core continuous verification gate (see https://pipingtoolset.com/trust/validation.html). Allowable-stress and factor data are user-supplied inputs; citations: ASME B31.8, Gas Transmission and Distribution Piping Systems — ¶841.1.1 design pressure for steel pipe; ¶845.2.2 maximum allowable operating pressure, including the test-pressure and component-rating limits. · ASME B31.4, Pipeline Transportation Systems for Liquids and Slurries — ¶403.2.1 internal design pressure; the maximum operating pressure provisions of the same edition. · API 5L, Line Pipe — source of SMYS and of the manufacturing process that governs the longitudinal joint factor E; entered by the user. · ASME B16.5, Pipe Flanges and Flanged Fittings — where a flanged component establishes the otherLimit cap, its pressure-temperature rating comes from here.

SAMPLE REPORT — auto-generated from a verification fixture to show the report format. Not a project calculation. ⚠ Engineering-aid tool. Public code equations; allowable-stress and factor data are user-supplied. Results MUST be independently verified and reviewed by a qualified/licensed engineer before any design, fabrication, or operation decision.