SOLVETUTORMATH SOLVER

Instrument MI-01-069 · Mathematics

Center of Mass Calculator

Two objects on a line always balance at one specific point. Give this sheet each mass and position and it returns that point directly, no trial and error on a seesaw required.

Instrument MI-01-069
Sheet 1 OF 1
Rev A
Verified
Type 05 — Geometry SER. 2026-01069

Center of mass

3.00000000

x_cm = (m₁x₁ + m₂x₂) ⁄ (m₁+m₂)

The working Every figure verified twice
  1. cx = (2·0 + 3·5) ⁄ (2 + 3) = 3.00000000
Worksheet log
  1. No entries yet — change an input to log a scenario.

How this instrument works

Center of mass answers a specific question: if two objects sit at different points along a line, where does their combined weight balance? The formula is a weighted average, x_cm = (m₁x₁ + m₂x₂) ⁄ (m₁+m₂), where each position counts in proportion to the mass sitting there. That is a different question from finding the plain midpoint between x₁ and x₂: the midpoint only cares about distance, while the center of mass cares about distance and how much is actually sitting at each end.

The shape of the formula falls straight out of balancing moments. For the pair to rest without tipping, the turning effect of mass 1 about the balance point, m₁ times its distance (x₁ − cx), has to cancel the turning effect of mass 2, m₂ times (cx − x₂). Set that sum to zero and solve for cx, and the weighted-average formula drops out directly — the same reasoning Archimedes used to explain why a lever balances at a point set by the ratio of the loads on each side, long before anyone wrote it in coordinates.

A useful edge case: make the two masses equal and the weighted average collapses to the ordinary midpoint, since equal weights cancel out of the ratio and leave a plain (x₁+x₂) ⁄ 2 — the special case that makes the seesaw intuition work in the first place. The same sum, applied to orbiting bodies instead of a beam, produces a genuinely surprising result: the Sun and Jupiter circle their shared center of mass rather than the Sun's own center, and because Jupiter is unusually large for a planet, that shared point sits roughly 1.07 times the Sun's own radius from its center — just outside the visible surface, not buried deep inside it.

xcm=m1x1+m2x2m1+m2x_{cm} = \dfrac{m_1 x_1 + m_2 x_2}{m_1 + m_2}m1(x1xcm)=m2(xcmx2)m_1\,(x_1 - x_{cm}) = m_2\,(x_{cm} - x_2)m1=m2    xcm=x1+x22m_1 = m_2 \implies x_{cm} = \dfrac{x_1 + x_2}{2}
m₁, m₂ — the two masses, any consistent unit · x₁, x₂ — their positions along one axis, any consistent length unit · x_cm — the center of mass, in that same length unit. Swapping which object is labeled 1 or 2 leaves x_cm unchanged.
  • Enter the first object's mass in Mass 1 and where it sits along your chosen axis in Position 1 — any consistent units work, kilograms and meters or pounds and feet.
  • Enter the second object's mass in Mass 2 and its location in Position 2, keeping the same units you used for the first object.
  • Read Center of mass — the single point along that axis where the two-object system balances.
  • Swap which object you call '1' and which you call '2' if it's more natural — addition doesn't care about labeling order, so the answer comes out identical either way.
  • To see the plain geometric midpoint for comparison, set Mass 1 equal to Mass 2; Center of mass will then fall exactly halfway between Position 1 and Position 2.

Worked example — 2 kg and 3 kg along a 5-metre beam

Picture a rigid, weightless beam five metres long. A 2 kg weight sits at one end, Position 1 equal to 0, and a 3 kg weight sits at the other, Position 2 equal to 5. Center of mass: cx = (2×0 + 3×5) ⁄ (2+3) = (0+15) ⁄ 5 = 3.0. The beam balances on a support placed three metres from the light end — one metre past the beam's own midpoint, pulled toward the heavier 3 kg weight.

The plain average of 0 and 5 is 2.5, the beam's geometric middle, but rest a support there and the assembly tips toward the 3 kg side, because that half is carrying 60 percent of the total mass rather than the 50 percent an unweighted average would assume. Doubling the light weight to 4 kg while leaving the heavy one at 3 kg shifts the balance the other way, to cx = (4×0+3×5) ⁄ 7 ≈ 2.14 — proof the formula tracks whichever side actually carries more weight, not just how far apart the two ends sit.

Questions

What is the center of mass of two objects?

It is the single point where the two objects' combined weight effectively balances — the weighted average of their positions, with each position weighted by how much mass sits there. Two equal masses balance at the plain midpoint; make one heavier and the point slides toward it, since a heavier side needs a shorter lever arm to match the lighter side's longer one.

How is the center of mass formula derived?

It comes straight from balancing moments: the turning effect of mass 1 about the balance point, m₁(x₁ − cx), must exactly cancel the turning effect of mass 2, m₂(x₂ − cx), for the pair to sit still. Setting that sum to zero and solving for cx gives (m₁x₁ + m₂x₂) ⁄ (m₁+m₂) — the same algebra behind Archimedes' law of the lever, long before anyone wrote it in coordinates.

Why isn't the center of mass just the midpoint between the two positions?

The midpoint treats both objects as equally important, but mass is what resists motion and produces turning moments, not distance alone. Only when the two masses are equal does the weighted average collapse to the plain midpoint; any imbalance pulls the true center of mass toward the heavier object, since less leverage from that side is needed to match the lighter side's moment.

Does the order I enter Mass 1 and Mass 2 in matter?

No. Swap which object you call '1' and which you call '2', along with its matching position, and the center of mass comes out identical, because addition doesn't depend on order. What does matter is keeping each mass paired with its own correct position — swapping a mass with the wrong position changes the answer.

What happens if one mass is much larger than the other?

The center of mass crowds in close to the larger one. With a 100 kg object at position 0 and a 1 kg object ten units away, cx works out to about 0.099 — barely off the heavy object's own spot — because the light object contributes almost nothing to the total moment no matter how far out it sits.

Does this formula describe real physics, or is it just an abstract exercise?

It is the literal definition used across mechanics and astronomy — the same weighted average locates the balance point of a seesaw, the pivot for a torque calculation on a beam, and the barycenter that two orbiting bodies actually circle around. Extend the same sum to three, four, or a whole continuum of masses and it still holds; two point masses are simply the simplest case.

References