ASME B31.3 · internal & external pressure

Pipe Wall Thickness Calculator

Enter design pressure, material and size — this ASME B31.3 pipe thickness calculator returns the pressure design wall, the minimum wall with your corrosion allowance, the hoop stress any schedule will carry, and the first commercial schedule that meets the requirement.

Thickness & schedule solver

t = P·D / (2·(S·E + P·Y)) · Y = 0.4 · ambient service

The process-piping default, −20 to 750 °F

0 = stainless clean duty · 5 = standard CS · 12 = severe

Design thickness t

0.162"

pressure term only, before allowance

Minimum wall t + CA

0.212"

what you must order or exceed

First schedule up

Sch 40

0.280" wall

Sch 40 (0.280" wall) meets the requirement

Hoop stress at this wall: 11830 psi — 59% of the 20,000 psi allowable for Carbon steel A106-B / A53-B.

External pressure check (vacuum / burial) — Sch 40 wall

Theoretical collapse ÷ design factor 3 ≈ 1604 psi allowable external. A full vacuum is 14.7 psi — fine with margin to spare.

OD used: 6.625" (6") · E = 1.0 · Y = 0.4

The schedule ladder for 6" — every wall, judged live

Each row shows the commercial wall for 6", whether it meets the t_min your inputs produced (0.212"), and a Barlow-basis pressure orientation (P = 2·S·t/D — an ordering compass, not a code rating). The rows flip as you change pressure, material or allowance above.

ScheduleWall (in)vs t_min 0.212"Barlow orientation
Sch 40First passSelected0.280 meets1.7 ksi
Sch 800.432 meets2.6 ksi
Sch 1600.719 meets4.3 ksi

💡 Why the ladder jumps

Schedule walls do not grow smoothly — 6" goes 0.280 → 0.432 → 0.719". The Barlow column shows the same jump in pressure terms, which is why high-pressure lines leap two or three schedules at once and low-pressure lines ride Sch 10 forever. Cost follows the ladder too: wall is money per foot.

Pipe wall thickness calculation, from formula to schedule

Every term of the B31.3 equation, the hoop-stress comparison, external pressure, design pressure selection, and the material-by-material notes — with numbers you can reproduce in the calculator above.

The formula for pipe wall thickness, term by term

ASME B31.3 sizes pipe for internal pressure with t = P·D / (2·(S·E + P·Y)). Read it as a tug-of-war: the numerator is what pressure pries the wall apart with, the denominator is what the material resists with. P is design pressure, D is the outside diameter — deliberately OD, not ID, because the OD is the one dimension every schedule keeps constant. S is the basic allowable stress from B31.3 Table A-1 — 20,000 psi for A106-B carbon steel, 16,700 for 304/316 stainless, 8,000 for 6061-T6 aluminum at ambient.

The two correction factors guard against honest fabrication. E is the joint quality factor: seamless pipe welds nothing longitudinally so E = 1.0, while ERW tube carries a seam whose long-term reliability earns E = 0.85 — a 15% thickness penalty that pays for itself the first time a seam inspection question disappears. Y is the creep redistribution coefficient: 0.4 for steels at ambient, rising toward 0.7 at high temperature as the metal flows and redistributes hoop stress into the longitudinal direction.

Then comes the number people forget: corrosion allowance. The formula gives the wall that carries pressure on the day of installation; the CA adds back the metal you are willing to lose over the design life. Carbon steel in water service conventionally gets 0.05 in; sour or erosive duty 0.08–0.12; stainless in clean service can run 0. The minimum ordering wall is t + CA, and the schedule you buy is the first commercial wall at or above it — that is the ladder the calculator renders live.

⚠️ The mill tolerance you don’t control

Pipe mills deliver wall as “±12.5%” on seamless product — a 0.280" nominal wall may legally arrive at 0.245". B31.3’s design-to-minimum philosophy expects you to account for it: many practitioners order one schedule up whenever t_min lands within 12.5% of a schedule wall, or verify actual measured wall on critical lines. Nominal is a name, not a guarantee.

Hoop stress in a pipe: the stress that sets the wall

