Skip to main content

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.

Skip to calculator
Mathematics

Center of Mass Calculator

Calculate the center of mass for a system of point masses in 2D. Get COM coordinates, moment of inertia, and radius of gyration.

Last updated: December 2025Reviewed by NovaCalculator Mathematics Team

Calculator

Adjust values & calculate
Center of Mass
(3.6667, 3.8333)
3 point masses
Total Mass
12.0000
kg
Moment of Inertia
98.3333
kg*m^2

Additional Properties

Radius of Gyration2.8626
Avg Distance to COM2.7554
Bounding Box(2, 1) to (6, 7)

Distance from Each Mass to COM

Mass 1 (m=5)1.8634 units
Mass 2 (m=3)3.6705 units
Mass 3 (m=4)3.1842 units
Your Result
COM = (3.6667, 3.8333) | Total Mass = 12.0000 | I = 98.3333
Share Your Result
Understand the Math

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.

Last reviewed: December 2025

Worked Examples

Example 1: Three-Mass System

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 x_com = (5*2 + 3*6 + 4*4) / 12 = (10 + 18 + 16) / 12 = 44/12 = 3.667 y_com = (5*3 + 3*1 + 4*7) / 12 = (15 + 3 + 28) / 12 = 46/12 = 3.833 Center of mass: (3.667, 3.833) Moment 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

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 x_com = (10*0 + 5*3 + 15*8) / 30 = (0 + 15 + 120) / 30 = 135/30 = 4.500 y_com = (10*0 + 5*0 + 15*0) / 30 = 0 Center of mass: (4.500, 0.000) The 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
Expert Insights

Background & Theory

The Center of Mass Calculator applies the following established principles and formulas. Mathematics rests on a hierarchy of number systems, each extending the previous. The natural numbers (1, 2, 3, ...) support counting and ordering. The integers add negative values and zero, enabling subtraction without restriction. The rational numbers, expressible as p/q where p and q are integers and q is nonzero, close the system under division. The real numbers fill the gaps left by irrationals such as the square root of 2 or pi, forming a complete ordered field. The complex numbers, written as a + bi where i is the square root of negative one, complete the algebraic closure of the reals and allow every polynomial to have a root. Prime factorization states that every integer greater than one is uniquely expressible as a product of primes, a result known as the Fundamental Theorem of Arithmetic. Computing the greatest common divisor (GCD) of two integers relies most efficiently on the Euclidean algorithm: repeatedly replace the larger number with the remainder when it is divided by the smaller, until the remainder is zero. The last nonzero remainder is the GCD. The least common multiple (LCM) follows from the identity LCM(a, b) = |a * b| / GCD(a, b). Modular arithmetic defines equivalence classes of integers that share the same remainder under division by a modulus n. Fermat's Little Theorem and Euler's Theorem arise from this structure and underpin modern cryptography. Logarithms are the inverses of exponential functions. If b raised to the power x equals y, then the logarithm base b of y equals x. The natural logarithm uses base e, approximately 2.71828. Combinatorics counts arrangements and selections. The number of ordered arrangements (permutations) of r objects from n distinct objects is nPr = n! / (n - r)!. The number of unordered selections (combinations) is nCr = n! / (r! * (n - r)!). Pascal's triangle arranges these binomial coefficients so that each entry equals the sum of the two entries directly above it. The Fibonacci sequence, defined by F(1) = 1, F(2) = 1, and F(n) = F(n-1) + F(n-2), appears throughout nature and connects deeply to the golden ratio via Binet's formula.

History

The history behind the Center of Mass Calculator traces back through the following developments. Mathematics as a systematic discipline traces to ancient Mesopotamia. Babylonian clay tablets dating to around 1800 BCE demonstrate knowledge of quadratic equations, Pythagorean triples, and base-60 arithmetic, suggesting a practical mathematical tradition far preceding Greek formalism. Euclid of Alexandria compiled the Elements around 300 BCE, establishing the axiomatic method that would define rigorous mathematics for over two thousand years. His work organized plane geometry, number theory, and proportion into logically chained propositions derived from a small set of postulates. The algorithm bearing his name for computing GCDs appears in Book VII and remains in use today. In the 9th century, the Persian scholar Muhammad ibn Musa Al-Khwarizmi wrote Al-Kitab al-mukhtasar fi hisab al-jabr wal-muqabala, the treatise whose title gave algebra its name. He systematized the solution of linear and quadratic equations and described procedures that operated on unknowns as objects, a conceptual leap away from purely numerical calculation. Rene Descartes introduced coordinate geometry in 1637 by uniting algebra and Euclidean geometry, allowing curves to be studied through equations. This synthesis set the stage for calculus. Isaac Newton and Gottfried Wilhelm Leibniz independently developed calculus during the 1660s and 1670s, triggering a priority dispute that lasted decades and divided British and Continental mathematicians. Carl Friedrich Gauss proved the Fundamental Theorem of Algebra in 1799, showing that every nonconstant polynomial has at least one complex root. His Disquisitiones Arithmeticae of 1801 established modern number theory. David Hilbert's formalist program at the turn of the 20th century sought to place all of mathematics on an explicit axiomatic foundation, a project that Kurt Godel's incompleteness theorems of 1931 showed to be fundamentally limited. Alan Turing's work in the 1930s on computability introduced the theoretical model of the stored-program computer and linked mathematical logic directly to the limits of algorithmic calculation. His proof that no algorithm can decide in general whether an arbitrary program will halt or run forever placed fundamental boundaries on what mathematics can mechanically determine, and it opened the discipline now known as theoretical computer science.

Share this calculator

Explore More

Frequently Asked Questions

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.
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.
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.
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.
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.
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.
Educational Note: This calculator is provided for educational and informational purposes. Results are based on the formulas and inputs provided. Always verify important calculations independently. NovaCalculator processes calculator inputs client-side; optional analytics follow visitor consent settings.Reviewed by: NovaCalculator Mathematics Team โ€” Verified against standard mathematical and scientific references. Last reviewed: December 2025. ยฉ 2024โ€“2026 NovaCalculator.

Share this calculator

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.

References

Reviewed by Manoj Kumar, Mathematics Educator ยท Editorial policy