ONE FORMULA, ONE ANSWER
Two Mass Center of Mass Calculator
Calculate the center of mass of two point masses on one axis. Choose input units and calculate one value within the stated conditions.
Inputs
Calculations run in this browser. Scientific notation such as 1.2e-3 is supported. Do not group thousands.
Result
Center of mass on one axis x_cm
Enter values and select Calculate.
x_cm = (m₁x₁+m₂x₂)/(m₁+m₂)
Assumptions
Required: m₁,m₂>0 and positions on the same axis with a common origin. Extended shape, three-dimensional coordinates and moments of inertia are excluded.
Displayed values are floating-point approximations. Design safety factors and unprovided error contributions are not calculated.
Formula references and credits
NaNa Lab created the code, descriptions, icons and preview images. Text, figures and code from the linked references have not been reproduced.
Physical constants: NIST / CODATA 2022. The values of μ₀ and ε₀ are measured recommendations, not exact defining constants. Values and precision notes are in the source record.
This site includes Google advertising and analytics, and Cloudflare analytics.