Center of Mass Calculator
The center of mass calculator finds the balance point of a set of point masses, the mass-weighted average of their positions. A 4 kg mass at x = 0 and a 6 kg mass at x = 10 balance at x = 6.
Sources: OpenStax University Physics, Wikipedia Updated
Calculate the center of mass for a system of point masses in 2D space.
Center of mass formula for point masses
For a set of point masses, the center of mass is the mass-weighted average position: X = Σ(mᵢ × xᵢ) ÷ Σmᵢ, and Y is worked out the same way from the y-coordinates. Each point pulls the balance point toward itself in proportion to its mass.
This is the discrete form taught in OpenStax University Physics. A solid object with mass spread through it needs an integral instead of a sum.
How to find the center of mass of two masses
Put a 4 kg mass at x = 0 and a 6 kg mass at x = 10, both at y = 0, like weights on a see-saw.
- Add the masses: 4 + 6 = 10 kg.
- Multiply each mass by its position and add: 4 × 0 + 6 × 10 = 60.
- Divide by the total mass: X = 60 ÷ 10 = 6. Y stays 0.
The balance point at 6 is nearer the heavier 6 kg mass. To total a long list of masses first, the mass calculator adds them in grams or kilograms, and the sum calculator adds any list of numbers.
Adding more points
"Add Another Point" adds a row with its own x, y and mass. The calculator sums over every row when you press Calculate, so three or ten points use the same Σ(mᵢxᵢ) ÷ Σmᵢ with more terms.
"Remove" deletes a row and renumbers the rest, and "Clear All" goes back to one empty row.
Where the point-mass formula applies
This is the calculation used in introductory mechanics for separate point masses: counterweights, loads on a beam or a cluster of objects. If all the masses are equal, the center of mass is the plain average of the positions, the same as the midpoint for two points.
For a body moving in a circle about its center of mass, the centripetal force calculator gives the inward force needed. Other physics tools are on the science calculators page.
Center of Mass Calculator: FAQ
Is the center of mass the same as the center of gravity?
In a uniform gravitational field, as near the Earth's surface, they are at the same point. They differ only when gravity changes noticeably across the object.
Where is the center of mass of two equal masses?
Exactly halfway between them. With equal weights the formula reduces to the average of the positions, which is what the midpoint calculator works out.
Can the center of mass be outside the objects?
Yes. For the two masses here it lies on the empty beam at x = 6. For a ring or a boomerang it lies in the empty space in the middle.
Sources
- OpenStax University Physics Volume 1, 9.6 Center of Mass — center of mass of a system of point masses (checked October 16, 2026)
- Wikipedia: Center of mass — the mass-weighted average position (checked October 16, 2026)