Factor of Safety Calculator
Calculate the factor of safety and margin of safety for structural and mechanical components. Compare ultimate, yield, and fatigue-based safety factors.
Factor of Safety Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: FoS = Material Strength / Applied Stress
Worked example โ FoS (Yield): 2.500 | FoS (Ultimate): 4.000 | Assessment: CONSERVATIVE
Formula
FoS = Material Strength / Applied Stress
The Factor of Safety is the ratio of the material strength (ultimate, yield, or fatigue) to the applied stress or load. Margin of Safety = FoS - 1. A positive margin indicates the design can sustain the load; a negative margin indicates failure. The appropriate strength value depends on the failure mode being evaluated.
Worked Examples
Example 1: Steel Beam Under Static Load
Problem:A structural steel beam has an ultimate tensile strength of 400 MPa, yield strength of 250 MPa, and experiences an applied stress of 100 MPa under static loading.
Solution:FoS (Ultimate) = 400 / 100 = 4.000 FoS (Yield) = 250 / 100 = 2.500 Margin of Safety (Ultimate) = 4.000 - 1 = 3.000 Margin of Safety (Yield) = 2.500 - 1 = 1.500 Utilization: 25.0% of ultimate, 40.0% of yield Since FoS (Yield) = 2.500 is not below the 2.5 threshold, it falls in the next band up
Result:FoS (Yield): 2.500 | FoS (Ultimate): 4.000 | Assessment: CONSERVATIVE
Example 2: Shaft Under Fatigue Loading
Problem:A rotating shaft made of AISI 1045 steel (UTS = 585 MPa, Yield = 450 MPa, Fatigue = 280 MPa) has an applied cyclic stress of 150 MPa.
Solution:FoS (Ultimate) = 585 / 150 = 3.900 FoS (Yield) = 450 / 150 = 3.000 FoS (Fatigue) = 280 / 150 = 1.867 The fatigue FoS is the governing factor for cyclic loading. Margin of Safety (Fatigue) = 1.867 - 1 = 0.867
Result:FoS (Fatigue): 1.867 | FoS (Yield): 3.000 | Fatigue governs the design
Frequently Asked Questions
What is the factor of safety and why is it used in engineering design?
The factor of safety (FoS), also called the safety factor, is the ratio of a material or structure's maximum capacity (strength) to the actual applied load or stress. A FoS of 2.0 means the structure can withstand twice the expected load before failure. Engineers use the factor of safety to account for uncertainties in material properties, manufacturing variations, unexpected overloads, environmental degradation, simplifications in analysis methods, and human error. Without an adequate safety factor, structures would be designed right at their limit, leaving no margin for any deviation from ideal conditions. The concept dates back centuries and remains fundamental to structural, mechanical, and civil engineering practice worldwide.
What is the difference between FoS based on yield strength versus ultimate strength?
The factor of safety can be calculated relative to either yield strength or ultimate strength, and the choice depends on the design criteria. Yield-based FoS uses the yield strength as the failure criterion, which is the stress at which permanent deformation begins. This is the more conservative and commonly used approach because most structural components must maintain their shape and dimensions to function properly. Ultimate-based FoS uses the ultimate tensile strength, the maximum stress before fracture. This is appropriate when the primary concern is preventing catastrophic failure rather than permanent deformation. In ductile materials, there is significant margin between yield and ultimate, so both factors are often reported.
What are the recommended factors of safety for different loading conditions?
Recommended factors of safety vary by industry, loading type, and consequences of failure. For static loads with known materials and conditions, FoS of 1.5 to 2.0 is common in structural steel design. For dynamic or repeated loads, FoS of 2.0 to 3.0 is typically required due to fatigue concerns. Impact and shock loads demand FoS of 3.0 to 5.0 or higher because of the unpredictable nature of sudden forces. Aerospace applications often use lower FoS values (1.25 to 1.5) because weight is critical, but this is compensated by extremely rigorous testing and analysis. Pressure vessels typically require FoS of 3.0 to 4.0 due to catastrophic consequences of failure.
What is the margin of safety and how does it relate to factor of safety?
The margin of safety (MoS) is directly related to the factor of safety by the formula MoS = FoS - 1. While the factor of safety expresses the ratio of strength to applied load, the margin of safety expresses the fraction of additional capacity beyond the applied load. A FoS of 2.0 corresponds to a MoS of 1.0, meaning there is 100 percent additional capacity. A FoS of 1.5 gives a MoS of 0.5 (50 percent additional capacity). The margin of safety must be positive for the design to be considered safe. Aerospace engineering commonly uses margin of safety rather than factor of safety in reporting, with a positive MoS being the pass criterion for structural certification.
How does fatigue affect the factor of safety in cyclically loaded components?
Fatigue failure occurs when a material is subjected to repeated cyclic loading at stress levels well below the ultimate or even yield strength. The fatigue or endurance strength is typically 40 to 60 percent of the ultimate tensile strength for steels, and even lower for aluminum alloys which have no true endurance limit. When designing for cyclic loads, the factor of safety must be calculated using the fatigue strength rather than the static ultimate strength. Stress concentrations at notches, holes, and fillets can dramatically reduce fatigue life, requiring additional safety factors. Surface finish, temperature, and corrosive environments further reduce fatigue strength. A thorough fatigue analysis using methods like the Goodman diagram or Soderberg criterion is essential for components subjected to millions of load cycles.
What is the difference between a design factor and the realised factor of safety?
The design factor is a target chosen before analysis, based on code requirements, consequence of failure, and confidence in the load and material data. The realised factor of safety is what the finished design actually delivers, computed from the strength of the material specified against the stress the component sees. Because parts are made from standard sections and stock sizes, the realised value usually exceeds the design factor. Comparing the two shows how much margin came from deliberate choice and how much from rounding up to an available size.
How does load and resistance factor design treat safety differently from allowable stress design?
Allowable stress design applies one global factor, dividing material strength by a single number to obtain an allowable stress that service loads must not exceed. Load and resistance factor design splits the uncertainty instead: load effects are multiplied by factors greater than one, with different values for dead, live, wind, and seismic loads according to how well each is known, while resistance is multiplied by a factor below one that depends on the failure mode. The result is more uniform reliability across load combinations rather than a single lumped ratio.
Why is buckling checked against its own criterion rather than against yield stress?
A slender compression member can become unstable and collapse laterally at a stress far below the yield strength of its material. The governing quantity is the Euler critical load, pi squared times the elastic modulus times the second moment of area, divided by the square of the effective length. It depends on stiffness and geometry, not on strength, so specifying a higher grade of steel does nothing for it. Buckling is also acutely sensitive to initial crookedness, load eccentricity, and end fixity, so factors applied to it are typically larger than those used against yielding.
How do stress concentrations at holes and fillets affect the true factor of safety?
Nominal stress computed from load over gross area understates the local peak at a geometric discontinuity. The stress concentration factor is the ratio of that peak to the nominal value, and for a small circular hole in a wide plate under tension it approaches three. In a ductile material under static load, local yielding redistributes the peak and the nominal calculation stays reasonable. Under fatigue loading, or in a brittle material, the peak governs, and a factor of safety computed on nominal stress is optimistic by roughly the concentration factor.
How should uncertainty guide the choice of factor for a given design?
The factor exists to cover what the analysis does not know. Larger values are justified when loads are poorly characterised or include shock and impact, when material properties come from generic tables rather than certified test data, when the manufacturing route leaves residual stresses or unverified welds, when the service environment brings corrosion or elevated temperature, and when failure would endanger people. Smaller values are defensible when loads are measured, materials are tested, and the part is inspected in service. Raising the factor is never a substitute for identifying the real failure mode.
References
Background & Theory
History
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy
Related Calculators
๐งฎPower Factor Correction Calculator
Calculate the capacitor bank size needed to improve power factor to a target value.
๐งฎMotor Horsepower Calculator
Calculate electric motor horsepower from voltage, current, efficiency, and power factor.
๐งฎRLC Circuit Calculator
Calculate resonant frequency, impedance, and Q factor for series and parallel RLC circuits.
๐งฎCapacitor Bank Calculator
Size capacitor banks for power factor correction from measured kW, kVA, and target PF.
๐งฎCantilever Retaining Wall Calculator
Calculate cantilever retaining wall with inputs, formulas, and instant results.
๐งฎOpen Channel Manning Calculator
Calculate open channel manning with inputs, formulas, and instant results.
๐งฎPipe Flow Darcy Weisbach Calculator
Calculate pipe flow darcy weisbach with inputs, formulas, and instant results.