How Do B16.5 P-T Ratings Maximize B31.3 Wall Thickness?

Erik Lindqvist7 min read
Other ManufacturerOther TopicTechnical Reference
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

Pairing each B16.5 Class 300 pressure rating with the B31.3 allowable stress at the same temperature identifies the controlling pipe-wall case. For the cited A105 calculation, the reported maximum occurs near 399°C at approximately 34.7 bar(g); an older calculation using the 1996 editions placed it at 398.9°C and 35.3 bar. Those values belong to their respective code editions and must not be mixed.

Governing pressure-to-stress ratio

The number that matters is not pressure or allowable stress alone. For straight pipe with t < D/6, B31.3 equation (3a) was applied as:

t = PD / [2(SEW + PY)]

Dividing by outside diameter gives the plotted thickness factor:

t/D = P / [2(SEW + PY)]

For the cited calculation, E = 1 and W = 1, so:

t/D = P / [2(S + PY)]

Pressure P raises the required thickness, while allowable stress S lowers it. Temperature affects both quantities: the B16.5 flange rating pressure decreases with temperature, and the B31.3 allowable stress also decreases. The controlling temperature is therefore the point where their combined ratio produces the largest t/D, not necessarily the highest temperature or pressure.

Quantity Role in the calculation Where to obtain it
P Applicable Class 300 flange rating pressure at the calculation temperature B16.5 pressure-temperature table for the material group and edition in force
S Allowable stress at the same temperature B31.3 Appendix A for the selected material and edition
E Longitudinal weld quality factor B31.3 material and construction requirements; the cited case used 1
W Weld-joint strength reduction factor B31.3 requirements at the selected temperature; the cited case used 1
Y Pressure coefficient in the denominator The applicable B31.3 table and conditions
D Pipe outside diameter Selected pipe dimensional specification

Candidate design approaches

Two calculation approaches answer different questions. A constant-pressure sweep shows the thermal effect on allowable stress. A paired pressure-temperature sweep searches the flange rating envelope for the largest required pipe-wall factor.

Approach Pressure input What the curve represents Appropriate use
Constant-pressure sweep One pressure at every temperature, such as the cited 51.1 bar(g) rating at 38°C Primarily the change in S, with any temperature dependence of W or Y retained Checking the equation, spreadsheet references, and allowable-stress profile
Paired B16.5/B31.3 sweep B16.5 rating pressure at each corresponding temperature The interaction of falling flange rating pressure and falling allowable stress Selecting the pressure-temperature combination that maximizes pipe-wall thickness for a piping class

Use the paired sweep for pipe-class optimization. Holding the 38°C pressure across the full temperature range answers a different, more conservative hypothetical question and does not reproduce the B16.5 Class 300 pressure-temperature envelope.

Multiple local maxima

A monotonic decrease in allowable stress does not require a monotonic increase in calculated thickness. This is heat and pressure acting through the same denominator. When the flange rating pressure falls fast enough, it offsets the reduction in allowable stress; when allowable stress falls faster, the thickness factor rises.

Tabulated pressure ratings and allowable stresses commonly change by temperature intervals rather than by a single continuous analytic relationship. The ratio P/[2(S + PY)] can consequently rise, flatten, and fall several times. A chart may display more than one local maximum even when every row is calculated correctly.

Observed result Likely cause Diagnostic
Curve follows the allowable-stress profile A fixed pressure was copied through the temperature range Inspect the P cell references and compare them with the B16.5 temperature rows
Several peaks appear Pressure and stress tables change at different temperature breakpoints Calculate and rank the numerical t/D values instead of selecting the highest chart pixel
Chart does not reflect edited inputs The workbook or chart has not recalculated or refreshed Force a full recalculation, then compare plotted points with the worksheet cells
Maximum shifts between documents Different B16.5 or B31.3 editions supply different ratings or stresses Record the edition beside every input table and rebuild the calculation with one matched basis
Unexpected discontinuity A wrong material row, temperature row, unit conversion, or factor was selected Trace P, S, E, W, and Y for the rows immediately before and after the jump

Recommended envelope search

Build one row for every governing temperature breakpoint from both standards. At each row, pair the B16.5 rating pressure with the B31.3 allowable stress for that same temperature. Where the two tables use different temperature grids, apply only the interpolation or temperature-selection rule prescribed by the applicable edition; an unapproved spreadsheet interpolation can create a false maximum between listed points.

Calculate the dimensionless factor t/D first. This separates the pressure-temperature optimization from pipe size. If E, W, and Y remain unchanged over the range, the temperature producing the largest t/D also produces the largest pressure-design thickness for every outside diameter evaluated by the same equation.

