Factor of Safety Calculator
Enter a maximum (failure) strength and a working (applied) stress or load to get the factor of safety instantly. Switch between stress-based and load-based modes, pick a material preset, choose yield or ultimate strength, and compare your result against typical design targets for your application. The "show your work" panel mirrors every step of the calculation with your actual numbers.
Formula
Worked example
A steel A36 shaft with a yield strength of 250 MPa is subjected to a working stress of 100 MPa: FoS = 250 / 100 = 2.50. The margin of safety is (2.50 - 1) x 100% = 150%. To find the allowable load for a FoS of 3.0, divide 250 MPa by 3.0 to get 83.3 MPa.
What is the factor of safety?
The factor of safety (FoS), also called the safety factor, is the ratio of the maximum load or stress a component can withstand before failure to the actual load or stress it experiences in service. A FoS of 1.0 means the component is at its exact failure limit; any additional load causes it to fail. A FoS of 2.0 means the part can handle twice the working load before failing. Engineers specify a FoS greater than 1.0 to account for uncertainty in loads, material properties, manufacturing defects, environmental effects, and the consequences of failure. Life-safety applications and structures with brittle materials require much higher margins than lightly loaded, ductile components with well-characterised loads.
Three ways to use the factor of safety formula
The basic formula has three rearrangements, each useful in a different design situation. First: given a known material strength and a working load, divide strength by load to find the FoS and verify the design is safe. Second: given a target FoS and a known working load, multiply them to find the minimum material strength or cross-section area required. Third: given an existing component with a known strength and a target FoS, divide strength by FoS to find the maximum allowable working load. This calculator supports all three modes with a single toggle.
Yield strength vs. ultimate tensile strength
For ductile materials (steel, aluminium, most metals), the factor of safety is commonly referenced to the yield strength: once the material yields it deforms permanently and the component is no longer functional, even if it has not broken. For brittle materials (cast iron, ceramics, glass, some composites), the yield point is negligible and the safety factor is referenced to the ultimate tensile strength, the point at which the material fractures. The material preset options on this calculator autofill both Sy and Sut values in metric or imperial units so you can compare both references.
How to choose the right factor of safety
Selecting the correct FoS involves balancing safety against cost, weight, and producibility. Key considerations include: (1) load certainty - well-characterised static loads allow lower factors than uncertain or dynamic loads; (2) material reliability - cast or forged ductile metals warrant lower factors than brittle or poorly characterised materials; (3) failure consequences - where failure endangers human life (pressure vessels, lifting gear, bridges) codes mandate high margins, often 4 to 10 or more; (4) inspection regime - a regularly inspected component can carry a lower inherent FoS than one that is inaccessible or uninspected. The reference table on this page lists typical FoS ranges by application as a starting point; the binding requirement always comes from the applicable engineering standard.
Typical factor of safety ranges by application
| Application | Typical FoS range | Notes |
|---|---|---|
| Aircraft components | 1.5-2.5 | Weight-sensitive, well-tested materials |
| Boilers / pressure vessels | 3.5-6 | Catastrophic failure risk, codes mandate high margin |
| Bolts (structural) | 8.5 | Single value per ASME practice |
| Bridges (structural steel) | 5-7 | Public safety, variable live load |
| Buildings (structural steel) | 4-6 | Occupant safety, uncertainty in loads |
| Engine components | 6-8 | High thermal and dynamic stresses |
| Heavy-duty shafts | 10-12 | Fatigue, shock, keyways reduce strength |
| Lifting hooks | 8-9 | Life-safety under dynamic loading |
| Turbine (rotating parts) | 2-3 | Well-characterised loads, precision manufacture |
| Wire ropes / cables | 8-9 | Fatigue, corrosion, dynamic snatch loads |
| Springs (heavy-duty) | 4.5 | Single value typical for industrial springs |
| Cast-iron wheels | 20 | Brittle material; shock loading |
Representative design targets. Always check the applicable standard (ASME, Eurocode, AISC, etc.) for your specific application.
Frequently asked questions
What is a good factor of safety?
It depends on the application. For well-understood static loads on ductile materials with reliable properties, a FoS of 1.5 to 2.5 is commonly used. For dynamic, shock, or fatigue loads, or where brittle materials are involved, 3 to 6 is more typical. Life-safety equipment such as lifting hooks, boilers, and pressure vessels often requires 6 to 12 or higher per applicable codes. Aircraft components trade weight for reliability and may use 1.5, backed by extensive testing.
What is the margin of safety and how does it differ from FoS?
The margin of safety (MoS) is simply (FoS - 1) expressed as a percentage. A FoS of 2.0 means an MoS of 100% - the component can handle 100% more load than the working value before failing. The FoS is the ratio form and the MoS is the excess-capacity form; both convey the same information, but the MoS can be more intuitive when comparing designs.
Should I use yield or ultimate strength in the formula?
Use yield strength for ductile materials when permanent deformation is the failure criterion. Use ultimate tensile strength for brittle materials, or when fracture rather than deformation defines failure. For fatigue loading, neither Sy nor Sut applies directly - you need the endurance limit or fatigue strength at the design life, which requires a separate fatigue analysis.
Why does a FoS below 1 mean the component will fail?
Because a FoS below 1.0 means the maximum strength is less than the working load. The formula FoS = strength / load gives a number less than 1 when the denominator (load) exceeds the numerator (strength), which by definition means the component is overloaded.
Does a high factor of safety always mean a better design?
Not necessarily. An unnecessarily high FoS increases material, weight, and cost without adding proportional safety. In aerospace and automotive design, excess weight has direct performance and fuel-cost penalties. Good engineering seeks the lowest FoS that satisfies all safety, code, and reliability requirements, then adds modest additional margin for uncertainty.