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.

🛡️ Factor of Safety Calculator
Strength basislabel only, the number is yours
Strength S
MPa
Working stress
MPa
Target factor of safety
x
Axial tension load
kN
Strength of the material
MPa
Target factor of safety
x
Your section area (optional)checks the actual FoS
mm²
Capacity (load at failure)
kN
Applied load
kN
Required design factoruse 1 for none
x
Factor of safety
—
Margin of safety (FoS - 1)
—
Utilisation
—
Allowable stress at target
—
Against the target
—
Strength basis
—

Required area
—
Solid round bar diameter
—
Square bar side
—
Allowable stress
—
Stress in your section
—
Actual factor of safety
—

Factor of safety C / L
—
Margin of safety (FoS - 1)
—
Margin with required factor
—
Maximum allowable load
—
Load used
—
Requirement
—

🛡️ 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 controlabout 1.5 to 2.5
Ordinary machine parts with moderate uncertaintyabout 2 to 4
Brittle materials or poorly known loadsabout 3 to 6 or more
Lifting equipment and life safety itemsoften 5 or more, set by the code
Aircraft structure (factor on limit load, set by regulation)about 1.5

📐 Formula

FoS = S ÷ σw    or    FoS = C ÷ L    MS = FoS − 1
S = the strength used as the limit (yield or ultimate), in MPa. σw = the working stress in the part, in MPa.
C = the capacity, the load at which failure is predicted, in kN. L = the applied load in kN.
Margin of safety: MS = FoS − 1. With a required design factor k it becomes MS = C ÷ (L × k) − 1.
Allowable stress: σallow = S ÷ FoStarget.
Required area in direct tension: A = P × FoStarget ÷ S, with P in newtons and A in mm². A round bar of that area has diameter √(4A ÷ π).
Example: S = 250 MPa and σw = 100 MPa give FoS = 2.5 and MS = 1.5.

📖 How to Use This Calculator

Steps

1
Choose a mode. Use Strength over stress to check a part, Required section to size a bar for a target, or Capacity over load to get a structural margin.
2
Enter the numbers. Type the strength and working stress in MPa, or the load, strength and target for sizing, or the capacity, load and required factor in kN.
3
Read the factor and the margin. The results show the factor of safety, the margin of safety, the allowable stress or area, and whether the target is met, with a chart or table.

💡 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

1
FoS = 250 / 100 = 2.50.
2
MS = 2.50 − 1 = 1.50. Utilisation = 100 / 250 = 40.0 %.
3
Allowable stress at the target = 250 / 2 = 125.0 MPa, so the bar meets the target of 2.
FoS = 2.50, MS = 1.50, target met
Try this example →

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

1
FoS = 400 / 200 = 2.00 and MS = 1.00.
2
Allowable stress for a factor of 3 is 400 / 3 = 133.3 MPa.
3
The working stress of 200 MPa is above that, so the part is below the target of 3.00.
FoS = 2.00, below the target of 3.00
Try this example →

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

1
Required area A = 50 000 × 2 / 250 = 400.0 mm².
2
A solid round bar needs d = √(4 × 400 / π) = 22.57 mm. A square bar needs 20.00 mm per side.
3
The proposed 500 mm² carries 50 000 / 500 = 100.0 MPa, so its factor is 250 / 100 = 2.50, which meets the target.
Required area = 400.0 mm², actual FoS = 2.50
Try this example →

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

1
FoS = 120 / 40 = 3.00 and MS = 3.00 − 1 = 2.00.
2
Maximum allowable load = 120 / 1.5 = 80.00 kN, so the 40 kN load uses 50.0 % of it.
3
MS with the required factor = 120 / (40 × 1.5) − 1 = 1.00.
FoS = 3.00, MS = 1.00 against the required factor
Try this example →

Example 5 — An Overloaded Lifting Lug

A lug fails at 30 kN, carries 18 kN, and a factor of 2 is required

1
FoS = 30 / 18 = 1.67, so MS = 0.67 with no extra factor.
2
The most it may carry with a factor of 2 is 30 / 2 = 15.00 kN, so 18 kN is 120.0 % of the allowable load.
3
MS with the required factor = 30 / (18 × 2) − 1 = −0.17, so the requirement is not met.
FoS = 1.67, MS = −0.17, requirement not met
Try this example →

❓ Frequently Asked Questions

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.

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.