Mechanics

Two-Body Center of Mass Calculator

Find the planar center of mass of two point masses in a shared coordinate system.

How the calculation works

Center of mass x = (mass_a*x_a+mass_b*x_b)/(mass_a+mass_b) m. Center of mass y = (mass_a*y_a+mass_b*y_b)/(mass_a+mass_b) m. Combined mass = mass_a+mass_b kg.

Worked example

Example inputs — First mass (kg): 2; First x coordinate (m): 0; First y coordinate (m): 0; Second mass (kg): 3; Second x coordinate (m): 10; Second y coordinate (m): 5. Expected results — Center of mass x: 6 m; Center of mass y: 3 m; Combined mass: 5 kg.

Assumptions and limits

Idealized classical-mechanics model. Use consistent SI units. This educational result does not design or certify machinery, lifting equipment or safety systems. Coordinates must use the same origin and axes. Extended bodies may be represented by their own known centers of mass.

Reference and further reading

Read the underlying subject reference. Calculith is an independent implementation; the reference does not endorse or certify this tool.

Related calculators

Browse all 1000 calculators →

Example values are editable. Results are estimates where assumptions apply. Calculations run in your browser. Updated 2026-11-16.