Engineering
Spherical vessel stress API
Computes the equal membrane stress of a thin-walled sphere (half a cylinder's hoop for the same D,t) and the required wall thickness for an allowable stress. Answers 'What is the wall stress in my spherical tank?', 'How thin can a sphere be vs a cylinder?'.
Price$0.04per request
MethodPOST
Route/v1/engineering/sphere-vessel
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
pressure-vesselspheremembrane-stressthin-wallwall-thicknesstanksphericalmachine-design
API URL
Integration docshttps://x402.hexl.dev/v1/engineering/sphere-vesselExample request
{
"internalPressureMpa": 2,
"innerDiameterM": 1,
"wallThicknessM": 0.01,
"allowableStressMpa": 150
}Example response
{
"membraneStressMpa": 50,
"diameterToThicknessRatio": 100,
"thinWallValid": true,
"formula": "σ = p·D/(4t)",
"interpretation": "A sphere carries half the membrane stress of a cylinder of the same diameter — minimum wall for a given pressure.",
"requiredWallThicknessM": 0.00333333,
"factorOfSafety": 3
}Input schema
{
"type": "object",
"required": [
"internalPressureMpa",
"innerDiameterM",
"wallThicknessM"
],
"properties": {
"internalPressureMpa": {
"type": "number",
"examples": [
2
]
},
"innerDiameterM": {
"type": "number",
"examples": [
1
]
},
"wallThicknessM": {
"type": "number",
"examples": [
0.01
]
},
"allowableStressMpa": {
"type": "number",
"examples": [
150
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}