The cited paired calculation for an A105 Class 300 basis found the maximum near 399°C using approximately 34.7 bar(g). The earlier Chiyoda pipe-class value was 398.9°C and 35.3 bar using the 1996 editions of B16.5 and B31.3. Treat the difference as an edition-dependent input change, not as rounding of one universal design point.

Calculation procedure

  1. Fix the design basis. Record the B16.5 edition, B31.3 edition, flange class, material group, pipe material, pressure units, temperature units, corrosion allowance, mechanical allowance, and mill tolerance treatment.

  2. List the B16.5 Class 300 pressure ratings across the required temperature range. The cited study extended to 425°C and recognized the single-bar caution associated with the B31.3 Appendix A allowable-stress table.

  3. Enter the applicable B31.3 allowable stress S at each matching temperature. Use the allowable stress for the pipe material being sized. If A105 flange-hub stress is being used as a screening basis, label that choice explicitly so it is not mistaken for the final pipe-material calculation.

  4. Enter E, W, and Y from the applicable B31.3 rules. The cited calculation used E = 1 and W = 1; retain those values only when the actual construction and temperature conditions permit them.

  5. Calculate t/D = P/[2(SEW + PY)] for every temperature row. Keep units consistent so P and S use the same pressure unit.

  6. Sort or rank the calculated factors from largest to smallest. Review neighboring rows around every local maximum and include all table breakpoints that could govern.

  7. For the controlling row, calculate t = D(t/D). Then add corrosion and mechanical allowances and apply the specified mill-tolerance method when selecting nominal wall thickness.

  8. Recheck the equation's applicability using the resulting thickness and stress ratio. If the result reaches an equation boundary, leave the thin-wall workflow and perform the special analysis required by the governing edition.

Equation limits and design boundaries

The straight-pipe equation is not a flange-design equation. B16.5 supplies the rated pressure for a standardized flange; B31.3 equation (3a) sizes straight pipe under internal pressure. A purchased flange is selected from its applicable pressure-temperature rating, while a custom flange requires its own flange-design method. B31.3 permits flange design using BPV Code Section VIII, Division 1, Appendix 2 with B31.3 allowable stresses and temperature limits, but that analysis is separate from pipe-wall optimization.

The B31.3-2008 wording cited for equation (3a) applies it where t < D/6. It also calls for special consideration when t ≥ D/6 or P/(SE) > 0.385, including failure theory, fatigue effects, and thermal stress. When another edition governs the project, verify its equation limits and definitions directly rather than importing the 2008 thresholds without review.

The pressure-design thickness is only one component of the selected nominal wall. Corrosion allowance, mechanical allowance, manufacturing tolerance, branch reinforcement, external loads, thermal expansion, fatigue, and other applicable design checks can control the final pipe schedule. The pressure-temperature optimization chooses a basis for the internal-pressure calculation; it does not replace those checks.

Spreadsheet and result verification

Verify the controlling result numerically before accepting the chart. Recalculate the maximum row and its adjacent rows by hand or in an independent worksheet. Substitute the selected P, S, E, W, and Y directly into equation (3a), then confirm that multiplying t/D by D reproduces the pressure-design thickness.

Run a constant-pressure diagnostic using the cited 51.1 bar(g) rating at 38°C across the temperature range. With other factors unchanged, this curve should track the allowable-stress behavior. It is a diagnostic trace only; restore the temperature-dependent B16.5 pressures before choosing the pipe-class maximum.

Finally, verify edition control. A calculation based on B16.5-2003 and B31.3-2004 must use the pressure ratings, stress values, factors, cautions, and equation requirements from those editions. The 398.9°C/35.3 bar result from the 1996 basis and the reported 399°C/34.7 bar(g) result are separate design records.

Frequently asked questions

What happens if I use the 38°C flange pressure at every temperature?

The calculated curve mainly follows the reduction in allowable stress and no longer represents the B16.5 Class 300 pressure-temperature envelope. Use that sweep to diagnose the spreadsheet, then restore the corresponding rating pressure for each temperature.

What happens if the B16.5 wall-thickness plot has several maximums?

Rank the calculated t/D values and inspect each temperature breakpoint; falling pressure and falling allowable stress can create several local peaks. Select the largest numerical value, not the peak that looks highest on the chart.

What happens if the result reaches t = D/6 or P/(SE) = 0.385?

Stop using the cited B31.3-2008 thin-wall workflow and check the special-consideration requirements in the project’s governing edition. Escalate unresolved equation applicability, material-table cautions, or edition conflicts to the flange manufacturer or official ASME technical support before releasing the pipe class.

Back to blog