Center of Mass Calculator
Free Center mass Calculator for 2d geometry. Enter values to get step-by-step solutions with formulas and graphs. Enter your values for instant results.
Formula
x_com = Sum(m_i * x_i) / Sum(m_i) | y_com = Sum(m_i * y_i) / Sum(m_i)
The center of mass is the weighted average position of all point masses. Each coordinate is calculated by summing the product of each mass and its position, then dividing by the total mass. This gives the balance point of the entire system.
Worked Examples
Example 1: Three-Mass System
Problem: Find the center of mass of three point masses: 5 kg at (2, 3), 3 kg at (6, 1), and 4 kg at (4, 7).
Solution: Total mass: 5 + 3 + 4 = 12 kg\nx_com = (5*2 + 3*6 + 4*4) / 12 = (10 + 18 + 16) / 12 = 44/12 = 3.667\ny_com = (5*3 + 3*1 + 4*7) / 12 = (15 + 3 + 28) / 12 = 46/12 = 3.833\nCenter of mass: (3.667, 3.833)\nMoment of inertia: 5(2.63) + 3(8.63) + 4(10.14) = 79.64 kg*m^2
Result: COM = (3.667, 3.833) | Total mass = 12 kg
Example 2: Balanced Beam Problem
Problem: A beam has masses of 10 kg at x=0, 5 kg at x=3, and 15 kg at x=8 (all at y=0). Where is the center of mass?
Solution: Total mass: 10 + 5 + 15 = 30 kg\nx_com = (10*0 + 5*3 + 15*8) / 30 = (0 + 15 + 120) / 30 = 135/30 = 4.500\ny_com = (10*0 + 5*0 + 15*0) / 30 = 0\nCenter of mass: (4.500, 0.000)\nThe fulcrum should be placed at x = 4.5 to balance the beam
Result: COM = (4.500, 0.000) | Balance point at x = 4.5 m
Frequently Asked Questions
What is the center of mass and why is it important?
The center of mass (COM), also called the centroid or center of gravity in uniform gravitational fields, is the weighted average position of all the mass in a system. It is the unique point where the weighted position vectors of all parts sum to zero. The center of mass is critically important in physics and engineering because it is the point where an object can be balanced, where gravity effectively acts on the entire body, and around which rotational motion naturally occurs. In aerospace engineering, the COM determines aircraft stability. In structural engineering, it affects load distribution. In robotics, maintaining the COM over the support base prevents tipping. Understanding COM is fundamental to mechanics, dynamics, and virtually every branch of physical science.
How is the center of mass calculated for a system of discrete point masses?
For a system of discrete point masses, the center of mass coordinates are calculated as weighted averages. In two dimensions, the x-coordinate of the COM is the sum of each mass times its x-position divided by the total mass: x_com = (m1*x1 + m2*x2 + ... + mn*xn) / (m1 + m2 + ... + mn). Similarly, y_com uses the y-positions. This extends naturally to three dimensions by adding a z-component. The formula ensures that heavier masses pull the center of mass closer to their positions. For two equal masses, the COM is exactly at the midpoint between them. For unequal masses, the COM is closer to the heavier mass, proportional to the mass ratio. This discrete formula is the foundation for understanding the continuous case used with solid objects.
What is the moment of inertia and how does it relate to the center of mass?
The moment of inertia is a measure of an object's resistance to rotational acceleration about a given axis, analogous to how mass resists linear acceleration. For a system of point masses, the moment of inertia about the center of mass is calculated as I = sum of (m_i x r_i^2), where r_i is the distance from each mass to the center of mass. The parallel axis theorem states that the moment of inertia about any axis equals the moment about a parallel axis through the COM plus the total mass times the square of the distance between axes: I = I_com + M*d^2. This means the moment of inertia is always minimized about the center of mass, which is why objects naturally rotate about their COM when no constraints are applied.
How does the center of mass differ from the centroid and center of gravity?
These three concepts are related but distinct. The centroid is a purely geometric concept representing the average position of all points in a shape, calculated without considering mass or density variations. The center of mass accounts for mass distribution and equals the centroid only when density is uniform throughout the object. The center of gravity is the point where gravitational torque is zero, and it equals the center of mass only in a uniform gravitational field. On Earth, for objects smaller than a few kilometers, the gravitational field is essentially uniform, so the center of mass and center of gravity are practically identical. In space or for very large objects, gravitational field variations can cause these points to differ slightly.
What are practical applications of center of mass calculations?
Center of mass calculations have extensive real-world applications across many fields. In automotive engineering, the COM height determines rollover risk and cornering stability. In architecture, knowing the COM of structural elements ensures proper load bearing and prevents toppling. Sports biomechanics uses COM analysis to optimize athletic techniques such as high jump (the Fosbury Flop exploits COM physics to clear higher bars), diving, and gymnastics. In aerospace, precise COM calculations are critical for satellite attitude control and rocket stability. Manufacturing uses COM to design balanced rotating machinery. Even in everyday activities like carrying groceries or riding a bicycle, your body instinctively adjusts to keep the combined COM within your support base to maintain balance.
What is the difference between mass and weight?
Mass measures the amount of matter in an object (kilograms) and is constant everywhere. Weight is the gravitational force on that mass (newtons) and varies by location. On Earth, a 1 kg object weighs about 9.8 newtons. In everyday use, the terms are often used interchangeably.