Center of Mass Calculator

Calculate the center of mass for any system of particles in 1D, 2D, or 3D. Add masses and coordinates and the Center of Mass Calculator gives instant results.

964.0K usesUpdated · 2026-04-29Runs locally · zero upload

How to Use Center of Mass Calculator

The Center of Mass Calculator finds the weighted average position of a system of discrete point masses in three-dimensional space.

  1. Enter mass and coordinates — For each particle, type its mass (m) and its x, y, z position coordinates in the table row.
  2. Add more particles — Click "Add particle" to append additional rows. The Center of Mass Calculator supports any number of particles.
  3. Read the result — The Center of Mass Calculator instantly displays the total mass and the center of mass coordinates (x̄, ȳ, z̄).

For a 1D problem, use only x and set y, z to 0. For a 2D problem, set all z values to 0. The Center of Mass Calculator adapts to any dimensionality.

Formula & Theory — Center of Mass Calculator

The Center of Mass Calculator implements the standard discrete-mass formula from classical mechanics:

x̄ = Σ(mᵢ × xᵢ) / Σmᵢ
ȳ = Σ(mᵢ × yᵢ) / Σmᵢ
z̄ = Σ(mᵢ × zᵢ) / Σmᵢ
Symbol Meaning
mᵢ Mass of the i-th particle
xᵢ, yᵢ, zᵢ Position coordinates of the i-th particle
Σmᵢ Total mass of the system
x̄, ȳ, z̄ Center of mass coordinates

Each coordinate of the center of mass is the mass-weighted mean of all particle positions in that direction. The Center of Mass Calculator computes the total mass automatically by summing every mᵢ, then divides each weighted sum by the total.

Physical Interpretation

The center of mass is the unique point where the entire mass of a system can be considered concentrated for the purpose of analysing translational motion. A net external force applied at the center of mass produces pure translation without rotation.

Use Cases for Center of Mass Calculator

The Center of Mass Calculator is essential across physics, engineering, and geometry:

  • Physics Education — Solve textbook problems involving two or more point masses and verify answers with the Center of Mass Calculator.
  • Mechanical Engineering — Determine the centroid of structural assemblies or multi-body systems to analyse balance and load distribution.
  • Robotics — Locate the center of mass of a robot's links to plan stable motion and prevent tipping.
  • Game Development & Simulation — Calculate the center of mass for rigid body physics to apply forces and torques correctly in a simulation engine.
  • Aerospace & Vehicle Design — Ensure the center of mass is within design limits to maintain stable flight or driving dynamics.
  • Geometry & Architecture — Find the centroid of a shape approximated by weighted vertices or distributed loads.

The Center of Mass Calculator removes the tedious arithmetic from multi-particle problems, letting you focus on understanding and applying the physics.

Frequently asked questions about Center of Mass Calculator

What formula does the Center of Mass Calculator use?

The Center of Mass Calculator uses the discrete particle formula: x̄ = Σ(mᵢxᵢ) / Σmᵢ, and equivalently for ȳ and z̄. Each coordinate of the center of mass is the mass-weighted average of all particle positions in that direction.

Can I calculate the center of mass in 2D instead of 3D?

Yes. Simply set all Z coordinates to 0. The Center of Mass Calculator will compute x̄ and ȳ correctly, and z̄ will be 0, giving you the 2D center of mass.

How many particles can I add?

The Center of Mass Calculator supports any number of particles. Use the 'Add particle' button to include as many masses and positions as you need.

Do all masses need to be positive?

Yes. Mass must be a positive value. The Center of Mass Calculator requires m > 0 for each particle and will not produce a result if any mass is zero or negative.

Is my data stored?

No. All calculations happen in your browser; nothing is sent to a server.