Pressure Vessel Stress Calculator Back
Structural Analysis Tool

Pressure Vessel Stress Calculator
Thin-Wall, Thick-Wall & Lamé Equations

Real-time calculation of through-wall stress distributions in pressure vessels using the Lamé equations. Automatic thin/thick-wall classification, ASME minimum wall thickness evaluation, and von Mises stress distribution visualization.

Parameter Settings
Inner radius r_i
mm
Wall thickness t
mm
Internal pressure p_i
kPa
External pressure p_o
kPa
Material
Geometry
Classification criterion
t/r_i < 0.1 → Thin-wall approximation valid
t/r_i ≥ 0.1 → Thick-wall (Lamé required)
Results
σ_θ max (hoop)
MPa
σ_r inner wall
MPa
σ_vM max
MPa
Safety Factor S.F.
σ_Y / σ_vM
t/R Ratio
Thin-wall check
ASME t_min
mm
Through-Wall Stress Distribution — Lamé Equations
Cross-Section (inner wall = high stress)

What Is Internal Pressure Vessel Stress Analysis?

🙋
This simulator automatically classifies the vessel as thin-walled or thick-walled. What is the difference?
🎓
It mainly depends on the ratio between wall thickness and radius. A high-pressure gas cylinder is typically thick-walled, while the shell of a beverage can is thin-walled. This tool calculates the ratio between the entered inner radius and wall thickness, t/r_i, and classifies the vessel as thick-walled when it is 0.1 or greater. Move the wall-thickness slider upward and you will see the classification change.
🙋
So does the calculation change for thin-walled cases? The description says the tool always uses the Lamé equations.
🎓
Correct. In practice, thin-walled vessels are often estimated with the simple formula $\sigma_\theta \approx p \cdot r / t$, but this tool uses the more general Lamé solution in every case. Even when the vessel is labeled thin-walled, the internal calculation remains the same thick-wall formulation, giving a more precise stress distribution. Try switching the material to steel and increasing the internal pressure to see the inner-wall stress rise quickly.
🙋
Got it. What is the von Mises stress shown in the graph, and should I look at it or the hoop stress?
🎓
Hoop stress is one directional stress component, while material yielding depends on the combined stress state. Von Mises stress combines those components into an equivalent stress for yield checks. In a CNG tank design, for example, engineers check whether this value exceeds the material yield strength. This simulator also shows where the maximum value occurs, so adjust the wall thickness and watch how the peak von Mises location moves.

Frequently Asked Questions

The classification is based on the thickness-to-inner-radius ratio, t/ri. In general, t/ri < 0.1 is treated as thin-walled, while 0.1 or greater is treated as thick-walled. This tool still uses the Lamé equations for the stress distribution so both regimes are evaluated consistently.
The ASME-style estimate uses internal pressure, allowable stress, weld joint efficiency, and corrosion allowance to calculate the required minimum wall thickness. The result is compared with the current wall thickness to indicate whether the design has adequate margin.
The graph shows equivalent stress at each radial position. It lets you see how stress concentration changes from the inner wall to the outer wall and helps evaluate the safety margin against yielding.
Yes. You can enter both internal and external pressure, and the tool calculates the Lamé stress distribution in real time. External-pressure-only cases, such as vacuum vessels, are also supported.

Real-World Applications

High-Pressure Gas Vessels and CNG Tanks: Pressure-vessel stress checks are essential for automotive fuel tanks and industrial gas cylinders. Internal pressure and material strength are used to determine a safe minimum wall thickness and confirm that stresses remain within allowable limits.

Chemical Plant Piping and Reactors: Shells used in high-temperature, high-pressure chemical processes require wall-thickness decisions that include corrosion allowance and periodic safety evaluations.

Hydraulic and Pneumatic Cylinders: Hydraulic cylinder tubes in construction equipment and automated factories experience repeated pressure loading, so wall thickness must be selected with fatigue strength in mind.

Energy Systems: Reactor pressure vessels, geothermal piping, and high-temperature steam lines require very high safety margins. This calculation is a useful baseline check for those design studies.

Common Misconceptions and Notes

It is easy to think that the thin-wall or thick-wall classification depends only on diameter and thickness. In real design, material yield strength, safety factor, and temperature-related strength reduction also matter. A simple geometry ratio is not enough for high-temperature creep or fatigue design.

The Lamé equations are sometimes associated only with internal pressure, but external pressure and thermal stress can also be included when the boundary conditions are set correctly. For double-wall or combined-pressure structures, incorrect boundary conditions can shift the stress distribution significantly.

Von Mises stress is often assumed to peak at the inner wall. In thick-walled cases, however, shear effects near the outer wall can produce a higher equivalent stress. When pressure and axial load act together, do not overlook possible stress concentration away from the inner surface.

Theory — Lamé Equations / ASME Evaluation

Hoop stress σ_θ (Lamé)

$$\sigma_\theta(r) = \frac{p_i r_i^2}{r_o^2 - r_i^2}\!\left(1 + \frac{r_o^2}{r^2}\right)$$

Maximum at the inner wall (r = r_i).

Radial stress σ_r

$$\sigma_r(r) = \frac{p_i r_i^2}{r_o^2 - r_i^2}\!\left(1 - \frac{r_o^2}{r^2}\right)$$

