How to Calculate the Center of Mass of a System of Objects

The center of mass of a system of objects is the point that represents the average position of all the mass in the system. Its location depends on how much mass each object has and where that mass is positioned. Calculating the center of mass allows you to determine where a collection of objects would balance under suitable conditions and helps explain motion in everything from sports equipment to spacecraft.

To calculate the center of mass, multiply each object’s mass by its position, add those products together, and divide the result by the total mass. For objects arranged along a straight line, the equation is:

x₍cm₎ = (m₁x₁ + m₂x₂ + ⋯ + mₙxₙ) / (m₁ + m₂ + ⋯ + mₙ)

Here, x₍cm₎ is the center-of-mass position, m represents the mass of each object, x represents its position, and n is the number of objects. The same principle applies in two and three dimensions by calculating the center of mass separately along each coordinate axis.

What the center of mass means

The center of mass is the mass-weighted average position of a system. Unlike an ordinary average, which gives every object equal importance, this calculation gives heavier objects more influence over the result.

Imagine two objects connected by a lightweight rod. If both objects have the same mass, the center of mass lies halfway between them. If one object is twice as massive as the other, the center of mass lies closer to the heavier object.

This concept applies whether a system contains a few separate objects or a single extended object, such as a baseball bat, a wooden plank, or a human body. For a collection of separate objects, each object’s mass and position can be used directly. For an extended object, its mass distribution must be considered, although symmetry often makes the calculation much easier.

The center of mass does not necessarily lie inside the material of an object. For example, the center of mass of a uniform ring lies at its geometric center, where there is no material. For a system of separated objects, the center of mass can likewise lie in the empty space between them.

How to calculate the center of mass in one dimension

When objects lie along a straight line, their positions can be represented by a single coordinate, such as x. The calculation requires three steps: identify each object’s mass, determine its position relative to a common reference point, and calculate the mass-weighted average.

Consider two objects positioned along a horizontal line. The first has a mass of 2 kilograms and is located at x = 0 meters. The second has a mass of 6 kilograms and is located at x = 4 meters.

First, multiply each mass by its position:

  • Object 1: 2 kg × 0 m = 0 kg·m
  • Object 2: 6 kg × 4 m = 24 kg·m

Next, add the products and divide by the total mass:

x₍cm₎ = (0 + 24) / (2 + 6)

x₍cm₎ = 24 / 8 = 3 m

The center of mass is therefore located at x = 3 meters, measured from the chosen origin. It lies between the objects but closer to the heavier one.

This result illustrates an important principle: the center of mass is not necessarily the midpoint between objects. Its position depends on both the objects’ locations and their relative masses.

How to calculate the center of mass for several objects

The same procedure works for any number of objects. Suppose three objects have the following masses and positions along a straight line:

  • Object A: 2 kg at x = 1 m
  • Object B: 3 kg at x = 4 m
  • Object C: 5 kg at x = 7 m

Multiply each mass by its position:

  • Object A: 2 × 1 = 2 kg·m
  • Object B: 3 × 4 = 12 kg·m
  • Object C: 5 × 7 = 35 kg·m

Add the products to obtain 49 kg·m. The total mass is 2 + 3 + 5 = 10 kg.

The center of mass is:

x₍cm₎ = 49 / 10 = 4.9 m

The center of mass lies at x = 4.9 meters. Although the three objects are not evenly distributed in mass, the formula accounts for each one’s contribution automatically.

For a larger system, organizing the calculation in a table can reduce mistakes. List each object’s mass, position, and mass-position product in separate columns. Add the masses and products, then divide the sum of the products by the total mass.

The order in which the objects are listed does not matter. As long as every object’s mass and position are included correctly, the result will be the same.

How to calculate the center of mass in two dimensions

When objects occupy different positions on a flat surface, each position requires two coordinates: x and y. The center of mass is found by calculating a weighted average for each coordinate independently.

The equations are:

x₍cm₎ = Σ(mᵢxᵢ) / Σmᵢ

y₍cm₎ = Σ(mᵢyᵢ) / Σmᵢ

