Online Tool Store Online Tool Store

Center of Mass Calculator

Enter each mass and its position to calculate the center of mass for the whole system, using the standard weighted-average formula. Runs entirely in your browser.

🔒 This tool runs entirely in your browser. Your files are never uploaded to a server.

Example

Center of Mass Calculator

Sample: 3-point system on a line

Example shown — replace it with your own masses and positions.

Mass 1: 2 kgx = 0 m
Mass 2: 3 kgx = 2 m
Mass 3: 1 kgx = 5 m

Result

Center of mass: x = 1.83 m

How it works

  1. Enter each mass and its position.
  2. Add as many masses as your system has.
  3. Get the system's center of mass.

The method

Each mass is multiplied by its position, summed, and divided by the total mass — the standard weighted-average formula for center of mass.

FAQ

What formula does this use?

The weighted average position formula, x_cm = Σ(m·x) / Σm, summing each mass multiplied by its position and dividing by the total mass.

Does this work in 2D or 3D?

This version calculates center of mass along a single line (1D); for 2D or 3D systems, the same weighted-average approach is applied to each axis independently.

What is this typically used for?

Common uses include physics coursework, balancing mechanical systems, and understanding stability in engineering and design problems.

How we compare

FeatureOnline Tool StorePhysics textbook formula by handSpreadsheet formula
No software installYesYesNo
Quick to startYesSlowSetup required
Free to useYesFreeOften paid

For a quick homework or reference check without building a spreadsheet formula, this gets you the answer directly.

Explore related tools

Embed this tool

Paste this on your own site — it stays free, and every file still stays in your visitor's browser, not yours or ours.