Factor of Safety Calculator
Compare strength with stress, or capacity with load, to get the factor of safety, the margin of safety and the size a part needs.
🛡️ What is the Factor of Safety?
Factor of safety (FoS, also called the safety factor) is a measure of how much stronger a part is than it needs to be. In its most common form it is the ratio of the strength of the material to the stress it actually carries, or, for a structure, the ratio of the load that would cause failure to the load applied. A factor of 1 means the part is exactly at its limit. A factor of 2 means it could carry twice the load before reaching that limit. Because the word is used in two ways, a calculated ratio and a required minimum set by a code or a contract, it always helps to say which one you mean.
Engineers use the factor of safety everywhere a part carries load: a bolt in a flange, a cable on a hoist, a bracket on a machine, a beam in a floor, a shaft in a gearbox. It covers the things that are never known exactly, such as the true size of the load, scatter in the material strength, small manufacturing defects and the accuracy of the analysis. A larger factor is chosen when the loads are uncertain, the material is brittle or variable, or failure would be costly or dangerous. A smaller factor is accepted when loads are well known, quality control is tight and weight matters, as in aircraft.
The strength in the ratio must be chosen with care. For ductile metals the limit is usually yield, because permanent deformation ends the useful life of the part, so the factor is quoted on yield. For brittle materials such as cast iron or glass there is no clear yield and the factor is based on ultimate strength. The same part can therefore have a factor of 2.5 on yield and a factor of 4 on ultimate. The margin of safety is a related relative measure, MS = FoS - 1, and it is common in aerospace work where a margin of zero means the requirement is just met.
This page is the general strength over stress ratio. It is not the slope stability factor of safety used in geotechnical work, which compares resisting and driving forces on a soil slip surface, so use the slope stability calculator for that. To get the stress itself try the stress-strain calculator and the bending stress calculator, and check slender members with the Euler buckling calculator. A factor of safety is not a guarantee. It covers only the failure mode that went into the numbers, so fatigue, buckling, corrosion and stress concentrations each need their own check.
The ranges below are illustrative rules of thumb that appear in many textbooks. They are not requirements, and the code that governs your part always takes precedence.
| Application (illustrative) | Typical target FoS range |
|---|---|
| Well-known static loads, ductile steel, good quality control | about 1.5 to 2.5 |
| Ordinary machine parts with moderate uncertainty | about 2 to 4 |
| Brittle materials or poorly known loads | about 3 to 6 or more |
| Lifting equipment and life safety items | often 5 or more, set by the code |
| Aircraft structure (factor on limit load, set by regulation) | about 1.5 |
📐 Formula
📖 How to Use This Calculator
Steps
💡 Example Calculations
Example 1 — Mild Steel Bar on Yield
A bar of 250 MPa yield steel carries a working stress of 100 MPa, with a target factor of 2
Example 2 — Ultimate Basis Below the Target
A part with 400 MPa ultimate strength sees 200 MPa, and the specification asks for 3 on ultimate
Example 3 — Sizing a Tie Bar
A tie carries 50 kN in tension. Steel yield is 250 MPa, the target is 2, and a 500 mm² section is proposed
Example 4 — Capacity and Margin of Safety
A bracket fails at 120 kN, carries 40 kN in service, and a design factor of 1.5 is required
Example 5 — An Overloaded Lifting Lug
A lug fails at 30 kN, carries 18 kN, and a factor of 2 is required
❓ Frequently Asked Questions
🔗 Related Calculators
How do you calculate the factor of safety?
Divide the strength by the stress the part actually carries, FoS = strength / working stress. A bar with a 250 MPa yield strength under 100 MPa has a factor of safety of 2.5. For a structure use capacity divided by applied load instead.
What is the difference between factor of safety and margin of safety?
Margin of safety is the factor of safety minus 1, so FoS 2.5 is MS 1.5. A margin of 0 means the part is exactly at the required level and a negative margin means it falls short.
What is a good factor of safety?
It depends on the field. Many static steel designs use roughly 1.5 to 3, lifting and pressure equipment often use more, and aircraft use lower factors with tight quality control. These ranges are illustrative only. The governing code decides.
Should I use yield or ultimate strength?
For ductile metals designers usually base static design on yield, because permanent deformation is the limit. Brittle materials have no clear yield point, so ultimate strength is used. State the basis next to every factor you quote.
How do I find the allowable stress from a factor of safety?
Divide the strength by the required factor, allowable stress = strength / FoS. With 250 MPa yield and a target of 2 the allowable stress is 125 MPa.
How do I size a bar for a target factor of safety?
The area is load times factor divided by strength, A = P x FoS / S. A 50 kN tension load, 250 MPa yield and a factor of 2 need 400 mm squared, a round bar about 22.57 mm across.
Can the factor of safety be less than 1?
Yes. Below 1 the stress is larger than the strength, so the part is predicted to yield or break. A calculated value of 0.8 means the part needs about 25 percent more strength or section.
How is this different from the slope stability factor of safety?
Slope stability compares resisting forces or moments on a soil slip surface with driving ones. This page is the general strength over stress ratio for a structural part. For slopes use the Bishop slope stability page.
Does a high factor of safety guarantee the part will not fail?
No. It only covers the failure mode that went into the numbers. A part with FoS 5 on static yield can still fail by fatigue, buckling, corrosion or a bad weld.
What does the design factor do in the capacity mode?
It is a required minimum, such as 1.5 on ultimate load. Margin of safety is then capacity / (load x factor) - 1. A positive margin means the requirement is met with room to spare.
Is a factor of safety the same as a load factor?
Not exactly. A load factor multiplies the loads, a resistance factor reduces the strength, and the factor of safety is the overall ratio. Limit state codes split the margin between these. This page uses the single overall ratio.