The symbol Σ, called sigma, means to add the indicated quantities for all objects. The subscript i identifies an individual object.

Consider three objects on a flat surface:

  • Object A: 2 kg at (0, 0) m
  • Object B: 2 kg at (4, 0) m
  • Object C: 4 kg at (0, 6) m

For the x-coordinate, multiply each mass by its x-position and add the results:

x₍cm₎ = (2×0)\+(2×4)\+(4×0)(2 × 0) \+ (2 × 4) \+ (4 × 0) / (2 + 2 + 4)

x₍cm₎ = 8 / 8 = 1 m

For the y-coordinate:

y₍cm₎ = (2×0)\+(2×0)\+(4×6)(2 × 0) \+ (2 × 0) \+ (4 × 6) / 8

y₍cm₎ = 24 / 8 = 3 m

The center of mass is therefore at (1, 3) meters.

The calculation treats horizontal and vertical positions separately because the coordinates describe independent directions. Together, they identify the center-of-mass location on the surface.

How to calculate the center of mass in three dimensions

For objects distributed throughout space, a third coordinate, z, is needed. The center of mass is determined by calculating weighted averages along all three axes:

x₍cm₎ = Σ(mᵢxᵢ) / Σmᵢ

y₍cm₎ = Σ(mᵢyᵢ) / Σmᵢ

z₍cm₎ = Σ(mᵢzᵢ) / Σmᵢ

The process is identical to the two-dimensional method, with the addition of the vertical or depth coordinate.

Each object contributes according to its mass and its position along the relevant axis. A massive object far from the origin has a greater influence on the center of mass than a lighter object at the same position. Moving an object changes the center of mass in proportion to the object’s mass and displacement, relative to the system’s total mass.

The three coordinates together specify a single point in space. This method is useful for analyzing assemblies of machine parts, groups of particles, vehicles, and other systems whose components occupy different locations.

How to find the center of mass of an extended object

Not every system consists of separate objects that can be treated as individual points. A plank, plate, or irregular solid has mass distributed throughout its volume. In such cases, the center of mass depends on how that mass is spread out.

For an object made of uniform material, symmetry often provides a direct answer. A uniform rectangular block has its center of mass at its geometric center. A uniform sphere has its center of mass at the center of the sphere, and a uniform circular disk has its center of mass at its center.

These results follow from the symmetry of the mass distribution. Equal amounts of mass lie at corresponding positions on opposite sides of the center, so their contributions balance.

For an irregular object, the center of mass may not coincide with its geometric center. If one side contains more material or denser material, the center of mass shifts toward that side.

A practical way to find the center of mass of a thin, irregular sheet is to suspend it from different points. When the sheet hangs freely, its center of mass lies somewhere on the vertical line directly below the suspension point, assuming ordinary gravitational conditions. Marking vertical lines from two or more suspension points allows their intersection to identify the center of mass approximately.

For precise calculations, an extended object can be divided into small elements of mass. Each element contributes according to its mass and position. In the continuous limit, the sums become integrals:

x₍cm₎ = (1/M) ∫ x dm

Equivalent equations apply to y and z. Here, M is the object’s total mass, x is the position of a small mass element, and dm represents that element’s mass. Integration adds the contributions from all parts of the object.

If the object’s density and shape are known, the mass elements can be expressed in terms of volume, area, or length, depending on the object. For a uniform-density object, density is constant, which can simplify the calculation considerably.

How mass distribution affects the center of mass

The center of mass depends on the distribution of mass, not merely on the total mass. Two systems can have the same total mass but different centers of mass if their components occupy different positions.

Adding mass at a particular location generally pulls the center of mass toward that location. Removing mass generally shifts it away from the removed material. Moving a component changes its contribution without changing the system’s total mass.

For example, if a person holds a heavy suitcase in one hand, the combined center of mass of the person and suitcase shifts toward the suitcase. If the person moves the suitcase to the other side, the combined center of mass changes accordingly.

