Saved

Press the star next to a tool's name to save it.

All my tools

Moment of Inertia Calculator

Use this moment of inertia calculator to get the mass moment of inertia of common solids and the second moment of area of cross sections, with the parallel axis theorem.

Restored your last values ·

Pick the shape and read the axis in the answer. Mass shapes need the mass, and area shapes give the second moment of area. Use any units you like, as long as they match: kilograms and metres give kg·m², and inches give in⁴. To move the axis, enter the distance from the center of mass or centroid to the new parallel axis.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Choose the shape, enter its size, then press Calculate.

See full result

A moment of inertia calculator gives the resistance of a shape to rotation or bending from its size. Pick a shape, such as a solid cylinder, a sphere, a thin rod, a rectangle or a hollow circle, enter its dimensions, and the calculator returns the moment of inertia about each standard axis. For solid bodies you also enter the mass. For flat cross sections the result is the second moment of area, which is used in beam work. Everything is calculated in your browser.

How to use the moment of inertia calculator

  1. Choose the shape. Mass shapes are marked (mass), and cross sections are marked (area).
  2. Enter the mass for a solid body and the dimensions that the shape needs.
  3. If you need a different axis, enter the distance from the center to the new parallel axis.
  4. Press Calculate.

Mass moment of inertia

The Wikipedia list of moments of inertia gives the formulas for common bodies of uniform density. For a solid cylinder of radius r and mass m, the moment about its own axis is ½mr², and about a transverse axis through the center it is (1/12)m(3r² + h²).[1] A thin hoop has mr² about its axis. A solid sphere has (2/5)mr², and a thin hollow sphere has (2/3)mr². A thin rod of length L has (1/12)mL² about its center and (1/3)mL² about one end. A thin disc has ½mr² about the axis through its center, perpendicular to the disc, and ¼mr² about a diameter.[1]

The cuboid

For a solid cuboid of width w, height h and depth d, the page gives three moments about the axes through the center. About the axis along the height it is (1/12)m(w² + d²), about the axis along the width it is (1/12)m(d² + h²), and about the axis along the depth it is (1/12)m(w² + h²).[1] For a cube of side s, each is (1/6)ms². With a mass of 12, width 1, height 2 and depth 3, the three values are 10, 13 and 5.

Second moment of area

A beam's resistance to bending depends on the second moment of area of its cross section. The Wikipedia list of second moments of area gives, for a rectangle of width b and height h, I = bh³ ÷ 12 about the horizontal centroidal axis and b³h ÷ 12 about the vertical one, and bh³ ÷ 3 about the base.[2] A filled circle has πr⁴ ÷ 4 about a diameter, and πr⁴ ÷ 2 for the polar moment. An annulus with outer radius R and inner radius r has (π ÷ 4)(R⁴ − r⁴).[2] A triangle has bh³ ÷ 36 about the centroidal axis parallel to its base and bh³ ÷ 12 about the base. A semicircle has (π ÷ 8 − 8 ÷ 9π)r⁴ about its centroidal axis parallel to the flat side, and πr⁴ ÷ 8 about the flat side. A hollow rectangle has (bh³ − b₁h₁³) ÷ 12 about the horizontal centroidal axis.[2]

Moving the axis

The parallel axis theorem links the moment about an axis through the center of mass to the moment about any parallel axis. For mass it is I = I_cm + md², where d is the distance between the axes. For area the page writes I_z = I_x + Ar², where r is the distance to the new axis.[3] Take a 6 by 4 rectangle. About its horizontal centroidal axis the moment is 6 × 4³ ÷ 12 = 32. Move the axis 2 units away and the moment becomes 32 + 24 × 2² = 128. That agrees with the base value of bh³ ÷ 3 = 128 when the new axis is the base, which is 2 units from the centroid.

Mass and area moments are not the same

The mass moment of inertia has units of mass times length squared, such as kg·m², and it tells you how hard it is to change a body's spin. The second moment of area has units of length to the fourth power, such as m⁴ or in⁴, and it describes how a cross section resists bending. The two use the same style of integral, and the formulas have the same shapes, but the quantities are not interchangeable. The result row shows both kinds of numbers without units, so keep your own units in mind.

A worked example with a beam

A rectangular beam is 6 wide and 4 tall. When it bends about its horizontal centroidal axis, the second moment of area is 32, from bh³ ÷ 12 = 6 × 64 ÷ 12. If the same beam is turned on its side, so that it bends about the other axis, the value is b³h ÷ 12 = 216 × 4 ÷ 12 = 72, which is larger. This is why a plank is stiffer on its edge than flat, since the height enters the formula as a cube.{2} Enter the shape as a rectangle and both values appear in the axes row.

Mass shapes in motion

For a body that spins, the rotational kinetic energy is half of the moment of inertia times the square of the angular speed. A 10 kg solid cylinder of radius 0.5 m has a moment of 1.25 kg·m² about its own axis. A thin hoop of the same mass and radius has twice that, 2.5 kg·m², because its mass lies farther from the axis.{1} That is why a hoop is slower to roll down a slope than a solid cylinder of equal mass and radius.

Common mistakes

  • Using the wrong axis. A cylinder about its axis is not the same as about a transverse axis.
  • Mixing units. Use the same length unit for every dimension.
  • Using the diameter for the radius. The formulas want r.
  • Applying the parallel axis theorem to a non-central axis. The starting value must be about the center of mass or centroid.

What next

Use this often? Add Moment of In to your Home screen.

Frequently asked questions

What is a moment of inertia calculator?

A tool that gives the resistance of a body to rotation from its mass and shape, or the second moment of area of a cross section for bending.

What is the moment of inertia of a solid sphere?

It is (2/5)mr² about a diameter. A 5 kg sphere with a radius of 0.2 m has 0.08 kg·m².

What is the moment of inertia of a rectangle?

About the horizontal axis through its centroid it is bh³ ÷ 12, where b is the width and h the height. For a 6 by 4 rectangle that is 32.

What is the parallel axis theorem?

It says that the moment about an axis at distance d from the center-of-mass axis is I_cm + md² for mass, or I + Ad² for area.

What units does the moment of inertia use?

Mass moments use mass times length squared, such as kg·m². Second moments of area use length to the fourth power, such as m⁴.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Physics & Science Tools