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.
Result
How it works
- Enter each mass and its position.
- Add as many masses as your system has.
- 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
| Feature | Online Tool Store | Physics textbook formula by hand | Spreadsheet formula |
|---|---|---|---|
| No software install | Yes | Yes | No |
| Quick to start | Yes | Slow | Setup required |
| Free to use | Yes | Free | Often paid |
For a quick homework or reference check without building a spreadsheet formula, this gets you the answer directly.