Calculate the center of mass for a system of point masses in 1D, 2D, or 3D space
Add point masses and their positions. Use presets for common configurations.
Balance Point
The center of mass is the point where the entire mass of the system can be considered to be concentrated.
Translational Motion
For a system of particles, the center of mass moves as if all external forces acted on a single particle at that point.
General Formula
r̄ = (1/M) Σ mᵢr̄ᵢ
x̄ = (Σ mᵢxᵢ) / M
Where: x̄ = center of mass coordinate, mᵢ = mass of each particle, xᵢ = position of each particle, M = total mass
Masses along a straight line
Masses in a plane (x,y coordinates)
Masses in space (x,y,z coordinates)
Understanding the center of mass (COM) is fundamental in physics, engineering, robotics, and even sports science. The center of mass is the single point where the distribution of mass in a system balances perfectly. Whether you’re analyzing a simple two-particle setup, a square of equal masses, or a complex 3D system, our Center of Mass Calculator makes the process quick and accurate.
The center of mass is the average position of all the mass in a system. It represents the “balance point” where the system behaves as if all its mass were concentrated at that location.
For a single particle, the center of mass is simply its position.
For multiple particles, it is determined by considering both the mass and position of each particle.
In motion, the system’s center of mass moves as if all external forces acted on it alone.
The general formula for the center of mass in vector form is:
r̄ = (1/M) Σ mᵢ r̄ᵢ Where: r̄ = Center of mass position vector mᵢ = Mass of each particle r̄ᵢ = Position vector of each particle M = Total mass of the system (M = Σ mᵢ) 1D (Along a Line): x̄ = (Σ mᵢ xᵢ) / M 2D (In a Plane): x̄ = (Σ mᵢ xᵢ) / M, ȳ = (Σ mᵢ yᵢ) / M 3D (In Space): x̄ = (Σ mᵢ xᵢ) / M, ȳ = (Σ mᵢ yᵢ) / M, z̄ = (Σ mᵢ zᵢ) / M
Example 1: Two Equal Masses on the X-Axis
Mass 1 = 1 kg at x = –2 m
Mass 2 = 1 kg at x = +2 m
x̄ = ((1)(-2) + (1)(2)) / (1 + 1) = 0
👉 Center of mass = 0 m (at the origin).
Example 2: Three Masses in 2D
Mass 1 = 2 kg at (0,0)
Mass 2 = 3 kg at (2,0)
Mass 3 = 5 kg at (0,4)
x̄ = ((2)(0) + (3)(2) + (5)(0)) / (2 + 3 + 5) = 6 / 10 = 0.6
ȳ = ((2)(0) + (3)(0) + (5)(4)) / 10 = 20 / 10 = 2
👉 Center of mass = (0.6, 2)
Q1. What is the difference between center of mass and centroid?
The center of mass depends on the distribution of mass, while the centroid depends only on geometry (uniform density assumed).
Q2. Can the center of mass be outside the object?
Yes. For example, a ring or hollow sphere has its center of mass at the empty center.
Q3. How does the center of mass move in a system?
It moves as if all external forces act at that single point.
Q4. Is the center of gravity the same as the center of mass?
On Earth, for small systems, they are practically the same. For large-scale systems with varying gravity, they differ.
For further understanding and validation of the formulas used above, we recommend exploring these authoritative resources: