Simplify Your Workflow: Search MiniWebtool.
Add Extension
Home Page > Miscellaneous > Physics Calculators > Moment of Inertia Calculator

Moment of Inertia Calculator

Compute the moment of inertia for 15 common shapes — both the area moment of inertia used in beam bending (rectangle, circle, hollow tube, I-beam, triangle, semicircle, hollow box) and the mass moment of inertia used in rotational dynamics (thin rod, solid and hollow cylinder, solid and hollow sphere, rectangular plate). Switch units freely (mm⁴, cm⁴, m⁴, in⁴, ft⁴ for area; g·cm², kg·m², lb·ft², lb·in² for mass), add a parallel-axis offset, and read the centroid, cross-section area, polar moment, section modulus, radius of gyration, and a step-by-step LaTeX derivation alongside a live SVG diagram of the chosen cross-section.

Moment of Inertia Calculator
⚡ Quick examples
1 Pick a shape
2 Dimensions
4 Output unit
5 Parallel-axis offset (optional)
Leave empty if your axis already passes through the centroid. Otherwise we apply \( I' = I + A d^2 \) (area) or \( I' = I + m d^2 \) (mass).

Embed Moment of Inertia Calculator Widget

About Moment of Inertia Calculator

The Moment of Inertia Calculator covers both meanings of the term in one place — the area moment of inertia (second moment of area) used by structural engineers to predict how much a beam bends under load, and the mass moment of inertia used by mechanical and aerospace engineers to predict how a body responds to torque. Pick one of 15 ready-made shapes, type the dimensions in any familiar unit, watch the diagram redraw live, and read the moment of inertia together with the cross-section area, polar moment J, section modulus S, radius of gyration k, and a full step-by-step derivation. A parallel-axis-theorem field lets you shift the result to any axis parallel to the centroidal one with a single number.

How to Use This Moment of Inertia Calculator

  1. Click Area Moment of Inertia if you are sizing a beam, or Mass Moment of Inertia if you are studying rotation. The shape gallery filters itself to show only the shapes that apply.
  2. Tap a shape card — rectangle, circle, hollow tube, triangle, hollow box, I-beam, semicircle, thin rod, solid or hollow cylinder, solid or hollow sphere, rectangular plate. The required dimension fields show up and the diagram on the right adjusts.
  3. Type the dimensions in mm, cm, m, in, or ft. For mass-mode shapes also type the total mass in kg, g, lb, t, or oz.
  4. Pick the output unit — mm⁴ / cm⁴ / m⁴ / in⁴ / ft⁴ for area moment of inertia, or kg·m² / kg·cm² / g·cm² / lb·ft² / lb·in² for mass moment of inertia.
  5. Optionally enter a parallel-axis offset distance. The calculator applies \(I' = I + A d^2\) (area) or \(I' = I + m d^2\) (mass) automatically.
  6. Press Calculate to see the moment of inertia, the polar moment, section modulus, radius of gyration, a SVG diagram of the cross-section showing the centroid and axes, and the LaTeX derivation step by step.

What Makes This Calculator Different

Two inertia types in one tool Most calculators handle either area I (for beams) or mass I (for rotations) — never both. This one switches between the two with a single click, with separate shape galleries and unit menus, so you never have to leave the page when you need the other quantity.
Live SVG diagram for every shape The right-side panel redraws the chosen cross-section or body with your actual dimensions and labels each variable (b, h, r, D, d, tf, tw…). You can see exactly which dimension goes where before you press Calculate, eliminating the most common cause of wrong answers.
Beam-design extras in one shot For area-mode shapes the result includes cross-section area, polar moment J, section modulus S, radius of gyration k, and the distance to the extreme fiber — everything you need to substitute into σ = M·c / I or σ = M / S without a second calculation.

Area vs Mass Moment of Inertia

