Code tool

Center of Mass Calculator

Enter point masses and coordinates to find their combined center of mass.

In-browser processingNo account requiredPrivacy details ↗

Center: —

A QUICK WALKTHROUGH

How to use this tool

  1. Choose 2D or 3D and enter up to 20 point masses.
  2. Use consistent mass and distance units for every row.
  3. Calculate the weighted coordinate averages.

Point-mass model

The calculation uses discrete point masses and weighted averages. It does not model continuous bodies or provide engineering safety conclusions.

Valid entries

Enter up to 20 points with a positive finite mass and finite coordinates. The 3D mode uses z coordinates; in 2D, z is not part of the result.

GOOD TO KNOW

Common questions

Can I mix units?

No. Use consistent mass and coordinate units across all rows.

Does this handle a solid object?

No. It calculates discrete point masses, not the center of a continuous body.

Are my values uploaded?

No. The calculation runs locally in your browser.