Beam Stress Calculator
Compute bending stress σ = M·c/I for rectangular or custom sections, in MPa or ksi.
For a rectangle: I = b·h³/12 and c = h/2 are computed automatically.
Enter the material’s allowable stress in the same units (MPa or ksi) to get a safety factor.
When a beam bends under load, its material stretches on one side and squeezes on the other — and the highest stress always appears at the farthest point from the middle, the outer fiber. The Beam Stress Calculator computes that maximum bending stress using the classic flexure formula σ = M·c/I. Give it your bending moment and either a rectangular cross-section (width and height) or the section properties I and c directly, pick metric (N·mm → MPa) or imperial (kip·in → ksi) units, and it returns the bending stress with a full step-by-step breakdown — plus a safety factor if you enter the material’s allowable stress.
What the Beam Stress Calculator Does
The calculator handles two ways of describing the cross-section. For a rectangular section, you enter the width b and height h; the calculator derives the area moment of inertia I = b·h³/12 and the distance from the neutral axis to the outer fiber c = h/2 automatically. For any other shape — an I-beam, a channel, a pipe — you choose the custom option and enter I and c directly from a steel section table or your own calculation. Either way, it then applies the flexure formula σ = M·c/I with your bending moment M. The unit system select keeps everything consistent: in metric mode M is entered in newton-millimeters and the answer comes out in megapascals (MPa), while in imperial mode M is entered in kip-inches and the answer comes out in kips per square inch (ksi). Optionally, entering an allowable stress adds a third step computing the factor of safety as allowable divided by actual stress.
How to Use the Calculator
First choose your unit system — metric or imperial — because every number you enter must belong to the same system. Then pick the section type. For a rectangular beam, enter the width b (horizontal) and height h (vertical, the bending depth). For a custom section, look up the moment of inertia I and the extreme-fiber distance c for your shape and enter those. Enter the bending moment M at the location you are checking — for a simply supported beam with a center load, that is usually the midspan moment, which you compute separately from the loads. If you want a safety check, enter the material’s allowable bending stress in the same stress units (MPa or ksi). Press Calculate and read the headline stress, the step breakdown, and — if you entered an allowable — the safety factor verdict. Press Reset to clear the form and run a new case.
The Formula Explained
The flexure formula for pure bending is:
σ = M · c / I
where σ (sigma) is the bending stress at the outer fiber, M is the internal bending moment at the section, c is the distance from the neutral axis to the outermost fiber, and I is the area moment of inertia of the cross-section about the neutral axis. The formula assumes linear-elastic material behavior and small deflections — the standard assumptions of elementary beam theory. For a rectangle, the two section properties come from closed-form geometry: I = b·h³/12, because the material far from the neutral axis contributes with the cube of its distance, and c = h/2, since the neutral axis passes through the centroid. The units work out beautifully: with M in N·mm, c in mm, and I in mm⁴, the result is in N/mm², which is exactly one megapascal (MPa). With M in kip·in, c in inches, and I in in⁴, the result is in kips per square inch (ksi). The safety factor is simply the allowable stress divided by the computed stress; anything above 1.0 means the section is adequate, and structural practice typically targets 1.5 to 2.0 or more depending on the code.
Worked Example 1: Rectangular Beam in Metric Units
Consider a rectangular beam with width b = 50 mm and height h = 100 mm, carrying a bending moment M = 500,000 N·mm at the section of interest. Step 1: I = b·h³/12 = 50 × 100³ ÷ 12 = 50 × 1,000,000 ÷ 12 = 4,166,666.67 mm⁴; c = h/2 = 50 mm. Step 2: σ = M·c/I = 500,000 × 50 ÷ 4,166,666.67 = 25,000,000 ÷ 4,166,666.67 = 6.00 MPa. Step 3: with an allowable stress of 250 MPa (typical structural steel yield), the safety factor = 250 ÷ 6.00 = 41.67 — comfortably adequate. Enter these values in the calculator (metric units, rectangular section) and you will get σ = 6.00 MPa and a safety factor of 41.67, matching this arithmetic exactly.
Worked Example 2: Custom Section in Imperial Units
Now an imperial case: a steel beam with I = 12 in⁴ and c = 3 in (from the section table), subjected to M = 180 kip·in. Step 1: I = 12 in⁴ and c = 3 in are given directly. Step 2: σ = M·c/I = 180 × 3 ÷ 12 = 540 ÷ 12 = 45.00 ksi. Step 3: with an allowable stress of 60 ksi, the safety factor = 60 ÷ 45.00 = 1.33 — adequate but with a modest margin, typical of a beam working near its design limit. Run this in the calculator (imperial units, custom section) and it returns σ = 45.00 ksi with a safety factor of 1.33 and an “OK” verdict.
Worked Example 3: Effect of Doubling the Beam Depth
This example shows why depth matters so much. Take the metric beam from Example 1 but double the height: b = 50 mm, h = 200 mm, same M = 500,000 N·mm. Step 1: I = 50 × 200³ ÷ 12 = 50 × 8,000,000 ÷ 12 = 33,333,333.33 mm⁴; c = 200 ÷ 2 = 100 mm. Step 2: σ = 500,000 × 100 ÷ 33,333,333.33 = 50,000,000 ÷ 33,333,333.33 = 1.50 MPa. Doubling the depth cut the stress from 6.00 MPa to 1.50 MPa — a factor of four. That is the h³ in the inertia formula at work: bending stress in a rectangle scales with 1/h², so depth is the most powerful dimension a designer can change.
How to Interpret Your Result
The headline number σ is the maximum normal stress in the beam at that section — the stress the outer fibers must survive. Compare it with the material’s strength: if it is well below the yield strength (or the code allowable), the beam is fine in bending at that location. The safety factor step makes this comparison for you: above 1.0 is adequate, and the verdict line says so explicitly. A very large safety factor (like 41.67 in Example 1) means the beam is heavily oversized for that load — structurally safe, but possibly wasteful. A factor just above 1.0 deserves a second look at your inputs, because small errors in the moment or the section properties could flip the verdict. Also remember that this calculator checks bending stress only; a complete design also checks shear stress, deflection, and lateral stability, which are separate calculations.
Common Mistakes to Avoid
The number-one mistake is mixing units — entering the moment in N·m while the dimensions are in millimeters, for example. With mixed units the answer is wrong by orders of magnitude, so keep M, b, h, I, and c in one consistent system. Second, people enter the full beam length or the load instead of the bending moment M; the calculator needs the internal moment at the section (force times distance), not the load itself. Third, for rectangles, h must be the dimension in the direction of bending (the depth), not the width — swapping b and h changes I dramatically. Fourth, the custom c is the distance from the neutral axis to the extreme fiber, which for a symmetric section is half the total depth, not the full depth. Finally, do not confuse the allowable stress with the ultimate strength: allowables already include safety margins in most codes, so comparing against ultimate strength directly would double-count.
Frequently Asked Questions
1. What is bending stress?
The normal stress (tension on one side, compression on the other) that develops in a beam’s material when it bends under transverse loads. It is zero at the neutral axis and maximum at the outer fibers, which is what this calculator computes.
2. What does σ = M·c/I mean?
It is the flexure formula: bending stress equals the bending moment times the distance from the neutral axis, divided by the moment of inertia. Each term has a physical role — the moment drives the bending, c locates the worst fiber, and I measures the section’s resistance.
3. Why does a deeper beam have much lower stress?
Because the moment of inertia grows with the cube of the depth (h³). For a rectangle, doubling h cuts the stress by a factor of four, which makes depth the most effective dimension for controlling bending stress.
4. What units should I use?
Any consistent set. The calculator offers two: metric (M in N·mm, dimensions in mm, answer in MPa) and imperial (M in kip·in, dimensions in inches, answer in ksi). Never mix systems within one calculation.
5. How do I find I and c for an I-beam?
Use a standard steel section table (such as AISC), which lists the moment of inertia and section properties for every rolled shape. Choose the custom section option and enter those tabulated values.
6. What is the neutral axis?
The line through the cross-section where the bending stress is zero — material above it is in compression and below it in tension (or vice versa, depending on the bending direction). For symmetric sections it passes through the centroid.
7. What is a good safety factor?
It depends on the design code and the consequences of failure, but structural practice commonly targets 1.5 to 2.0 against yield for buildings. The calculator reports the raw ratio so you can compare it with your code’s requirement.
8. Can I use this for a cantilever beam?
Yes. The flexure formula applies to any beam; only the bending moment M differs. For a cantilever with a tip load P and length L, the maximum moment is P × L at the fixed support — enter that as M.
9. Does the calculator check shear stress too?
No. It computes bending (normal) stress only. Shear stress, deflection, and buckling are separate checks that a complete beam design must also satisfy.
10. What is the difference between MPa and ksi?
Both are units of stress (pressure). 1 ksi (kip per square inch) equals approximately 6.895 MPa. The calculator’s unit select keeps you in one system so no conversion is needed.
11. Why is c = h/2 for a rectangle?
Because the neutral axis of a symmetric cross-section passes through its centroid, which is at mid-depth. The farthest fiber is therefore half the total height away from the axis.
12. What if my beam is not loaded at the center?
The formula still applies — you just need the bending moment at the section you are checking, which depends on the loading. Compute M from statics (or a beam table) for your specific load arrangement, then enter it.
13. Is the stress tension or compression?
Both exist: one outer fiber is in tension and the opposite one in compression, with equal magnitude in pure bending. The calculator reports the magnitude; the sign depends on which side of the beam you are looking at and the direction of bending.
14. Can I check a wooden beam with this?
Yes, as long as you stay within the wood’s linear-elastic range and use an appropriate allowable stress for the species and grade. Wood’s allowable bending stress is much lower than steel’s — check a lumber reference for the right value.
15. What does it mean if the safety factor is below 1.0?
The computed stress exceeds the allowable, so the section is inadequate for that load by that criterion. You need a larger or deeper section, a stronger material, or a reduced load — and the calculator flags it with a “NOT OK” verdict.
Final Thoughts
Bending stress looks intimidating until you see the formula for what it is: the moment trying to bend the beam, divided by the section’s ability to resist, scaled to the farthest fiber. Keep your units consistent, use the depth dimension wisely — it is the cheapest strength you can buy — and always compare the result against a proper allowable with a real safety margin. This calculator handles the arithmetic; the engineering judgment about loads, codes, and safety factors remains yours, as it should.