Internal pressure generates two stresses, and they are not equal. Hoop (circumferential) stress stretches the ring around the pipe: S_h = P·D/(2·t). Longitudinal stress stretches the pipe along its axis: S_l = P·D/(4·t) — exactly half. Pressure is trying to split the pipe open like a zipper along its length, and the wall that resists that split is the wall the formula computes. It is also why pipe seams run longitudinal and why a corroded band fails by splitting, not unzipping.

Calculating hoop stress is the verification half of any thickness job. Take 1,000 psi on 6-inch Sch 40: S_h = 1,000 × 6.625 / (2 × 0.280) = 11,830 psi. Against A106-B’s 20,000 psi allowable, the wall works at 59% — a healthy margin that exists because Sch 40 was standardized near legacy pressure classes, not because 59% is magic. Run the same pressure on Sch 10 (0.134 wall): S_h = 24,720 psi, 124% of allowable, instant red flag. The calculator paints this utilization bar for whichever schedule you select.

Where does the margin go? Into everything the formula does not model: bend thinning, support loads, thermal cycling, surge, and the corrosion allowance you already banked. A line running above about 80% utilization with its CA spent leaves nothing for surprise — that is the point to re-rate, re-lay or re-schedule, not to argue the stress number down.

External pressure calculation for pipe: vacuum and burial

Turn the pressure around and the physics changes character. External pressure does not tear the pipe — it buckles it, and buckling arrives at stresses far below yield. The thin-tube theoretical collapse pressure is P_cr = 2E/(1−ν²) · (t/D)³, and the cube is the whole story: halve the wall and the collapse pressure falls eightfold. Real pipe collapses earlier than theory because no tube is perfectly round, which is why designs divide by 3 or more and formal work uses the ASME II-D external pressure charts.

The reassuring arithmetic is that vacuum is a small number. A full vacuum is 14.7 psi external, and even 6-inch Sch 10 (0.134 in wall) rates roughly 175 psi allowable external by the ÷3 rule — an order of magnitude clear. The lines that actually collapse are large-diameter thin-wall ducts, jacketed pipe with a vacuum in the annulus, and tanks; standard pipe schedules treat vacuum as a non-event, and the calculator’s external check says so numerically.

Burial is a different exam. A buried pipe sees soil overburden and traffic loads transferred through the soil column, and if the water table rises above the crown, hydrostatic uplift adds the full depth-of-cover pressure. Flexible pipe (HDPE, PVC, corrugated steel) carries these loads by interacting with the soil — ring stiffness and compaction govern, measured by deflection rather than wall stress. That side of the problem is handled with the buoyancy and deflection checks in our plastic pipe weight calculator, which pairs this thickness work for buried installations.

Large steel pipe sections in a fabrication yard awaiting wall inspectionThe wall is the design: every schedule step is a decision about pressurePhoto: Unsplash

Design pressure calculation for pipe: setting P correctly

The thickness formula is exact; the pressure you feed it is a judgment, and it is the judgment that decides whether the wall means anything. Design pressure is the most severe coincident pressure-and-temperature condition expected in normal operation — B31.3’s own words, nearly. Practically: for a pump circuit, take the pump’s maximum differential head with the discharge dead-headed into relief, not the nameplate duty point. For a city-fed branch, take the street main’s high reading plus static gain to the lowest point. For a line with a control valve that can slam, add the surge estimate.

Three numbers commonly get confused. Operating pressure is where the gauge sits on an ordinary Tuesday. Design pressure is the envelope the wall must survive including upsets. Test pressure — typically 1.5× design — is a short, controlled proof event. Sizing the wall to operating pressure is how lines end up one upset away from the repairs nobody budgets; specifying test pressure as design is how systems end up 50% over-walled and over-priced.

A worked setting: a booster pump adds 90 psi to a street main that reads 45–80 psi through the year, dead-head head is 130 psi, and the lowest fixture sits 10 ft below the main. Design pressure = 80 + 90 with the pump off is not the governing case — the governing case is dead-head: 45 + 130 = 175 psi, plus a 10% surge margin = 193 psi. Feed 193, not 90, into the calculator and the schedule it returns is one that survives the valve closing.

❌ Don’t average the upsets

Design pressure is a maximum, not a mean. Averaging annual gauge readings, ignoring the dead-head case, or treating relief set point as a “never-happens” figure are the three classic inputs that produce walls that calculate fine and fail anyway. When in doubt, size to the worst credible coincidence of pressure and temperature and sleep at night.

