Moment of Inertia for a Rectangular Beam: Formula, Calculation & Examples
The moment of inertia for a rectangular beam is one of those numbers that quietly determines whether a structure feels rock solid or alarmingly springy. It governs how a joist, header, or machine base resists bending, and it depends entirely on the shape of the cross-section rather than the material it is made from. Get this value right, and your beam sizing becomes predictable and safe; get it wrong, and the same beam that looked generous on paper can sag well beyond acceptable limits.
Whether you are a student working through a mechanics of materials problem set, a carpenter checking whether a doubled-up 2x10 will carry a long span, or an engineer specifying a structural steel section, the rectangular moment of inertia is a calculation you will return to again and again. This guide walks through the underlying concept, the formulas you need, fully worked examples, and the practical design trade-offs that make this single number so influential.
What the Moment of Inertia of a Rectangular Beam Really Means
The moment of inertia, more precisely called the second moment of area, quantifies how a cross-section's material is distributed relative to a chosen axis. Every tiny element of area is multiplied by the square of its distance from that axis, and the results are summed across the entire shape. Because the distance term is squared, area located far from the neutral axis contributes disproportionately to the total, which is exactly why a tall, thin rectangle bends far less than a short, wide one of identical area.
It is worth stressing that this property is purely geometric. A steel rectangle and a timber rectangle of the same dimensions share the same moment of inertia. What differs is the modulus of elasticity, and those two values combine into the flexural rigidity term, commonly written as E multiplied by I, which ultimately controls how much a beam deflects under load.
Why Depth Dominates Width in Bending Performance
In the standard formula for a rectangle, the dimension parallel to the bending direction is cubed while the perpendicular dimension is only raised to the first power. That asymmetry is the single most important fact in beam design. Doubling the depth of a rectangular section multiplies its moment of inertia by a factor of eight, whereas doubling the width merely doubles it.
Consider two solid timber sections with the same cross-sectional area. A 50 mm by 200 mm member has an area of 10,000 square millimeters, and so does a 100 mm by 100 mm member. Oriented on edge, the tall section delivers roughly 33.3 million cubic millimeters of second moment of area, while the square section manages only about 8.3 million. Same material, same weight per meter, four times the bending stiffness.
The Centroidal Axis and the Standard Formula
For a solid rectangle of width b and depth h, the moment of inertia about the horizontal axis passing through the centroid is calculated as b multiplied by h cubed, divided by twelve. This axis runs perpendicular to the depth direction and sits exactly at mid-height for a symmetric rectangle, so the distance from the centroid to the top and bottom fibers is h divided by two in each case.
If you need the moment of inertia about any axis other than the centroidal one, the parallel axis theorem steps in. You simply add the product of the area and the square of the distance between the two axes. This is the tool that lets you handle rectangular shapes that are offset, stacked, or combined into T-sections and box sections.
How to Calculate the Moment of Inertia for a Rectangular Section
The calculation itself is refreshingly short, which is part of why rectangular sections are so popular in teaching and in practice. The main discipline required is consistency: identify the correct axis, measure the two dimensions accurately, keep your units uniform, and cube only the dimension that runs parallel to the applied load direction.
A frequent source of error is mixing units halfway through the calculation. If width is entered in millimeters and depth in meters, the result will be meaningless. Convert everything to a single unit first, then interpret the output correctly as millimeters to the fourth power or inches to the fourth power depending on the system you are using.
Worked Example: A Solid Rectangular Beam in the Strong Axis
Take a rectangular section 100 mm wide and 300 mm deep, oriented so the 300 mm dimension resists the bending. Substituting into the formula gives 100 multiplied by 300 cubed, all divided by twelve. Since 300 cubed equals 27,000,000, the numerator becomes 2,700,000,000, and dividing by twelve produces a moment of inertia of 225,000,000 millimeters to the fourth power, often written as 2.25 times ten to the eighth.
Now rotate the same physical member so the 100 mm dimension stands vertical. The calculation becomes 300 multiplied by 100 cubed, divided by twelve, which yields just 25,000,000 millimeters to the fourth power. That is a nine-fold reduction in stiffness purely from orientation, and it explains why builders are so careful to install joists and rafters on edge rather than laid flat.
| Section (mm) | Orientation | Moment of Inertia (mm⁴) |
|---|---|---|
| 100 x 300 | 300 mm depth | 225,000,000 |
| 100 x 300 | 100 mm depth | 25,000,000 |
| 50 x 200 | 200 mm depth | 33,333,333 |
| 100 x 100 | Square | 8,333,333 |
Weak Axis Values and Hollow Rectangular Sections
The weaker axis of a rectangle is calculated with the same formula but with the dimensions swapped, giving h multiplied by b cubed, divided by twelve. Engineers record both values because lateral stability, bracing requirements, and load directions are not always aligned with the strong axis, and a beam that is stiff vertically may still be vulnerable when forces arrive from the side.
Hollow or box sections follow a subtractive approach. You compute the moment of inertia of the outer rectangle and subtract the moment of inertia of the void, since the void behaves as negative area located at the same centroid. Because material near the neutral axis contributes so little, hollowing out the middle barely reduces stiffness while cutting weight substantially, which is precisely the logic behind tube steel and engineered I-joists.
Practical Applications and Design Considerations
Knowing the moment of inertia is only useful when you connect it to real performance criteria: bending stress, deflection, and vibration. These are the quantities that occupants and inspectors actually notice, and each one traces directly back to the geometric property you just calculated along with the material's elastic modulus.
Design codes typically impose deflection limits expressed as a fraction of the span, such as L over 360 for floors under live load. Because deflection varies inversely with the moment of inertia, a modest increase in depth often brings a marginal design into compliance without any change in material grade or span length.
Bending Stress and Beam Deflection Relationships
Bending stress at any point in the cross-section equals the bending moment multiplied by the distance from the neutral axis, divided by the moment of inertia. The maximum stress therefore occurs at the extreme fibers, at a distance of h divided by two from the centroid, and the section modulus, which is simply the moment of inertia divided by that distance, is the value most often tabulated for quick design checks.
Deflection behaves differently. For a simply supported beam carrying a uniform load, the maximum midspan deflection is proportional to the load and the span raised to the fourth power, and inversely proportional to E times I. That fourth-power term on span is brutal: a beam that satisfies deflection limits at five meters will almost certainly fail them at seven meters unless the moment of inertia increases dramatically.
Trade-offs Between Depth, Weight, and Cost
Increasing depth is the most efficient way to raise the moment of inertia, but it is rarely free. Taller members consume more headroom, require more bracing to prevent lateral torsional buckling, and can complicate connections and fire protection details. There is always a point where adding width, upgrading the material, or switching to a different cross-sectional family becomes the smarter move.
This is where hollow rectangles and I-shaped sections earn their place. By relocating material away from the neutral axis, they achieve high stiffness with less mass than a solid rectangle of comparable depth. The trade-off is fabrication complexity, potential local buckling of thin walls, and in some cases a higher unit cost, so the decision usually comes down to balancing structural efficiency against budget and buildability.
Run the numbers on your own section before the next pour or the next cut list, and let the moment of inertia guide the decision rather than intuition. A few minutes with the formula will tell you more about how a beam will behave than any rule of thumb handed down on site, and it will keep your spans comfortable, your floors quiet, and your designs defensible long after the drawings are filed away.