calculator.onl
Categories50

Point-mass center of mass calculator

Locate the center of mass of a list of positive point masses in three dimensions and inspect a plane projection.

A worked example

Drag the green point up or down, or use the arrow keys. The cross marks the centre of mass.

55y = 1 mxy055 m
#3 · 5 kg · y2 mCentre of massx = 1.2 m · y = 1 m
m (kg); x (m); y (m); z (m): Use one row per line and semicolons between columns; use decimal dots and stay within the stated row limits.

Projection: x–y / x–z / y–z

Updates as you type

Use a dot or comma for decimals. No thousands separators.

YOUR RESULT

Mass

10 kg

Calculated from your inputs

Distance1.562 m
The numbers, at a glance

Calculations run in your browser.
UNDERSTAND THE RESULT

A little context. A clearer answer.

↑ Back to calculator

When this calculator is useful

Sum the masses, then form the mass-weighted average of each coordinate. The same masses enter every denominator, including objects at the origin. Distance is measured from that origin. A plane projection changes only the picture. For a related calculation, try Linear momentum and impulse calculator.

What to enter

InputWhat it meansExample value
m (kg); x (m); y (m); z (m)m (kg); x (m); y (m); z (m): Use one row per line and semicolons between columns; use decimal dots and stay within the stated row limits.2;0;0;0 3;4;0;0 5;0;2;0
ProjectionProjection: x–y / x–z / y–zx–y

How the calculation works

  1. Change the inputs to explore your own scenario. m (kg); x (m); y (m); z (m): Use one row per line and semicolons between columns; use decimal dots and stay within the stated row limits.; Projection: x–y / x–z / y–z.
  2. M=Σmᵢ; (x̄,ȳ,z̄)=Σmᵢ(xᵢ,yᵢ,zᵢ)/M
  3. Each line is mass in kg; x in m; y in m; z in m, with a dot decimal separator. Use one common origin and axes. Point masses must be positive. The plot is a selected planar projection; it does not calculate the centroid of a continuous solid or certify balance or stability.
The formulaM=Σmᵢ; (x̄,ȳ,z̄)=Σmᵢ(xᵢ,yᵢ,zᵢ)/M

A worked example

Place 2 kg at (0, 0, 0), 3 kg at (4, 0, 0) and 5 kg at (0, 2, 0), with positions in metres. The x coordinate is (3 × 4) ÷ 10 = 1.2 m and the y coordinate is (5 × 2) ÷ 10 = 1 m. All the masses lie at z = 0, so the centre is (1.2, 1, 0) m. Using the displayed Earth–Moon data from OpenStax gives about 4.65 million metres from Earth’s centre.

Example you can load

What to enter
Result for this example · Centre of mass · x1.2 m
Result for this example · Centre of mass · y1 m
Result for this example · Centre of mass · z0 m
Result for this example · Mass10 kg

This is a fixed example; changing the form above does not change these numbers.

Assumptions & limits

Each line is mass in kg; x in m; y in m; z in m, with a dot decimal separator. Use one common origin and axes. Point masses must be positive. The plot is a selected planar projection; it does not calculate the centroid of a continuous solid or certify balance or stability.

Frequently asked questions

Do zero coordinates remove a mass?

No. An object at the origin still contributes to total mass.

Is the diagram three dimensional?

It shows the selected x–y, x–z or y–z projection. All three coordinates are calculated.

Can I enter a continuous density profile?

No. This model accepts discrete point masses or lumped masses with known centers.