Engineering
Factor & margin of safety API
Computes factor of safety = strength/applied and margin of safety (FoS−1) for stress, load, or generic strength pairs, with a pass/fail against a required minimum. Answers 'What is the factor of safety?', 'Does this design meet the required safety factor?'.
Price$0.02per request
MethodPOST
Route/v1/engineering/factor-of-safety
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
engineeringmechanicsfactor-of-safetymargin-of-safetyfosdesignstrengthstructural
API URL
Integration docshttps://x402.hexl.dev/v1/engineering/factor-of-safetyExample request
{
"ultimateStrengthPa": 400000000,
"appliedStressPa": 160000000,
"requiredMinimum": 2
}Example response
{
"strength": 400000000,
"applied": 160000000,
"units": "Pa",
"factorOfSafety": 2.5,
"marginOfSafety": 1.5,
"formula": "FoS = strength / applied; MoS = FoS - 1",
"requiredMinimum": 2,
"adequate": true,
"interpretation": "Adequate margin."
}Input schema
{
"type": "object",
"required": [],
"properties": {
"strength": {
"type": "number",
"description": "generic limiting strength"
},
"applied": {
"type": "number",
"description": "generic applied value"
},
"ultimateStrengthPa": {
"type": "number",
"description": "material strength (Pa)",
"examples": [
400000000
]
},
"appliedStressPa": {
"type": "number",
"description": "applied stress (Pa)",
"examples": [
160000000
]
},
"capacityN": {
"type": "number",
"description": "load capacity (N)"
},
"appliedLoadN": {
"type": "number",
"description": "applied load (N)"
},
"requiredMinimum": {
"type": "number",
"description": "required minimum FoS"
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}