Centre of Mass Calculator: Find the Balance Point
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
This calculator finds the centre of mass (also called the centroid) of a set of point masses in a plane. You enter the x and y coordinates and the mass of each object, and the calculator returns the single point where the whole system balances. It uses the standard weighted average formula, so you get the exact balance point for any arrangement of masses.
Formula
The centre of mass of a set of point masses is the weighted average of their positions, where the weights are the masses. For points in a plane, you calculate the x and y coordinates separately:
X_cm = (m�x� + m₂x₂ + … + mₙxₙ) / (m� + m₂ + … + mₙ)
Y_cm = (m�y� + m₂y₂ + … + mₙyₙ) / (m� + m₂ + … + mₙ)
- m�, m₂, …, mₙ – masses of the objects (in kilograms, grams, or any consistent unit).
- x�, y� – coordinates of the first mass (in metres, centimetres, etc.).
- X_cm, Y_cm – coordinates of the centre of mass (same unit as the coordinates).
The formula works for any number of points, not just three. For a continuous object (like a rod or a plate), you would use an integral, but for discrete objects this sum is exactly correct.
Worked Example
Using the default values from the calculator above:
- Point 1: mass 1 kg at (0, 0)
- Point 2: mass 2 kg at (2, 0)
- Point 3: mass 3 kg at (0, 2)
First, find the total mass: 1 + 2 + 3 = 6 kg.
Now compute X_cm:
X_cm = (1×0 + 2×2 + 3×0) / 6 = (0 + 4 + 0) / 6 = 4/6 = 0.67 m
And Y_cm:
Y_cm = (1×0 + 2×0 + 3×2) / 6 = (0 + 0 + 6) / 6 = 6/6 = 1.00 m
So the centre of mass is at (0.67 m, 1.00 m). The calculator gives the same result, rounded to two decimals.
Why the Centre of Mass Matters
The centre of mass is the point where an object or system behaves as if all its mass were concentrated. It is the balance point: if you support the object exactly at that point, it stays level. This concept appears everywhere in physics and engineering:
- Stability: An object is stable if its centre of mass stays above its base of support. A car with a low centre of mass is less likely to tip over.
- Motion: When you throw a baton, the centre of mass follows a smooth parabolic path, even though the baton spins around it.
- Astronomy: Two stars orbit their common centre of mass, not one star around the other.
- Design: Engineers place the centre of mass of a drone or aircraft to ensure it flies straight.
Even your own body has a centre of mass that shifts as you move. When you bend over, it moves forward; that is why you stick your hips back to keep your balance.
How to Use the Calculator
Using the calculator is straightforward:
- Enter the number of points (the calculator currently supports up to 3, but you can adjust the inputs for more by editing the block).
- For each point, enter the x-coordinate, y-coordinate, and mass.
- Click calculate to see the centre of mass coordinates and the total mass.
Make sure all coordinates use the same unit (metres, centimetres, feet) and all masses use the same unit (kilograms, grams, pounds). The calculator does not convert units for you.
If you have more than three points, you can extend the pattern: add more x, y, and m inputs and update the formula. The calculator block here is a template; for a fixed number of points, you would need to modify the HTML.
Common Mistakes and Misconceptions
One common mistake is confusing the centre of mass with the geometric centre (centroid). The centroid is the average position of the points, ignoring mass. If all masses are equal, the centre of mass equals the centroid. But if one mass is much heavier, the centre of mass shifts toward it. For example, if you have a 10 kg mass at (0,0) and a 1 kg mass at (10,0), the centre of mass is at (0.91, 0), not at (5,0).
Another mistake is forgetting that the centre of mass can lie outside the object. A crescent moon or a boomerang has its centre of mass in the empty space between its arms. The formula still works – you just get a point that is not on the object itself.
Unit mix-ups are also common. If you mix metres and centimetres, the result will be wrong. Always convert to the same unit first.
Limits of the Formula
The formula given here works for discrete point masses. If you have a continuous object like a solid sphere or a flat plate, you need calculus (integrals) to find the centre of mass. For symmetric objects, the centre of mass is at the geometric centre – for a uniform sphere, it is the sphere’s centre; for a rectangular plate, it is the intersection of the diagonals.
Also, the formula assumes the masses are point-like – that their size is negligible compared to the distances between them. If the objects are large and overlapping, the calculation becomes more complex.
Frequently Asked Questions
What is the difference between centre of mass and centre of gravity?
For most everyday situations, they are the same point. The centre of gravity is the point where the total gravitational force acts, while the centre of mass is the average of mass distribution. They only differ when the gravitational field is not uniform (e.g., a very tall object in space). On Earth, the difference is negligible for normal-sized objects.
Can the centre of mass be outside the object?
Yes. For any object with a concave shape, like a horseshoe or a ring, the centre of mass lies in the empty space. The formula gives a coordinate that may not correspond to any physical point on the object.
How do I find the centre of mass of a triangle?
For a uniform triangular plate, the centre of mass is the centroid, which is the average of the three vertices’ coordinates: ((x1+x2+x3)/3, (y1+y2+y3)/3). If the triangle has non-uniform density, you would need a more complex calculation.
Does the centre of mass change if I rotate the object?
No. The centre of mass is a fixed property of the object’s mass distribution. Rotating the object moves its coordinates in space, but the centre of mass relative to the object stays the same.
Why is the centre of mass important in sports?
In high jump, athletes arch their bodies so that their centre of mass passes under the bar while their body goes over. In gymnastics, controlling the centre of mass is key to maintaining balance on a beam. Understanding the centre of mass helps athletes optimize their movements.
What if I have negative coordinates?
Negative coordinates are fine. The formula works with any real numbers. Just enter them as they are (e.g., -2 for x). The calculator allows negative values because coordinates can be negative in a standard Cartesian plane.
Related
Formula used
in n | Number of points | - | 3 | 2 in x1 | x1 | m | 0 | -100 in y1 | y1 | m | 0 | -100 in m1 | m1 | kg | 1 | 0 in x2 | x2 | m | 2 | -100 in y2 | y2 | m | 0 | -100 in m2 | m2 | kg | 2 | 0 in x3 | x3 | m | 0 | -100 in y3 | y3 | m | 2 | -100 in m3 | m3 | kg | 3 | 0 out cx | Centre of mass x | m | (x1*m1 + x2*m2 + x3*m3) / (m1 + m2 + m3) | 2 out cy | Centre of mass y | m | (y1*m1 + y2*m2 + y3*m3) / (m1 + m2 + m3) | 2 out total_m | Total mass | kg | m1 + m2 + m3 | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.