Understanding the factor of safety calculator — concept and principle
This calculator compares the strength or failure load of a part with the stress or load it actually carries, giving the factor of safety, the margin of safety, the utilisation and the allowable working value for a required factor. Engineers and students use it to check bolts, beams, shafts, brackets and lifting gear.
How it is calculated
Factor of safety (FoS) = failure value ÷ working value
Margin of safety = FoS − 1
Utilisation = working value ÷ failure value × 100%
Allowable working value = failure value ÷ required FoS
Margin against required = FoS ÷ required FoS − 1
- Both values must be the same kind of quantity: strength against stress (for example both in MPa) or failure load against working load.
The principle
No load, material or model is known exactly. Loads can be higher than planned, materials weaker than the data sheet, and calculations simplified. The factor of safety builds a buffer between what the part can take and what it is asked to take. A factor of 1 means the part is exactly at failure; 2 means it could carry twice the working load. Which failure value you use matters: yield strength for permanent deformation, ultimate strength for fracture, buckling load for slender members, or fatigue strength for repeated loads.
Worked example
Default inputs: failure value 250 MPa (yield strength), working stress 120 MPa, required factor 1.5.
- FoS = 250 ÷ 120 = 2.08.
- Margin of safety = 2.08 − 1 = 1.08.
- Utilisation = 120 ÷ 250 = 48%.
- Allowable working value = 250 ÷ 1.5 = 166.7 MPa.
- Margin against required = 2.083 ÷ 1.5 − 1 = 0.39, so the part meets the required factor.
| Working value: actual stress or load (same unit) | Factor of safety |
|---|---|
| 30 | 8.33 |
| 60 | 4.17 |
| 90 | 2.78 |
| 120 | 2.08 |
| 150 | 1.67 |
| 180 | 1.39 |
| 240 | 1.04 |
How to read the result
The FoS must be at least the value your code or standard requires for that failure mode and application. A positive margin against the required factor means there is reserve; a negative one means the design does not comply. Very large factors are not automatically better, because they add weight and cost.
Common mistakes
- Dividing yield strength by a load in newtons instead of a stress.
- Using static strength for a part that sees cyclic loads, where fatigue governs.
- Picking a required factor yourself instead of taking it from the applicable code.
- Confusing margin of safety with factor of safety.
Frequently asked questions
What is a good factor of safety?
It depends entirely on the field and code. Aircraft structures use small factors with tight control, while lifting equipment and pressure parts often require larger ones.
Is margin of safety the same as factor of safety?
No. The margin is commonly FoS − 1, or in aerospace FoS ÷ required factor − 1.
Should I use yield or ultimate strength?
Use the failure mode you need to prevent: yield to avoid permanent bending, ultimate to avoid fracture.
Sources: Standard engineering definitions of factor of safety and margin of safety (mechanics of materials textbooks)