Center of Gravity Calculator
Enter masses and their X/Y/Z coordinates to instantly find the combined center of gravity in 2D or 3D space.
Use the Center of Gravity Calculator
Mass Components
Mode:
#MassXYAction
Center of Gravity
Enter masses and coordinates, then click Calculate CG.
CG Location
Total First Moments (ΣM = Σ(m·r))
Total Mass
—
Components
—
Formula Used
ΣMx = Σ(m·x), CGx = ΣMx / Σm
ΣMy = Σ(m·y), CGy = ΣMy / Σm
ΣMz = Σ(m·z), CGz = ΣMz / Σm
All axes are computed independently as a mass-weighted average.
Copied!
Summary
Enter masses and their X/Y/Z coordinates to instantly find the combined center of gravity in 2D or 3D space.
How it works
- Select 2D mode (X, Y) or 3D mode (X, Y, Z) depending on your problem.
- Enter the mass and coordinates for each component in the table.
- Click "Calculate CG" to compute the combined center of gravity and total first moments.
- The tool computes intermediate first moments ΣM = Σ(m·r) and divides by total mass: CG = ΣM / Σm.
- Review coordinates and moments, then copy the formatted result summary.
- Add or remove rows as needed for up to 10 point masses.
Use cases
- Determine the CG of aircraft or spacecraft assemblies.
- Balance mechanical structures or vehicle chassis designs.
- Verify stability margins in structural engineering projects.
- Compute centroids for composite cross-sections in beam design.
- Check load distribution for shipping containers or cargo pallets.
- Analyze robotic arm balance and joint loading.
- Estimate the CG of assembled products during mechanical design.
- Validate finite-element model assumptions for mass distribution.
Frequently Asked Questions
Last updated: 2026-09-22 ·
Reviewed by Nham Vu