Introduction
When gas or liquid pushes out on the inside of a pipe or tank, the wall gets stretched around its curve. That pull is called hoop stress. It is usually the biggest stress in a pressure vessel, so engineers check it first. If hoop stress gets too high, the wall can crack or burst.
This hoop stress calculator works out hoop stress from the pressure, the diameter, and the wall thickness. You can also flip it around and solve for wall thickness, pressure, or inner diameter instead. It works for both pipes (cylinders) and round tanks (spheres), in imperial or metric units.
You can pick a standard pipe size and schedule, and the tool fills in the outer diameter and wall thickness for you. It also shows longitudinal stress, radial stress, and max shear stress, plus how close your design is to the yield strength of the metal. Pipeline engineers can switch to ASME B31.8 mode to find MAOP and check the percent of SMYS.
Every answer comes with a step-by-step solution, a cross-section drawing, and charts, so you can see exactly how the numbers were found.
How to use our Hoop Stress Calculator
Enter your pipe or vessel size, the inside pressure, and (if you want) the material facts. The calculator gives you hoop stress, longitudinal stress, radial stress, max shear stress, size changes, a stress chart, and full step-by-step math.
Vessel Shape: Pick Cylinder for pipes and tanks, or Sphere for round vessels. The formula changes with the shape.
Calculation Mode: Pick Standard for basic thin-wall math. Pick ASME B31.8 to check a pipeline against code limits, MAOP, and % SMYS.
Unit System: Pick Imperial or Metric. This sets every unit menu at once. You can still change any single unit menu.
Pipe Sizing Method: Choose NPS + Schedule Lookup to fill in pipe sizes for you, or Custom Dimensions to type your own.
Nominal Pipe Size: Pick the NPS or DN size of your pipe. The outer diameter is filled in for you.
Pipe Schedule: Pick the schedule, like 40 or 80. This sets the wall thickness.
Outer Diameter (OD): Type the outside diameter of the pipe or vessel and pick a unit.
Inner Diameter (d): Type the inside diameter. It equals OD minus two wall thicknesses, so it updates on its own.
Inner Radius (r): Half of the inner diameter. Type it here if that is easier.
Wall Thickness (t): Type how thick the wall is. This is the biggest driver of hoop stress.
t/d Ratio: Type a wall-to-diameter ratio and the calculator works out the wall thickness for you.
D/t Ratio: This box fills itself. It shows outer diameter divided by wall thickness, used to check the thin-wall rule.
Cylinder Length (L): Type the length of the cylinder. It is only used for the change-in-volume answer.
Internal Pressure (P): Type the pressure inside the vessel in psi, kPa, MPa, or bar.
Young's Modulus (E): Type the stiffness of your material. Steel is about 29,000,000 psi or 200 GPa. Needed for size change results.
Poisson's Ratio (μ): Type a number with no units, often 0.3 for steel.
Material Yield Strength (σy): Type the yield strength. This runs the stress gauge that shows how close you are to yield.
Pipe Grade (API 5L / CSA): In ASME mode, pick your pipe grade, like X52. Choose Custom to type your own value.
SMYS: The minimum yield strength for that grade. It fills in on its own unless you picked Custom.
Location Class → Design Factor (F): Pick the class for where the pipeline runs. Busier areas use a lower factor.
Longitudinal Joint Factor (E): Leave it at 1.0 for seamless pipe, or tick the box to type your own value.
Temperature Derating Factor (T): Leave it at 1.0 for normal temperatures, or tick the box to lower it for hot service.
Advanced Mode: Turn this on to add weld joint efficiency to the stress math.
Weld Seam Type: Pick how the vessel is welded and tested. This sets the joint efficiency (η).
Joint Efficiency (η): A number from 0 to 1. It fills in from the seam type, or you can type it if you chose Custom.
Solve For: Pick what you want to find: hoop stress, wall thickness, pressure, or inner diameter. The boxes you need to fill will change.
Hoop Stress (σh): This is the main answer. If you are solving for thickness, pressure, or diameter, type your target hoop stress here instead.
Calculate and Reset: Press Calculate to see results, or Reset to go back to the starting sample values.
What Is Hoop Stress?
Hoop stress is the push that pressure makes inside the wall of a pipe, tank, or tube. When gas or liquid inside pushes out, the wall stretches around the circle, like a tight hoop on a barrel. That stretch is hoop stress, also called circumferential stress.
It is the biggest stress in a pressure vessel. That is why a pipe that bursts splits along its length, not around it. The wall pulls apart sideways first, because hoop stress is the strongest force acting on it.
The Hoop Stress Formula
For a thin-wall pipe or cylinder:
σh = P × d / (2t)
- σh = hoop stress (psi or MPa)
- P = pressure inside
- d = inner diameter
- t = wall thickness
For a sphere, the wall shares the load in two ways, so the stress is cut in half:
σh = P × d / (4t)
The math shows what makes sense: more pressure or a wider pipe means more stress. A thicker wall means less stress.
Hoop Stress vs. Longitudinal Stress
A closed pipe also gets pulled end to end. That is longitudinal (axial) stress, and it is always half of the hoop stress:
σl = P × d / (4t) = σh / 2
There is a third one, radial stress, which squeezes the wall inward. In thin walls it is small, so designers mostly ignore it. Hoop stress is the one that rules the design.
Thin Wall or Thick Wall?
The simple formula only works when the wall is thin next to the radius. The common rule is t/r less than 0.1, or D/t greater than 20. If the wall is thicker than that, stress is not even across the wall. It is higher on the inside face. For those cases engineers use Lamé's thick-wall equations instead.
ASME B31.8 and Pipelines
Gas pipelines follow the ASME B31.8 code. It uses the Barlow formula with the outer diameter, which is safer because it gives a slightly higher stress:
S = P × OD / (2t)
The code then limits how much of the steel's strength you may use. It compares stress to SMYS (Specified Minimum Yield Strength) after cutting it down with factors:
- F is the design factor, set by location class (0.40 to 0.80). Pipes near homes and cities get lower numbers.
- E is the joint factor, based on how the pipe seam was welded.
- T is the temperature factor, which drops when the pipe runs hot.
From these you get MAOP, the highest pressure the line is allowed to carry:
MAOP = 2 × t × SMYS × F × E × T / OD
Weld Joint Efficiency
A welded seam is often weaker than solid steel. Joint efficiency (η) accounts for that. Seamless pipe and fully X-rayed welds get η = 1.0. Spot-checked welds get about 0.85, and welds with no X-ray check get about 0.70. Divide by η and the stress goes up, so a weaker seam needs a thicker wall.
Why It Matters
Hoop stress sets the wall thickness of boilers, gas lines, water mains, air tanks, scuba cylinders, and hydraulic tubing. Pick a wall that is too thin and the part yields, bulges, or bursts. Pick one far too thick and you waste steel and money. Good design keeps hoop stress well under the yield strength, usually with a safety factor of about 1.5 or more.