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

Frequently Asked Questions

Related tools

Last updated: 2026-05-23 · Reviewed by Nham Vu