The two quantities sound similar and share a symbol \(I\), but they live in different worlds. The area moment of inertia \(I_x = \int_A y^2 \,dA\) depends only on the shape of a cross-section — material does not enter. Its units are length to the fourth power, so mm⁴, cm⁴, m⁴, or in⁴. You use it in beam bending: a higher \(I_x\) means more resistance to a bending moment about the same axis. The mass moment of inertia \(I = \int r^2 \,dm\) depends on both how much mass there is and how that mass is distributed away from the rotation axis. Its units are mass × length², so kg·m², g·cm², lb·ft², or lb·in². You use it in rotational dynamics: \(\tau = I\alpha\) is the rotational form of Newton's second law.

Formulas for Common Shapes

Every shape supported by this calculator follows one of the formulas below. They are all about the centroidal axis indicated by the diagram; the parallel-axis theorem extends them to any parallel axis.

ShapeInertiaFormula about centroidal axis
Rectangle (b × h)Area I_xb · h³ / 12
Solid Circle (diameter d)Area Iπ · d⁴ / 64
Hollow Circle (D, d)Area Iπ · (D⁴ − d⁴) / 64
Triangle (b, h)Area I_xb · h³ / 36
Hollow Rectangle (B, H, b, h)Area I_x(B · H³ − b · h³) / 12
I-Beam (H, B, tf, tw)Area I_xB · H³ / 12 − (B − tw) · h_w³ / 12, h_w = H − 2 tf
Semicircle (r)Area I_x(π/8 − 8/(9π)) · r⁴
Thin Rod, center axis (m, L)Mass Im · L² / 12
Thin Rod, end axis (m, L)Mass Im · L² / 3
Solid Cylinder, own axis (m, r)Mass Im · r² / 2
Solid Cylinder, perpendicular (m, r, L)Mass Im · (3 r² + L²) / 12
Hollow Cylinder, own axis (m, R, r)Mass Im · (R² + r²) / 2
Solid Sphere (m, r)Mass I2 m · r² / 5
Thin Hollow Sphere (m, r)Mass I2 m · r² / 3
Rectangular Plate (m, a, b)Mass Im · (a² + b²) / 12

The Parallel-Axis Theorem

The formulas above all assume the axis passes through the centroid of the shape. To shift to any axis parallel to the centroidal one, add a single correction term:

