Calculate the factor of safety (FoS) from a material's strength and the working stress it carries, or find the allowable stress for a target safety factor.
Factor of Safety — FoS = strength / working stress
Ultimate or yield strength of the material, in megapascals.
The actual (applied) stress the part carries in service, in megapascals.
Ultimate or yield strength of the material, in megapascals.
The safety factor you want the design to meet, e.g. 1.5–4.
Interpretation — pass or fail against a design target
Ultimate or yield strength of the material, in megapascals.
The actual (applied) stress the part carries in service, in megapascals.
The minimum factor of safety your design spec requires.
How this FoS holds up against common design targets
Target FoS
Verdict
Result
—
Enter values above to compute.
4 min read3 steps6 terms3 examples6 FAQsFoS = strength / working stress
The factor of safety is the single number that tells engineers how much margin a design has before it fails.
📋
Walk-through
How to Use This Calculator
3 steps▸
1
Pick a tab for what you need
Use the Factor of Safety tab when you know a material's strength and the working (applied) stress it carries, and want the resulting FoS. Use the Allowable Stress tab when you already have a target factor of safety and need to know how much stress the design can safely carry. Use the Interpretation tab to see a pass/fail verdict and how your design compares against common design targets.
2
Enter strength and stress in matching units
Material strength and working stress must be entered in the same units (megapascals, MPa, by default) so the ratio is meaningful. Use the ultimate strength for a conservative design, or the yield strength if permanent deformation itself is the failure criterion you care about.
3
Read the result and the interpretation
The result card shows the factor of safety or the allowable stress, plus a plain-language interpretation of whether the design is safe against your target and what the margin of safety is.
⚡
Reference
Formula & Methodology
2 formulas▸
Factor of Safety
FoS = strength / working stress
The factor of safety is the ratio of a material's strength (ultimate or yield, in the same units as the applied stress) to the actual working stress it experiences in service. A FoS of 1 means the working stress equals the material's strength — the design has zero margin. A FoS greater than 1 means there is margin before failure; a FoS less than 1 means the part is already overstressed. Example: strength = 250 MPa, working stress = 100 MPa → FoS = 250 / 100 = 2.5.
Allowable Stress
allowable stress = strength / target FoS
Rearranging the factor-of-safety formula gives the maximum working stress a design can carry while still meeting a target safety factor. This is how engineers set a design stress limit before selecting a section size: pick a target FoS appropriate to the application, divide the material's strength by it, and keep the actual working stress at or below that allowable value. Example: strength = 250 MPa, target FoS = 3 → allowable stress = 250 / 3 ≈ 83.33 MPa.
📖
Glossary
Key Terms Explained
6 terms▸
Factor of Safety (FoS) ↗The ratio of a material's strength to the actual working stress it carries: FoS = strength / working stress. It quantifies how much margin a design has before reaching failure. Also called the safety factor.
Ultimate Strength ↗The maximum stress a material can withstand before fracturing or breaking. Using ultimate strength in the FoS formula gives a conservative safety factor against total failure, since some permanent deformation may occur before that point is reached.
Yield Strength ↗The stress at which a material begins to deform permanently (plastically) rather than returning to its original shape. Using yield strength in the FoS formula protects against permanent deformation, which is often the practical failure criterion for machine parts and precision structures.
Working Stress ↗The actual stress a part experiences under its real, in-service loading conditions — also called the applied stress or design stress. This is the denominator in the factor-of-safety ratio.
Allowable Stress ↗The maximum working stress a design is permitted to carry while still meeting a target factor of safety: allowable stress = strength / target FoS. Engineers size components so their actual working stress stays at or below this value.
Margin of Safety ↗A related measure of design reserve, defined as FoS − 1. A margin of safety of 0 means the design has zero reserve (FoS = 1); a margin of 1.5 means the design can tolerate an additional 150% of the current working stress before reaching the strength limit.
👥
Scenarios
Real-World Examples
3 worked examples▸
🛡️
Structural Steel Bracket
Factor of safety from strength and working stress
Material strength 250 MPaWorking stress 100 MPa
FoS = strength / working stress = 250 / 100 = 2.5. A FoS of 2.5 is comfortably within the typical 1.5–4 range used for general structural components, meaning the bracket can carry two and a half times its expected stress before reaching the material's strength limit.
📐
Setting a Design Stress Limit
Allowable stress for a target factor of safety
Material strength 250 MPaTarget factor of safety 3
Allowable stress = strength / target FoS = 250 / 3 ≈ 83.33 MPa. To hit a factor of safety of 3, this design must keep its working stress at or below 83.33 MPa — a useful ceiling to check against before finalizing a section size.
⚖️
Yield vs. Ultimate Strength
Choosing which strength value to use
Ultimate strength 400 MPaYield strength 250 MPa
Using ultimate strength (400 MPa) against a 100 MPa working stress gives FoS = 4.0, while using yield strength (250 MPa) gives FoS = 2.5. Both are valid — ultimate-strength FoS protects against fracture, yield-strength FoS protects against permanent deformation. Choose the strength value that matches the failure mode you're actually trying to prevent.
🔗
Reference
Cite This Calculator
APA & MLA▸
Use either format to cite this calculator in a paper, report, or resource list.
The factor of safety is the single number that tells engineers how much margin a design has before it fails. It bridges the gap between a material's known strength and the uncertain, real-world loads a part will actually see — and choosing the right target FoS is one of the most consequential decisions in any structural or mechanical design.
Why a Ratio, Not Just a Difference
▸
Factor of safety is expressed as a ratio (strength ÷ working stress) rather than a difference, because it scales naturally with the size of the load. A FoS of 2 means the same thing whether the working stress is 10 MPa or 1,000 MPa: the design can carry twice its expected load before reaching the material's strength limit. This makes FoS comparable across wildly different applications, from a small bracket to a bridge girder, without needing to know the absolute stress magnitudes in advance.
Choosing a Target Factor of Safety
▸
There's no single universal target FoS — the right value depends on how well the loads and material properties are known, and how severe the consequences of failure would be. Typical ranges run from about 1.25–1.5 for well-understood loads and reliable materials (aerospace, where weight is at a premium and analysis is rigorous), up to 1.5–2 for general machine design, and 3–4 or higher for structures with uncertain loading, fatigue concerns, or where failure would be catastrophic (pressure vessels, lifting equipment, life-safety structures). Codes and standards for a given industry usually specify the required minimum.
Limits and Edge Cases
▸
This calculator assumes a simple static ratio of strength to stress — it does not account for fatigue (repeated loading can cause failure well below the static strength), stress concentrations (holes, notches, and sharp corners locally raise stress far above the nominal working value), buckling (a separate stability failure mode unrelated to material strength), or dynamic/impact loading. A FoS calculated from static strength and nominal stress is a starting point, not a substitute for a full engineering analysis on any safety-critical design.
❓
Questions
Frequently Asked Questions
6 questions▸
What is the formula for factor of safety?+
FoS = strength / working stress, where strength is the material's ultimate or yield strength and working stress is the actual (applied) stress the part experiences in service, both in the same units.
What is a good factor of safety?+
It depends on the application, but 1.5–4 is a typical range for general engineering design. Lower values (around 1.25–1.5) are used where loads and materials are well understood and weight matters (aerospace); higher values (3–4 or more) are used where loads are uncertain or failure consequences are severe (pressure vessels, lifting equipment).
Should I use yield strength or ultimate strength?+
It's a design choice based on what failure mode you want to guard against. Yield strength protects against permanent (plastic) deformation, which is often the practical limit for precision parts and machinery. Ultimate strength protects against fracture or complete breakage, giving a more conservative FoS for the same working stress.
How do I calculate allowable stress?+
Allowable stress = strength / target factor of safety. Divide the material's strength by the safety factor your design requires to get the maximum working stress the part can carry while still meeting that target.
What does a factor of safety below 1 mean?+
A FoS below 1 means the working stress exceeds the material's strength — the design has already failed or is expected to fail under that load. The part needs a stronger material, a larger cross-section, or a reduced load.
What is margin of safety?+
Margin of safety is a related metric defined as FoS − 1. It expresses the design reserve as the extra load-carrying capacity beyond the current working stress — a margin of safety of 1.5 means the design could take an additional 150% of its current stress before reaching the strength limit.
📄
Save & share
Get a branded PDF of your results
Download a one-page PDF of your numbers instantly. Add your email to also get our occasional calculator tips — no spam, unsubscribe anytime. Privacy.