Center of Mass Calculator
Calculate center of mass using x_cm = Σmᵢxᵢ / Σmᵢ for point mass systems.
Enter mass and position for up to 5 point masses. Leave unused rows blank. For 1D: fill x only.
What Is Center of Mass?
The center of mass (CM) is the point at which the total mass of a system can be considered to be concentrated for the purpose of analyzing translational motion. For n point masses: r_cm = Σmᵢrᵢ / Σmᵢ, where each rᵢ is the position vector of mass mᵢ. In component form: x_cm = Σmᵢxᵢ/M, y_cm = Σmᵢyᵢ/M, z_cm = Σmᵢzᵢ/M, where M = Σmᵢ is total mass.
Newton's laws apply to the CM motion: the CM of a system of particles moves as if all the mass were concentrated at the CM and all external forces were applied there. An internal explosion may scatter fragments, but the CM continues on the same trajectory (if no external forces act). This principle underlies projectile trajectory analysis for exploding projectiles.
For continuous bodies, the CM is found by integration: r_cm = (1/M)∫r·dm. For symmetric homogeneous bodies, the CM lies at the geometric center: uniform rod (midpoint), sphere (center), cylinder (axis at midheight). Asymmetric bodies have CMs offset toward the heavier side — a wrench has CM closer to the head.
The CM is not always inside the object — a ring or horseshoe-shaped object has CM in the empty central region. A boomerang's CM traces a straight line while the boomerang itself rotates. Athletes exploit CM manipulation: a high jumper can clear the bar while keeping their CM below it (Fosbury flop technique).
Formula Reference Table
| Solve For | Formula | Notes |
|---|---|---|
| Center of mass | x_cm = Σmᵢxᵢ / Σmᵢ | Any consistent unit |
| 3D extension | r_cm = (Σmᵢrᵢ) / Σmᵢ | Vector form |
| Two masses | x_cm = (m₁x₁ + m₂x₂)/(m₁+m₂) | Weighted average position |
| Uniform rod | x_cm = L/2 | At midpoint |
| Uniform disk | r_cm = 0 | At geometric center |
| After collision | CM maintains velocity | No external forces → CM constant |
3 Worked Examples
m₁=3 kg at x₁=0; m₂=7 kg at x₂=10 m.
- x_cm = (3×0 + 7×10)/(3+7) = 70/10 = 7.0 m
- CM is 7 m from m₁ — closer to the heavier mass
- Lighter mass × distance = heavier mass × distance: 3×7 = 21 ≠ 7×3 = 21 ✓ (torque balance)
m₁=2 kg at (1,2); m₂=3 kg at (4,0); m₃=5 kg at (0,6).
- M = 10 kg
- x_cm = (2×1+3×4+5×0)/10 = (2+12+0)/10 = 14/10 = 1.4
- y_cm = (2×2+3×0+5×6)/10 = (4+0+30)/10 = 3.4
5 kg mass at x=0; 5 kg mass at x=1.2 m.
- x_cm = (5×0+5×1.2)/10 = 6/10 = 0.6 m
- CM at midpoint (equal masses) — coincides with geometric center
- If handle has mass 0.5 kg at x=0.6: x_cm = (5×0+0.5×0.6+5×1.2)/10.5 = 6.3/10.5 = 0.6 m
Real-World Applications
Common Mistakes to Avoid
The CM calculation works with any origin, but be consistent. If m₁ is at x=0, that's your origin. The CM position is relative to the same origin.
x_cm = Σmᵢxᵢ/Σmᵢ — it's a weighted average by mass. Simply averaging positions (Σxᵢ/n) gives the geometric center, not the mass center.
x_cm, y_cm, z_cm are calculated independently using the same formula. They're not combined until the final position vector.
For ring, hollow sphere, L-shaped or U-shaped objects, the CM may be in empty space. This is mathematically valid — external forces still act as if applied at that point.
The formula Σmᵢrᵢ/Σmᵢ is for discrete point masses. Continuous objects need ∫r·dm / M (often simplified by symmetry).
Frequently Asked Questions
Related Physics Calculators
Formula Explorer connections
Interpretation: This relationship connects motion, force, momentum, work or energy in a mechanical system. Assumption: Choose a consistent reference direction and unit system. The model may assume constant acceleration, rigid bodies, negligible losses or an isolated system.