Equal to −p_i at the inner wall, zero at the outer wall (when p_o = 0).

ASME Sec. VIII Minimum Wall Thickness

$$t_{\min}= \frac{p \cdot R}{S \cdot E - 0.6p}$$

S = σ_Y / 3 (allowable stress), E = 1 (seamless)

von Mises Equivalent Stress

$$\sigma_{vM}= \sqrt{\sigma_\theta^2 - \sigma_\theta\sigma_r + \sigma_r^2}$$

Plane stress approximation (axial stress treated separately if required).

What is Pressure Vessel Stress?

🙋
What exactly is the difference between a "thin-wall" and a "thick-wall" pressure vessel? The simulator seems to classify them automatically.
🎓
Basically, it's about how the stress distributes through the wall. For a thin-wall vessel, we assume the hoop stress is constant across the thickness. A common rule of thumb is if the wall thickness `t` is less than 1/10th of the inner radius `r_i`, it's "thin." In practice, the simulator above calculates this ratio for you. Try setting a very small wall thickness and see how the stress plot becomes a flat line.
🙋
Wait, really? So for a thick wall, the stress isn't constant? What's causing that?
🎓
Exactly! In a thick cylinder, the material nearer the high-pressure inside bore carries more of the load. The stress decreases as you move toward the outer surface. This is described by the Lamé equations. For instance, in a high-pressure hydraulic accumulator, the inner wall stress can be much higher than the average. You can see this gradient clearly by moving the "Wall Thickness" slider to a large value in the simulator.
🙋
That makes sense. So the "Material" selector is for checking if the stress is safe? How does that work?
🎓
In practice, yes. The simulator pulls the yield strength for materials like Carbon Steel or SUS304. The maximum stress (usually at the inner radius for internal pressure) must be below this yield strength with a safety factor. A common case is designing a scuba tank: you pick an aluminium alloy, input the pressure, and adjust the wall thickness until the calculated stress is safely in the green zone on the plot.

Physical Model & Key Equations

The fundamental governing equation for stress in a thick-walled cylinder under pressure is derived from Lamé's theory. It gives the tangential (hoop) stress at any radial position `r`.

$$ \sigma_\theta(r) = \frac{p_i r_i^2 - p_o r_o^2}{r_o^2 - r_i^2}+ \frac{(p_i - p_o) r_i^2 r_o^2}{(r_o^2 - r_i^2) r^2}$$

Where:
$\sigma_\theta(r)$ = Hoop stress at radius `r` [MPa]
$p_i$ = Internal pressure [MPa]
$p_o$ = External pressure (often 0) [MPa]
$r_i$ = Inner radius [mm]
$r_o$ = Outer radius ($r_i + t$) [mm]
$r$ = Radial coordinate where stress is calculated [mm]

For the simpler thin-wall case (where $t/r_i < 0.1$), the stress is assumed constant and is given by the Barlow formula, a simplified version of the Lamé equation.

$$ \sigma_\theta = \frac{p_i r_i}{t} $$

This shows the direct proportionality: stress increases with higher pressure or larger radius, and decreases with thicker walls. The physical meaning is that the hoop stress resists the bursting force trying to split the cylinder lengthwise.

Real-World Applications

Industrial Gas Storage: High-pressure vessels for storing oxygen, nitrogen, or hydrogen must be meticulously designed. Engineers use thick-wall analysis to ensure the inner wall stress does not exceed the fatigue limit of materials like chrome-molybdenum steel, preventing catastrophic failure over thousands of pressure cycles.

Chemical Reactors: Vessels in petrochemical plants often operate at high temperatures and pressures while containing corrosive fluids. Stress analysis determines the minimum wall thickness, and material selection (like SUS316L stainless steel) balances strength with corrosion resistance.

Hydraulic Systems: Accumulators and manifolds in heavy machinery operate under pulsating high pressure. Accurate thick-wall calculation is crucial to prevent fatigue cracks, especially at threaded ports or other stress concentration features not shown in this basic model.

Aerospace Propulsion: Rocket motor casings and fuel lines are extreme examples of pressure vessels. They are designed as thin-wall structures using high-strength, lightweight materials like titanium or composites to minimize weight while containing immense combustion pressures.

Common Misconceptions and Points of Caution

Model assumptions: The mathematical model used here relies on simplifying assumptions such as linearity, homogeneity, and isotropy. Always verify that your real system satisfies these assumptions before applying results directly to design decisions.

Units and scale: Many calculation errors arise from unit conversion mistakes or order-of-magnitude errors. Pay close attention to the units shown next to each parameter input.

Validating results: Always sanity-check simulator output against physical intuition or hand calculations. If a result seems unexpected, review your input parameters or verify with an independent method.

Related Engineering Fields

Structural & Mechanical Engineering: Solid mechanics, elasticity theory, and materials science form the foundation for many of the governing equations used here.

Fluid & Thermal Engineering: Fluid dynamics and heat transfer share similar mathematical structures (conservation equations, boundary-value problems) and frequently appear in multi-physics problems alongside structural analysis.

Control & Systems Engineering: Dynamic system analysis, state-space methods, and signal processing connect to the time-dependent behaviors modeled in this simulator.