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.
Mass Components
Mode:
#
Mass
X
Y
Center of Gravity
Enter masses and coordinates, then click Calculate CG.
CG Location
Total Mass
—
Components
—
Formula Used
CGx = Σ(m·x) / Σm
CGy = Σ(m·y) / Σm
CGz = Σ(m·z) / Σ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.
- The tool applies the weighted average formula: CG = sum(m·x) / sum(m) for each axis.
- Review the result and optionally copy the CG coordinates.
- 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
Related tools
Last updated: 2026-05-23 ·
Reviewed by Nham Vu