# Center of Mass Calculator

The mean point of a system where all the mass of the system is placed is the center of mass also known as the center of gravity. The center of gravity between two objects can be calculated based on the distance and mass of the objects.

## Calculate Center of Mass (Gravity) Between Two Objects

Code to add this calci to your website

#### Formula:

R_{x} = (m_{a}*x_{a} + m_{b}*x_{b}) / (m_{a}+m_{b})
**Where,**
R_{x} = Center of Mass or Gravity between Two Objects
m_{a} = Mass of Particle1
m_{b} = Mass of Particle2
x_{a} = Position of Particle1
x_{b} = Position of Particle2