This is also why athletes adjust their body positions when balancing, jumping, or rotating. Moving their arms, legs, or torso changes the distribution of mass and can alter the position of their body’s center of mass. These movements can affect stability, balance, and the way the body rotates.

In systems with uniform mass distribution and strong geometric symmetry, the calculation is often straightforward. In systems with uneven density or irregular shapes, the actual distribution of mass must be accounted for.

The difference between center of mass and center of gravity

The center of mass and the center of gravity are closely related, but they describe different concepts.

The center of mass is determined by the distribution of mass and does not depend on the local gravitational field. The center of gravity is the point at which the combined gravitational force on an object can be represented as acting.

In a nearly uniform gravitational field, such as the field experienced by an ordinary object near Earth’s surface, the center of gravity coincides with the center of mass to an excellent approximation. This is why the two terms are often used interchangeably in everyday situations.

However, when gravity varies significantly across an extended object, the center of gravity may differ from the center of mass. In that situation, different parts of the object experience different gravitational forces, so the effective point of application of the total gravitational force can shift.

For most classroom problems, household objects, and everyday mechanical systems near Earth’s surface, calculating the center of mass is sufficient to determine the point relevant to balancing under gravity.

How the center of mass relates to balance and motion

The center of mass is useful because it simplifies the analysis of a system’s motion. Under ordinary Newtonian mechanics, the overall translational motion of a system can be described by treating its total mass as concentrated at the center of mass, provided the net external force is known.

For example, when a ball is thrown, its center of mass follows a trajectory determined by the external forces acting on it. If air resistance is negligible, gravity causes the center of mass to follow a parabolic path. The ball may spin or rotate while in flight, but those motions do not change the basic trajectory of its center of mass under the same external conditions.

The center of mass also helps explain why some objects balance more easily than others. An object resting on a support remains stable against tipping when the vertical line through its center of mass falls within its supporting base, subject to the relevant contact and force conditions. If that line falls outside the base, gravity can create a turning effect that causes the object to tip.

A low center of mass often makes an object more resistant to tipping, although the size and shape of its supporting base also matter. This principle helps explain the design of vehicles, sports equipment, and structures intended to remain stable.

For a system with no net external force, the center of mass moves at constant velocity. Internal forces between components can change how those components move relative to one another, but they do not change the overall momentum of the isolated system. This principle is important in analyzing collisions, explosions, and the movement of objects in space.

Common mistakes when calculating the center of mass

One common mistake is taking the ordinary average of the positions without accounting for differences in mass. An ordinary average is appropriate only when all objects have equal masses. Otherwise, each position must be weighted by the corresponding mass.

Another mistake is mixing units or using inconsistent coordinate references. Masses should use compatible units, such as kilograms, and positions should use a consistent unit, such as meters. All coordinates must be measured from the same origin and along the same axes.

Negative coordinates must also be handled correctly. If an object lies to the left of the origin, its x-coordinate may be negative. Its mass remains positive, but its mass-position product is negative. Using the signed coordinate preserves the correct direction and location of the center of mass.

It is also important to divide by the total mass, not the number of objects. The denominator represents the sum of all masses in the system.

Finally, check whether the answer is physically reasonable. For a collection of positive masses along a straight line, the center of mass must lie between the smallest and largest object positions. In two or three dimensions, it must lie within the convex hull of the object positions, meaning the smallest convex region that contains them. If the calculated center of mass falls outside that region, the arithmetic or setup should be checked.

A reliable method for solving center-of-mass problems

For most systems of objects, the calculation follows a consistent procedure. Choose a coordinate system and record each object’s mass and position. Multiply each mass by its coordinate along the first axis, add the products, and divide by the total mass. Repeat the process for every additional coordinate required.

For separate objects, the calculation is usually direct. For extended objects, determine whether symmetry provides the answer or whether the mass distribution must be divided into smaller elements and summed or integrated.

The key principle is that the center of mass is a weighted average of position. Once the masses, coordinates, and reference point are defined consistently, the equations provide a systematic way to locate the point that represents the overall distribution of mass.

Looking For Something Else?