\[ I_{x'} \;=\; I_x \;+\; A\,d^{2} \qquad \text{(area)} \qquad I' \;=\; I \;+\; m\,d^{2} \qquad \text{(mass)} \]

where \(d\) is the distance between the two parallel axes, \(A\) is the cross-section area, and \(m\) is the total mass. The calculator applies this automatically when you fill in the optional offset field.

Worked Example: I-Beam Section

A W12×40 wide-flange I-beam has total height H = 12 in, flange width B = 8 in, flange thickness t_f = 0.515 in, and web thickness t_w = 0.295 in. The web height is \(h_w = H - 2 t_f = 10.97\) in.

  • \( I_x = B H^{3}/12 - (B - t_w)\,h_w^{3}/12 = 8 \cdot 12^{3}/12 - (8 - 0.295) \cdot 10.97^{3}/12 \approx 1152 - 847 \approx 305 \) in⁴.
  • That matches the AISC-table value of 307 in⁴ within engineering tolerance.
  • For a bending moment \(M = 50000\) lb·in, the maximum bending stress is \( \sigma = M c / I = 50000 \cdot 6 / 307 \approx 977 \) psi.

Worked Example: Flywheel

A solid steel flywheel of mass 20 kg and outer radius 0.30 m, rotating about its own central axis:

  • \( I = m r^{2}/2 = 20 \cdot 0.30^{2} / 2 = 0.9\) kg·m².
  • The torque needed to spin it from rest to 60 RPM (\(\omega = 6.28\) rad/s) in 5 seconds (\(\alpha = 1.26\) rad/s²) is \( \tau = I \alpha = 0.9 \cdot 1.26 \approx 1.13\) N·m.
  • The rotational kinetic energy at 60 RPM is \( K = \tfrac{1}{2} I \omega^{2} = 0.5 \cdot 0.9 \cdot 6.28^{2} \approx 17.7\) J.

Section Modulus, Radius of Gyration, Polar Moment

For every area-mode shape the calculator also reports three companion quantities every engineering student eventually needs:

  • Section modulus \(S = I_x / c\), where \(c\) is the distance from the centroid to the most stressed fiber. Used directly in the bending-stress formula \( \sigma = M / S \).
  • Radius of gyration \(k = \sqrt{I / A}\) (area) or \(k = \sqrt{I / m}\) (mass). It is the radius at which all the area or mass could be concentrated at a single point and still produce the same I. Appears in Euler's column-buckling formula and in the rotational-equivalent of \(KE = \tfrac{1}{2} m v^{2}\) when written as \(KE = \tfrac{1}{2} m (k\omega)^{2}\).
  • Polar moment of inertia \(J = I_x + I_y\), the area moment about the centroidal axis perpendicular to the cross-section. Drives torsional shear stress in a circular shaft: \(\tau = T r / J\).

Frequently Asked Questions

What is the difference between area and mass moment of inertia?
Area moment of inertia depends only on the cross-section shape and is used for beam bending — units are length⁴ (mm⁴, in⁴). Mass moment of inertia depends on both mass and how it is distributed around the rotation axis and is used for rotational dynamics — units are mass × length² (kg·m², lb·ft²). They share the symbol I but answer different physical questions.

How do I compute I for a rectangle?
About the centroidal x-axis, \(I_x = b h^{3}/12\). About the perpendicular centroidal y-axis it is \(I_y = h b^{3}/12\). The polar moment about the centroidal axis perpendicular to the plane is \(J = I_x + I_y\).

How do I compute I for a circle?
For a solid circle of diameter d, \(I = \pi d^{4}/64\) about any diameter and \(J = \pi d^{4}/32\) about the central perpendicular axis. For a hollow tube subtract the inner from the outer: \(I = \pi (D^{4} - d^{4})/64\).

What is the parallel-axis theorem?
It says \(I_{parallel} = I_{centroidal} + A d^{2}\) for area moments and \(I_{parallel} = I_{centroidal} + m d^{2}\) for mass moments, where d is the distance between the two parallel axes. This calculator applies it automatically when you fill in the offset field.

What is the moment of inertia of a solid sphere?
\(I = \tfrac{2}{5} m r^{2}\) about any diameter. A thin hollow sphere of the same mass and radius is \(\tfrac{2}{3} m r^{2}\) — bigger because more mass sits at the outer edge.

What is section modulus and how do I use it?
\(S = I_x / c\) where c is the distance from the centroid to the extreme fiber. Maximum bending stress is \(\sigma = M / S\). A larger S means the beam can carry a larger moment at the same allowable stress.

Why does the I-beam shape outperform a solid rectangle of the same area?
Because the area moment of inertia weights each piece of material by the square of its distance from the centroid. An I-beam puts most of its material in the flanges, far from the centroid, so each kg contributes much more to I than the same kg sitting near the centroid in a solid bar. That is why steel beams are nearly always shaped like an I.

Reference this content, page, or tool as:

"Moment of Inertia Calculator" at https://MiniWebtool.com/moment-of-inertia-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: 2026-05-16

Related MiniWebtools:

Physics Calculators:

Top & Updated:

Random PickerRandom Name PickerFPS ConverterInstagram User ID LookupLine CounterSort NumbersRelative Standard Deviation CalculatorBatting Average CalculatorMAC Address GeneratorRemove SpacesERA CalculatorJob FinderWord to Phone Number ConverterFeet and Inches to Cm ConverterMAC Address LookupRandom Truth or Dare GeneratorFacebook User ID LookupSum CalculatorPercent Off CalculatorSquare Root (√) CalculatorSun, Moon & Rising Sign Calculator 🌞🌙✨OPS CalculatorSHA256 Hash GeneratorLog Base 10 CalculatorImage ResizerMP3 LooperBitwise CalculatorNumber of Digits CalculatorSaturn Return CalculatorAudio SplitterPhone Number ExtractorSlope and Grade CalculatorRandom Credit Card GeneratorVertical Jump CalculatorRoman Numerals ConverterAI Text HumanizerRandom Sound Frequency GeneratorSlugging Percentage CalculatorRandom Activity GeneratorOn Base Percentage CalculatorSalary Conversion CalculatorCm to Feet and Inches ConverterRandom IMEI GeneratorRandom Movie PickerInvisible Text GeneratorMerge VideosNumber to Word ConverterWAR Calculator⬛ Aspect Ratio CalculatorOctal CalculatorCaffeine Overdose CalculatorRandom Fake Address GeneratorBinary to Gray Code ConverterRandom Superpower GeneratorRandom Poker Hand GeneratorDecimal to BCD ConverterFile Size ConverterRandom Loadout GeneratorMaster Number CalculatorText FormatterRandom Quote GeneratorVideo to Image ExtractorAdd Prefix and Suffix to TextRandom Writing Prompt GeneratorBCD to Decimal ConverterFirst n Digits of PiSteel Weight CalculatorRandom Birthday GeneratorWHIP CalculatorTime Duration CalculatorCompound Growth CalculatorLove Compatibility CalculatorWord Ladder GeneratorQuotient and Remainder CalculatorCompare Two StringsYouTube Channel StatisticsName Number CalculatorCM to Inches ConverterSHA512 Hash GeneratorOutlier CalculatorBattery Life CalculatorImage CompressorDMS to Decimal Degrees ConverterWhat is my Lucky Number?Remove AccentPercent Growth Rate CalculatorGray Code to Binary ConverterLeap Years ListRemove Line Breaks📅 Date CalculatorStair CalculatorAcreage CalculatorDay of Year CalendarVideo CompressorProportion CalculatorBinary to BCD ConverterSocial Media Username CheckerIP Subnet CalculatorRandom Number PickerEmail ExtractorURL ExtractorAI ParaphraserAI Punctuation AdderList of Prime NumbersDay of the Year Calculator - What Day of the Year Is It Today?IP Address to Hex ConverterSort Lines AlphabeticallyHex to BCD ConverterBCD to Binary ConverterLottery Number GeneratorBCD to Hex ConverterMedian CalculatorStandard Error CalculatorList RandomizerBreak Line by CharactersAverage CalculatorModulo CalculatorPVIFA CalculatorReverse VideoHypotenuse CalculatorRemove Audio from VideoActual Cash Value CalculatorScientific Notation to Decimal ConverterNumber ExtractorAngel Number CalculatorLog Base 2 CalculatorRoot Mean Square CalculatorSum of Positive Integers CalculatorSHA3-256 Hash GeneratorAI Sentence ExpanderLbs to Kg ConverterHex to Decimal ConverterRandom Group GeneratorConvolution CalculatorMAC Address AnalyzerRandom String GeneratorRemove Leading Trailing SpacesAmortization CalculatorMarkup CalculatorPVIF CalculatorDecimal to Hex ConverterInstagram Font GeneratorSocial Media Image Size GuideTikTok Money CalculatorTwitter/X Character CounterTwitter/X Timestamp ConverterYouTube Watch Time CalculatorTwitch Earnings CalculatorYouTube Shorts Monetization CalculatorFacebook Ad Cost CalculatorSocial Media ROI CalculatorSocial Media Post Time OptimizerCTR CalculatorROAS CalculatorInfluencer ROI CalculatorForce CalculatorAcceleration CalculatorVelocity CalculatorMomentum CalculatorProjectile Motion CalculatorKinetic Energy CalculatorPotential Energy CalculatorWork and Power CalculatorDensity CalculatorPressure CalculatorIdeal Gas Law CalculatorFree Fall CalculatorTorque CalculatorHorsepower CalculatorDilution CalculatorChemical Equation BalancerStoichiometry CalculatorPercent Yield CalculatorEmpirical Formula CalculatorBoiling Point CalculatorTitration CalculatorMole/Gram/Particle ConverterIrregular Polygon Area CalculatorFrustum CalculatorTorus Calculator3D Distance CalculatorGreat Circle Distance CalculatorCircumscribed Circle (Circumcircle) CalculatorInscribed Circle (Incircle) CalculatorAngle Bisector CalculatorTangent Line to Circle CalculatorHeron's Formula CalculatorCoordinate Geometry Distance CalculatorVolume of Revolution CalculatorSurface of Revolution CalculatorParametric Curve GrapherRiemann Sum CalculatorTrapezoidal Rule CalculatorSimpson's Rule CalculatorImproper Integral CalculatorL'Hôpital's Rule CalculatorMaclaurin Series CalculatorPower Series CalculatorSeries Convergence Test CalculatorInfinite Series Sum CalculatorAverage Rate of Change CalculatorInstantaneous Rate of Change CalculatorRelated Rates SolverOptimization Calculator (Calculus)Gradient Calculator (Multivariable)Divergence CalculatorCurl CalculatorLine Integral CalculatorSurface Integral CalculatorJacobian Matrix CalculatorNewton's Method CalculatorRREF Calculator (Row Echelon Form)Matrix Inverse CalculatorMatrix Multiplication CalculatorDot Product CalculatorCross Product CalculatorVector Magnitude CalculatorUnit Vector CalculatorAngle Between Vectors CalculatorNull Space CalculatorColumn Space CalculatorCramer's Rule CalculatorMatrix Diagonalization CalculatorQR Decomposition CalculatorCholesky Decomposition CalculatorMatrix Power CalculatorCharacteristic Polynomial CalculatorBayes' Theorem CalculatorF-Test / F-Distribution CalculatorHypergeometric Distribution CalculatorNegative Binomial Distribution CalculatorGeometric Distribution CalculatorExponential Distribution CalculatorWeibull Distribution CalculatorBeta Distribution CalculatorSpearman Rank Correlation CalculatorFisher's Exact Test CalculatorContingency Table CalculatorOdds Ratio CalculatorRelative Risk CalculatorEffect Size CalculatorPermutations with Repetition CalculatorModular Exponentiation CalculatorPrimitive Root CalculatorPerfect Number CheckerAmicable Number CheckerTwin Prime FinderMersenne Prime CheckerGoldbach Conjecture VerifierMöbius Function CalculatorEgyptian Fraction CalculatorFibonacci Number CheckerDigital Root CalculatorPartition Function CalculatorBoolean Algebra SimplifierKarnaugh Map (K-Map) SolverLogic Gate SimulatorGraph Coloring CalculatorTopological Sort CalculatorAdjacency Matrix CalculatorRecurrence Relation SolverInclusion-Exclusion CalculatorLinear Programming SolverTraveling Salesman Solver (TSP)Hamiltonian Path CheckerPlanar Graph CheckerNetwork Flow Calculator (Max Flow)Stable Marriage Problem SolverFirst-Order ODE SolverSecond-Order ODE SolverDirection Field / Slope Field PlotterEuler's Method CalculatorBernoulli ODE SolverSystem of ODEs SolverGroup Theory Order CalculatorRing and Field CalculatorJordan Normal Form CalculatorMatrix Exponential CalculatorTensor Product CalculatorFast Fourier Transform (FFT) CalculatorZ-Transform CalculatorNumerical Integration CalculatorTOML to JSON ConverterJSON to CSV ConverterXML to JSON ConverterSQL to MongoDB Query ConverterCSS Flexbox PlaygroundCSS Grid GeneratorJWT GeneratorBcrypt Hash Generator / CheckerColor Code Converter (All Formats)Git Command Generator.env File GeneratorLorem Picsum / Placeholder Image GeneratorText to Binary/Hex/ASCII ConverterSyllable CounterSentence CounterParagraph CounterSpeaking Time CalculatorReading Time CalculatorWhitespace VisualizerStrikethrough Text GeneratorTorque Converter (Nm, ft-lb, kgf-cm)Data Transfer Rate ConverterFuel Efficiency ConverterAstronomical Unit ConverterRing Size ConverterPaper Size ReferenceClothing Size ConverterGas Mileage CalculatorEV Range CalculatorEV Charging Time Calculator0–60 / Quarter Mile CalculatorCar Lease CalculatorVehicle Towing Capacity CalculatorExposure Triangle CalculatorCrop Factor CalculatorMegapixel to Print Size CalculatorPhoto File Size EstimatorMusic BPM TapperMusic Key TransposerVideo Bitrate CalculatorSeed Germination Rate CalculatorFertilizer Calculator (NPK)Raised Bed Soil CalculatorFrost Date CalculatorLawn Fertilizer CalculatorCompost Calculator (C:N Ratio)Solar Panel CalculatorSolar ROI CalculatorHome Energy Audit CalculatorAppliance Energy Cost CalculatorWater Usage CalculatorElectricity Generation Cost CalculatorHeat Loss CalculatorFlight Distance CalculatorTravel Budget CalculatorJet Lag CalculatorPacking List GeneratorTip Splitter (Advanced)Lease vs Buy CalculatorHourly Rate Calculator (Freelancer)Invoice Late Fee CalculatorESPP CalculatorStock Split CalculatorOptions Probability CalculatorDollar to Gold ConverterBeam Load CalculatorPipe Flow CalculatorBolt Torque CalculatorGravel, Sand & Topsoil CalculatorRandom Sentence GeneratorRandom Paragraph GeneratorRandom Math Problem GeneratorRandom Bible Verse GeneratorRandom Cat/Dog Name GeneratorRandom Debate Topic GeneratorBody Recomposition CalculatorAlcohol Calorie CalculatorMedication Dosage CalculatorPace to Calories CalculatorHydration CalculatorTrain Meeting Problem SolverAge Word Problem SolverMixture Problem SolverWork Rate Problem SolverDistance-Speed-Time Triangle CalculatorCoin Word Problem SolverNumber Bonds GeneratorCarry and Borrow VisualizerTimes Tables QuizMental Math TrainerRoman Numeral Math SolverEgyptian Multiplication CalculatorVedic Math Tricks CalculatorRussian Peasant MultiplicationSoroban Abacus SimulatorAnnuity Payout CalculatorReverse Mortgage CalculatorVariable Annuity CalculatorFixed Indexed Annuity CalculatorBond Convexity CalculatorBond Duration Calculator (Macaulay & Modified)Forward Rate CalculatorMortgage Recast CalculatorTreasury Inflation-Protected Securities (TIPS) CalculatorStock Beta CalculatorTreynor Ratio CalculatorSortino Ratio CalculatorDoppler Effect CalculatorSpring Constant CalculatorPendulum Period CalculatorCentripetal Force CalculatorAngular Velocity CalculatorMoment of Inertia CalculatorSnell's Law CalculatorCoulomb's Law CalculatorElectric Field CalculatorMagnetic Field of Wire CalculatorLens Equation CalculatorA/B Test Significance CalculatorA/B Test Sample Size CalculatorConversion Rate CalculatorCustomer Lifetime Value (CLV) CalculatorCustomer Acquisition Cost (CAC) CalculatorChurn Rate CalculatorRetention Rate Cohort CalculatorNPS (Net Promoter Score) CalculatorPareto Chart GeneratorSix Sigma Process Capability CalculatorTessellation GeneratorSpirograph GeneratorVoronoi Diagram GeneratorDelaunay Triangulation GeneratorL-System Fractal GeneratorMandelbrot Set ExplorerJulia Set GeneratorPolar Equation Plotter3D Surface PlotterSierpinski Triangle GeneratorcURL Command BuilderHTTP Status Code ReferenceUUID Validator/DecoderURL ParserQuery String BuilderSVG to React/JSX ConverterSCSS to CSS CompilerLess to CSS CompilerTypeScript PlaygroundJSON Schema GeneratorImage to ASCII Art ConverterImage to SVG TracerLipogram CheckerPangram CheckerAcronym GeneratorBackronym GeneratorPig Latin TranslatorEXIF Data Viewer/RemoverROT13 Encoder/DecoderAtbash Cipher ToolVigenère Cipher ToolPronunciation IPA ConverterHemingway-Style Readability Editor