Center of Mass Calculator
Find the 1D center of mass of up to three point masses.
The center of mass is the mass-weighted average position of a system of objects.
The math behind it
x̄ = Σ(mᵢ·xᵢ) ÷ Σmᵢ. Heavier masses pull the balance point toward them.
Worked example
2 kg at 0 and 3 kg at 4 → (0 + 12) ÷ 5 = 2.4.
FAQ
Is it the same as the centroid?
For uniform density, yes; otherwise mass weighting differs from pure geometry.