Material notes: carbon steel, stainless, aluminum, ductile iron

Carbon steel A106-B / A53-B is the default for a reason: S = 20,000 psi at ambient, good to 750 °F, and the cheapest wall per psi it carries. Its weakness is corrosion, which is why every carbon-steel job needs an honest CA and a corrosion-rate conversation. 1,000 psi on 6-inch with a 0.05 allowance lands at Sch 40 with 59% utilization — room for the steel to spend itself over a 20-year life.

Stainless 304/316 trades a lower allowable (16,700 psi) for near-zero corrosion spend, so its CA is often zero and the thickness math runs to the raw formula. A useful surprise: at the same size and pressure, 304 usually needs the same schedule as carbon steel or one step down once the CA is counted — the premium buys corrosion life, not pressure rating. Aluminum 6061-T6 (S = 8,000 psi, modulus 10 Msi) needs roughly 2.5× the wall of A106-B at equal pressure and buckles earlier under external pressure — the price of 0.098 lb/in³ density and cryogenic friendliness.

Ductile iron 60-42-18 is designed under its own system — AWWA C150 thickness design with its own safety factors, trench classes and laying conditions — not B31.3. Using this page’s 20,000 psi basis for DI gives a reasonable cross-check, but the governing document for a water main is C150/C151: net wall adds service allowance and casting tolerance on top of pressure design. For the metal-density side of DI versus plastics, the pipe fitting weight calculator and the weight toolset share the numbers.

Wall thickness & hoop stress: frequently asked questions

Numeric answers to the questions this page is searched for — every figure reproducible in the calculator above.

What is the ASME B31.3 pipe thickness formula?

