Moment of Inertia Calculator: Calculate Beam & Shape Resistance to Bending (Free Tool)
You have a steel beam. You are designing a bridge. You are building a shelf. How much will it bend? How strong is it?
The answer depends on the moment of inertia (also called second moment of area). It measures how a shape resists bending.
A shape with more material farther from the center has a higher moment of inertia. It is stiffer.
Today, I give you a free Moment of Inertia Calculator.
You select a shape. Enter the dimensions. The calculator shows:
- Moment of inertia (I) in in⁴ or mm⁴
- Section modulus (S)
- Radius of gyration (r)
Let me explain what moment of inertia is and why it matters.
What is Moment of Inertia? (Simple Explanation)
Moment of inertia (I) is a geometric property of a cross-section. It tells you how resistant a shape is to bending.
Think of a ruler. Lay it flat. It bends easily. Turn it on its edge. It bends much less.
The shape matters. The orientation matters.
The formula for a rectangle:
I = (b × h³) ÷ 12
Where:
- b = width (inches)
- h = height (inches)
Key point: Height (h) is cubed. Doubling the height increases I by 8×. Doubling the width increases I by 2×.
Why This Moment of Inertia Calculator Matters
Here is why you need to calculate moment of inertia.
Reason 1: Beam design
Moment of inertia determines how much a beam deflects under load. Higher I = less deflection.
Reason 2: Compare shapes
A 2×8 on edge has a much higher I than a 2×8 flat. The calculator shows you the difference.
Reason 3: Material selection
For the same shape, steel and wood have different strengths. But I is the same. Then stress = M × c ÷ I.
Reason 4: Structural engineering
I-beams, channels, and tubes are designed to maximize I while minimizing weight.
Reason 5: Machine design
Shafts, gears, and structural frames need I calculations for stress analysis.
The Moment of Inertia Formula
Rectangle (about centroidal axis):
I = (b × h³) ÷ 12
Rectangle (about base axis):
I = (b × h³) ÷ 3
Circle:
I = (π × d⁴) ÷ 64
Hollow rectangle (tube):
I = (b × h³ ÷ 12) – (b_in × h_in³ ÷ 12)
Hollow circle (pipe):
I = (π × (d_outer⁴ – d_inner⁴)) ÷ 64
LIVE Moment of Inertia Calculator
Select a shape. Enter dimensions. The calculator shows I, section modulus, and radius of gyration instantly.
📐 Moment of Inertia Calculator
🟩 Shape
📏 Width (b) / Outer Diameter
📏 Height (h)
📐 Moment of Inertia Calculator
Calculate I, section modulus, and radius of gyration
🟩 Shape
Rectangle / Square Rectangle (about base) Circle Hollow Rectangle (Tube) Hollow Circle (Pipe)
📏 Width (b) / Outer Diameter
📏 Height (h)
📏 Inner Width / Inner Diameter
0.00 in⁴
S = 0.00 in³
r = 0.00 in
0%
💡 Higher I = stiffer beam. Height affects I by the cube. Doubling height = 8× stiffer.
📐 For rectangular beams, I = b × h³ ÷ 12. Use I for deflection calculations.
How to Use This Moment of Inertia Calculator
Follow these 4 simple steps.
Step 1: Select the shape (rectangle, rectangle about base, circle, hollow rectangle, or hollow circle)
Step 2: Enter the dimensions (width, height, inner dimensions)
Step 3: Read the moment of inertia (I) in in⁴
Step 4: Read the section modulus (S) and radius of gyration (r)
Real Examples: Different Shapes
Example 1: 2×8 on edge
- Shape: Rectangle
- Width: 1.5 in (actual), Height: 7.25 in (actual)
- I = (1.5 × 7.25³) ÷ 12 = 1.5 × 381 ÷ 12 = 47.6 in⁴
Example 2: 2×8 flat
- Width: 7.25 in, Height: 1.5 in
- I = (7.25 × 1.5³) ÷ 12 = 7.25 × 3.375 ÷ 12 = 2.04 in⁴
Difference: On edge is 23× stiffer!
Example 3: 4-inch diameter solid steel rod
- Shape: Circle
- Diameter: 4 in
- I = π × 4⁴ ÷ 64 = 3.1416 × 256 ÷ 64 = 12.57 in⁴
Example 4: 4×4 square tube (1/4″ wall)
- Outer: 4×4, Inner: 3.5×3.5
- I = (4×4³ ÷12) – (3.5×3.5³ ÷12) = (256÷12) – (150÷12) = 21.33 – 12.5 = 8.83 in⁴
Moment of Inertia by Shape (in⁴)
| Shape | Dimensions | I (in⁴) |
|---|---|---|
| 2×4 on edge | 1.5×3.5 | 5.36 |
| 2×6 on edge | 1.5×5.5 | 20.8 |
| 2×8 on edge | 1.5×7.25 | 47.6 |
| 2×10 on edge | 1.5×9.25 | 98.9 |
| 2×12 on edge | 1.5×11.25 | 178 |
| 4×4 solid | 4×4 | 21.3 |
| 4×4 tube (1/4″) | 4×4×0.25 | 8.83 |
| 6×6 tube (1/4″) | 6×6×0.25 | 28.2 |
| W8×10 I-beam | – | 30.8 |
| W10×22 I-beam | – | 118 |
| W12×26 I-beam | – | 204 |
Moment of Inertia for Common Cross-Sections
Rectangle (centroidal axis):
I = b × h³ ÷ 12
Rectangle (base axis):
I = b × h³ ÷ 3
Circle:
I = π × d⁴ ÷ 64
Hollow rectangle:
I = (b × h³ ÷ 12) – (b_in × h_in³ ÷ 12)
Hollow circle:
I = π × (d_outer⁴ – d_inner⁴) ÷ 64
I-beam (approximate):
I ≈ (b × h³) ÷ 12 – (b – t_w) × (h – 2t_f)³ ÷ 12
Where t_w = web thickness, t_f = flange thickness
Section Modulus (S)
Section modulus is related to moment of inertia:
S = I ÷ c
Where c = distance from neutral axis to extreme fiber.
For rectangle: c = h ÷ 2, so S = (b × h²) ÷ 6
For circle: c = d ÷ 2, so S = π × d³ ÷ 32
Why S matters: Bending stress = M ÷ S. Higher S = lower stress.
Radius of Gyration (r)
Radius of gyration is used in column buckling calculations:
r = √(I ÷ A)
Where A = cross-sectional area.
For rectangle: r = h ÷ √12 ≈ 0.2887 × h
For circle: r = d ÷ 4
Why r matters: Slenderness ratio = L ÷ r. Higher slenderness = more likely to buckle.
Parallel Axis Theorem
If you need moment of inertia about an axis not at the centroid:
I = I_centroid + A × d²
Where d = distance between the centroidal axis and the new axis.
Example: A 2×4 on edge about its base:
I_centroid = 5.36 in⁴
A = 5.25 in², d = 1.75 in
I = 5.36 + 5.25 × 1.75² = 5.36 + 16.1 = 21.5 in⁴ (matches rectangle about base formula)
Moment of Inertia and Deflection
The beam deflection formula:
δ = (P × L³) ÷ (48 × E × I)
Where:
- δ = deflection (inches)
- P = point load (lbs)
- L = span (inches)
- E = modulus of elasticity (psi)
- I = moment of inertia (in⁴)
Example: 2×8 on edge, P=1,000 lb, L=120 in, E=1,600,000 psi (wood)
δ = (1,000 × 1,728,000) ÷ (48 × 1,600,000 × 47.6) = 1.73e9 ÷ 3.66e9 = 0.47 inches
Same beam laid flat: I = 2.04 in⁴ → δ = 11 inches (fails)
Frequently Asked Questions (FAQs)
1. What is moment of inertia in simple terms?
It is a measure of how a cross-section resists bending. Higher I = stiffer.
2. Why is height more important than width?
I is proportional to height³. Doubling height = 8× stiffer. Doubling width = 2× stiffer.
3. What is the moment of inertia of a 2×4 on edge?
1.5 × 3.5³ ÷ 12 = 5.36 in⁴.
4. What is the difference between I and S?
I is moment of inertia. S = I ÷ c (section modulus). Use I for deflection. Use S for stress.
5. What is the radius of gyration?
r = √(I ÷ A). Used for column buckling calculations.
6. How do I find I for an I-beam?
Use the formula: I ≈ (b × h³ ÷ 12) – (b – t_w) × (h – 2t_f)³ ÷ 12.
7. What is the parallel axis theorem?
I = I_centroid + A × d². Used to find I about any axis.
8. Does material affect I?
No. I is purely geometric. Material affects E (modulus of elasticity).
9. What is a good I for a floor joist?
A 2×8 on edge (I=47.6 in⁴) is common for residential floors.
10. How do I increase I without adding weight?
Move material away from the center. Use I-beams, tubes, or channels instead of solid rectangles.
Common Mistakes
Mistake #1: Using the wrong orientation
A 2×8 on edge has I=47.6 in⁴. Flat, it has I=2.04 in⁴. Always check orientation.
Mistake #2: Confusing I with S
I is for deflection. S is for stress. Use the right one.
Mistake #3: Forgetting to convert units
Dimensions must be in consistent units (inches for US, mm for metric).
Mistake #4: Using outer dimensions for hollow sections
For tubes, use inner and outer dimensions, not just outer.
Mistake #5: Assuming all shapes have the same I
A 4×4 solid has I=21.3 in⁴. A 4×4 tube has I=8.83 in⁴. Solid is stiffer, but heavier.
Moment of Inertia for Structural Shapes
Wood beams (actual dimensions):
| Size | b (in) | h (in) | I (in⁴) |
|---|---|---|---|
| 2×4 | 1.5 | 3.5 | 5.36 |
| 2×6 | 1.5 | 5.5 | 20.8 |
| 2×8 | 1.5 | 7.25 | 47.6 |
| 2×10 | 1.5 | 9.25 | 98.9 |
| 2×12 | 1.5 | 11.25 | 178 |
Steel I-beams (W-shapes):
| Size | I (in⁴) | S (in³) | Weight (lb/ft) |
|---|---|---|---|
| W8×10 | 30.8 | 6.7 | 10 |
| W10×22 | 118 | 23.2 | 22 |
| W12×26 | 204 | 32.4 | 26 |
| W14×43 | 428 | 62.6 | 43 |
| W16×57 | 758 | 94.5 | 57 |
Final Thoughts
Moment of inertia is the key to understanding beam stiffness.
My Moment of Inertia Calculator gives you:
- I for rectangles, circles, tubes, and pipes
- Section modulus (S)
- Radius of gyration (r)
- Visual comparison of orientations
Bookmark this page. Use it for beam design, structural analysis, and mechanical engineering.
The next time you need to know how stiff a beam is, you will have the answer.
Disclaimer: This is an educational tool. For structural design, consult an engineer.
External Links (Authority Backlinks):
- Wikipedia – Moment of inertia{:target=”_blank” rel=”noopener noreferrer”}
- Wikipedia – Second moment of area{:target=”_blank” rel=”noopener noreferrer”}
- Wikipedia – Section modulus{:target=”_blank” rel=”noopener noreferrer”}
Read more
- Density Calculator – Calculate Mass, Volume & Density (Free Tool)
- Slope / Grade Calculator – Rise, Run & Percentage (Free Tool)
- Volume Calculator – Cubic Feet, Gallons & Liters (Free Tool)
- Area Calculator – Calculate Square Footage for Any Shape (Free Tool)
- Concrete Mix Calculator – Cement, Sand, Gravel Proportions (Free Tool)
- Concrete Volume Calculator – Cubic Yards, Feet & Meters (Free Tool)
- Liters to Gallons Converter – Convert Volume Instantly (Free Tool)
- Kg to Pounds Converter – Convert Kilograms Instantly (Free Tool)
- PSI to Bar Converter – Convert Pressure Units (Free Tool)
- mm to Inches Converter – Convert Millimeters Instantly (Free Tool)
- MPa to PSI Converter – Convert Pressure Units (Free Tool)
- Newton to Pound-force Converter – Convert Force Units (Free Tool)
- Meters to Feet Converter – Instant Length Conversion (Free Tool)