Center of Mass Calculator – Balance Point of Masses on a Line

Use this free Center of Mass Calculator to find the balance point of up to three masses placed along a straight line. The centre of mass is the weighted average position — the whole system behaves as if all its mass were concentrated there.

m1, x1 m2, x2 m3, x3 centre of mass

Centre of Mass on a Line (up to 3 masses)

Formulas

x_cm = (m1x1 + m2x2 + m3x3) / (m1 + m2 + m3) — each position is weighted by its mass, then divided by the total mass. Leave the third mass blank to use just two masses.

How to use

Worked example

Three masses sit on a rod: 2 kg at 0 m, 3 kg at 4 m and 5 kg at 10 m.
x_cm = (2 × 0 + 3 × 4 + 5 × 10) / (2 + 3 + 5) = (0 + 12 + 50) / 10 = 62 / 10 = 6.2 m.
The balance point is at 6.2 m — pulled toward the heaviest mass, as expected.

FAQ

Is the centre of mass always inside the object?
No. For a ring or a boomerang it can lie in empty space. For masses on a line it always lies between the leftmost and rightmost masses, closer to the heavier end.

Why does the centre of mass matter for collisions?
The centre of mass of a system keeps moving at constant velocity unless an external force acts — even while the individual objects collide, explode or stick together.

Is centre of mass the same as centre of gravity?
In a uniform gravity field, yes — they coincide. They only differ where gravity varies noticeably across the object, such as very tall structures.