Moment of Inertia Calculator screenshot Loading Moment of Inertia Calculator…

How to Use Moment of Inertia Calculator

New window

Moment of Inertia Calculator finds the second moments of area of a composite section with the parallel-axis theorem – the values used for bending, buckling and torsion.

Moment of inertia calculator with an L-section
An L-section with its centroid and principal axes

1 · Draw the parts on the grid

  1. Choose a tool above the grid: Rectangle, Triangle, Polygon, Circle, Semicircle or Quarter circle.
  2. Solid or hole? The Solid / Hole switch decides what the next part will be. Holes are subtracted.
  3. Draw with the mouse or a finger:
    • Rectangle – press at one corner and drag to the opposite corner.
    • Triangle – click the three corners.
    • Polygon – click the corners; click the first corner again, double-click or press Enter to close.
    • Circle, semicircle, quarter circle – press at the centre and drag out the radius.
  4. Grid and snap: type the grid spacing (e.g. 5, 10 or 0.5) and choose whether points snap to the grid, half or quarter grid, or not at all. The coordinates under the cursor are shown in the corner.
  5. Move and resize: with Select / move, drag a part to move it and drag its round handles to resize it. Drag the empty grid to pan; use the mouse wheel, pinch or the + / − buttons to zoom; Fit shows everything. ↶ (or Ctrl+Z) undoes, Delete removes the selected part.

2 · Edit the numbers

Every part appears in the Parts list with its numbers: a rectangle's left-bottom corner, width and height; a circle's centre and radius; a sector's centre, radius and angles α₁ → α₂ (counter-clockwise, degrees); the corners of a triangle or polygon (add or remove corners there). Change any number and the drawing follows. You can switch a part between solid and hole, duplicate or delete it.

3 · Read the result

  • The summary gives \(A\), \(\bar x\), \(\bar y\), \(\bar I_x\), \(\bar I_y\), \(\bar I_{xy}\) and \(J\) about the centroidal axes.
  • The drawing shows G with the centroidal axes (red) and, when \(\bar I_{xy} \ne 0\), the principal axes (purple).
  • The Table of parts lists every part's own moments, the distances \(d_x\), \(d_y\) to the centroid and the parallel-axis contributions with their sums.
  • Below it: moments about the origin axes, principal moments \(I_1\), \(I_2\) and angle \(\theta_p\), radii of gyration.
Table of parts with parallel-axis terms
Parallel-axis terms for every part
Moments about the origin, principal moments and radii of gyration
Principal moments and radii of gyration
Step-by-step solution
The worked solution

Theoretical Background

New window

Second moment of area

$$ I_x = \int y^2\,dA, \qquad I_y = \int x^2\,dA, \qquad I_{xy} = \int xy\,dA, \qquad I_0 = \int r^2\,dA = I_x + I_y $$

\(I_x\) measures how far the area is spread from the x axis; it controls the bending stiffness about that axis. \(I_0\) is the polar moment of inertia.

Parallel-axis theorem

If a part has area A, centroid at distances \(d_x\), \(d_y\) from the axes and centroidal moments \(\bar I\):

$$ I_x = \bar I_{x} + A\,d_y^2, \qquad I_y = \bar I_{y} + A\,d_x^2, \qquad I_{xy} = \bar I_{xy} + A\,d_x d_y $$

For a composite section, add these for every part (holes with negative A and negative moments).

Basic shapes about their own centroid

Shape\(\bar I_x\)\(\bar I_y\)
Rectangle a (width) × b (height)\(ab^3/12\)\(a^3b/12\)
Circle, radius r\(\pi r^4/4\)\(\pi r^4/4\)
Semicircle (about the diameter)\(\pi r^4/8\)\(\pi r^4/8\)
Triangle base b, height h\(bh^3/36\)–

Worked example

Example

The 120 × 80 plate with a hole of radius 20 at (40, 40). Centroid: \(\bar X = 63.01\), \(\bar Y = 40\).

About the origin: \(I_x = \tfrac{120\cdot80^3}{3} - \left(\tfrac{\pi 20^4}{4} + 1256.64\cdot40^2\right) = 20\,480\,000 - 2\,136\,283 = 18\,343\,717\).

About the centroid: \(I_{xG} = I_x - A\bar Y^2 = 18\,343\,717 - 8343.36\cdot40^2 = 4\,994\,336\); \(I_{yG} = 10\,815\,974\); \(I_G = I_{xG} + I_{yG} = 15\,810\,310\) (units⁴). \(I_{xyG} = 0\) because the section is symmetric about the horizontal centroidal axis.

Product of inertia and principal axes

\(I_{xy}\) is zero when either axis is an axis of symmetry. If it is not zero, the principal axes are at

$$ \tan 2\theta_p = \frac{-2I_{xy}}{I_x - I_y}, \qquad I_{max,min} = \frac{I_x + I_y}{2} \pm \sqrt{\left(\frac{I_x - I_y}{2}\right)^2 + I_{xy}^2} $$

Where it is used

  • Bending stress \(\sigma = My/I\) and beam deflection (stiffness EI).
  • Column buckling \(P_{cr} = \pi^2 EI/(KL)^2\) with the smaller I.
  • Torsion of circular shafts with the polar moment \(J = I_0\).

FAQ

Is this the same as mass moment of inertia?

No. This is the area (second) moment of inertia in length⁴, used for beams. Mass moment of inertia (kg·m²) is used in dynamics.

Why are moments about the centroid the smallest?

The parallel-axis term A·d² is never negative, so moving the axis away from the centroid always increases I.

Can Ixy be negative?

Yes. Unlike Ix and Iy, the product of inertia can be positive, negative or zero.

Version history

  • 2.1.11 Dec 2026Rebuilt from scratch: draw the cross-section on a grid (rectangles, triangles, polygons, circles, semicircles, quarter circles, holes), edit every part as numbers, centroidal and principal moments with the parallel-axis working for each part.
  • 2.11 Dec 2026Rebuilt from scratch: draw the cross-section on a grid (rectangles, triangles, polygons, circles, semicircles, quarter circles, holes), edit every part as numbers, centroidal and principal moments with the parallel-axis working for each part.
  • 2.01 Dec 2026Modern layout: area tabs, solid parts and holes, a table of each part’s properties, totals about the origin and the centroid, and the drawing in the new design.