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.

Formula Used

CGx = Σ(m·x) / Σm

CGy = Σ(m·y) / Σ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

  1. Select 2D mode (X, Y) or 3D mode (X, Y, Z) depending on your problem.
  2. Enter the mass and coordinates for each component in the table.
  3. Click "Calculate CG" to compute the combined center of gravity.
  4. The tool applies the weighted average formula: CG = sum(m·x) / sum(m) for each axis.
  5. Review the result and optionally copy the CG coordinates.
  6. 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-07-01 · Reviewed by Nham Vu