t = P·D / (2·(S·E + P·Y)), where P is internal design pressure, D is pipe outside diameter, S is the basic allowable stress of the material at design temperature, E is the longitudinal joint quality factor (1.0 seamless, 0.85 ERW) and Y is a temperature-dependent coefficient — 0.4 for steels at ambient service. Example: 1,000 psi on 6-inch pipe (OD 6.625") in A106-B needs t = 1,000 × 6.625 / (2 × (20,000 + 400)) = 0.162 in; add your corrosion allowance to get the minimum wall you can order.

How do you calculate pipe wall thickness?

Three steps. First compute the pressure design thickness with the B31.3 formula above. Second add the corrosion allowance — commonly 0.05 in for carbon steel in water service, up to 0.12 in where erosion or known corrosion rates apply — to get t_min. Third open the schedule table and pick the first commercial wall at or above t_min. For 1,000 psi on 6-inch A106-B with 0.05 in allowance, t_min is 0.212 in and Sch 40 (0.280 in) is the match; at 1,500 psi, t_min climbs to 0.291 in and you step up to Sch 60 (0.375 in).

How do you calculate hoop stress in a pipe?

Hoop (circumferential) stress is S_h = P·D / (2·t), with D the outside diameter and t the actual wall. It is the stress the pressure generates around the ring of the pipe, and it is always twice the longitudinal stress — which is why welded seams fail lengthwise and why the thickness formula targets it. Example: 1,000 psi on 6-inch Sch 40 (t = 0.280) gives S_h = 1,000 × 6.625 / 0.56 = 11,830 psi — 59% of A106-B's 20,000 psi allowable. The calculator shows this utilization for whichever schedule you select.

What is design pressure for a pipe?

Design pressure is the most severe pressure the line will see in normal operation, coordinated with design temperature — not the test pressure and not the relief set point. A pump circuit takes the maximum discharge pressure with the system dead-headed into the relief valve; a city-water branch takes the street main's maximum plus any static gain. Rules of thumb: never less than the highest operating pressure, and check the case where a control valve closes fast — surge can briefly exceed it, which is why many specs add 10% margin.

How does external pressure affect wall thickness?

External pressure (vacuum, buried line below the water table, jacketed pipe) is a stability problem, not a strength problem: the wall can buckle at stresses far below yield. The theoretical thin-tube collapse pressure is P_cr = 2E/(1−ν²) × (t/D)³, and real pipe collapses lower because of out-of-roundness, so designs divide by 3 or more and code work uses ASME II-D charts. The good news: vacuum is easy — 6-inch Sch 10 (0.134 in wall) handles a full 14.7 psi vacuum with a large margin. Buried HDPE and steel under traffic loads need stiffness and deflection checks on top.

What schedule do I need for my pressure?

It depends on size and material, which is why the schedule ladder in the calculator is computed for your inputs. Rough anchors for 6-inch A106-B at ambient with a 0.05 in allowance: Sch 40 carries about 1,400 psi on the design formula, Sch 80 about 2,900 psi, and Sch 160 well past 5,000 psi. Smaller bores carry proportionally more — 1-inch Sch 40 spans roughly 3,800 psi — because pressure demand scales with OD while wall per schedule scales slower.

What corrosion allowance should I use?

Use the measured or predicted corrosion rate times design life, with a floor. Typical starting points: 0.02 in for benign treated water in stainless, 0.05 in for carbon steel in ordinary water service, 0.08–0.12 in for sour, erosive or heavily aerated duty, and essentially zero for aluminum or lined pipe where the medium is compatible. If the line will be inspected, wall-loss monitoring can justify less; if it is buried and uninspectable, be generous — the steel you order is the steel you live with.

Is Schedule 40 always enough?

No — it is the most common wall, not a safety blanket. Sch 40 is sized near the pressure class of legacy 150-psi steam and water systems; modern high-pressure process lines routinely need Sch 80 or 160, and large-diameter low-pressure lines are often fine in Sch 10. The other failure direction matters too: Sch 40 in corrosive service can spend its allowance early, so the correct answer comes from the formula plus the corrosion allowance — never from habit. Run your actual pressure through the calculator before ordering.

Engineering reference — not a certified design

This calculator implements the ASME B31.3 pressure-design equations for education and preliminary sizing. It does not replace the code book, the material certificates, or a stamped engineer’s review. Allowable stresses vary with temperature and product form; external pressure formally requires the ASME II-D charts; and ductile iron follows AWWA C150, not B31.3. Never order material or put a pressurized system into service on the strength of a web tool alone — final thickness decisions belong to the piping engineer of record.

Related Resources

🛢️

Pipe Volume Calculator

Bore capacity of any pipe in gallons, litres, m³ and ft³ — w...

💨

Pipe Flow Rate Calculator

Flow rate, velocity and max flow through a pipe from diamete...

📏

Pipe Size Calculator

Find the right pipe diameter from flow rate and velocity — G...

📉

Pipe Pressure Drop Calculator

Darcy-Weisbach pressure drop and friction loss per 100 ft fo...

🌊

Gravity Pipe Flow Calculator

Manning equation flow for gravity sewers, storm drains and c...

🌬️

Air Flow Calculator

CFM flow and pressure drop for compressed air lines — size s...

🌡️

Thermal Expansion Calculator

Pipe growth from ΔL = α·L·ΔT for steel, copper, PVC and HDPE...

📐

Pipe Dimension Calculator

NPS, DN, OD, ID, wall and circumference in one converter — c...

🌀

Reynolds Number Calculator

Reynolds number for any pipe flow from size, velocity and fl...

🔥

Pipe Insulation Calculator

Surface area, insulation volume and heat loss for any pipe r...

🟦

Square Tube Weight Calculator

Weight of square and rectangular hollow sections from side, ...

🟢

Pipe Surface Area Calculator

Pipe outside surface area, cross-sectional area, wetted peri...

🔥

Gas Pipe Size Calculator

Size natural gas and propane lines from BTU input — choose p...

💨

Gas Pipe Flow Calculator

Gas pipe flow estimate and BTU capacity pipe size table for ...

🔩

Pipe Fitting Weight Calculator

Weight estimate for butt-weld elbows, tees, reducers, caps a...

📐

Pipe Bending Calculator

Pipe bend length, setback, offset and segmented cut angles —...

🔄

GPM to PSI Calculator

Convert GPM to PSI pressure drop or calculate GPM from PSI a...

🔧

Fittings Pressure Drop Calculator

Equivalent length and friction loss for elbows, tees, valves...

🪶

Plastic Pipe Weight Calculator

Weight per foot for PVC Sch 40 and 80, CPVC, HDPE and PEX — ...

Part of the Pipe Calculator toolset — free, in-browser, and no sign-up. Browse all calculators