Math Last updated: July 2026

Center of Mass Calculator

The Center of Mass Calculator finds the balance point of a system of point masses in 2D or 3D space. Enter the mass and position coordinates of each object, and the calculator determines the exact center of mass using the weighted average formula.

How to Use the Center of Mass Calculator

Interactive calculator available after JavaScript loads.

Loading calculator...

Written by Calculator Archive Team

Math & Finance Experts — Verified Formulas, Peer-Reviewed Sources, Expert Analysis

Looking for a deeper explanation?

Read our comprehensive, peer-reviewed educational article in our Blog to learn the underlying math, formulas, and step-by-step examples.

Read Blog Guide ›

Mathematical Formula & Logic

X_cm = Σ(m_i × x_i) / Σ(m_i) | Y_cm = Σ(m_i × y_i) / Σ(m_i) | Z_cm = Σ(m_i × z_i) / Σ(m_i)
Variable Glossary
x_cm X-coordinate of the center of mass
y_cm Y-coordinate of the center of mass
m_i Mass of the i-th object in the system
x_i X-position of the i-th object
y_i Y-position of the i-th object

Step-by-Step Worked Calculation

Scenario: Example: Three Masses in 2D

Find the center of mass of three objects: m₁=2 kg at (1,3), m₂=3 kg at (4,1), m₃=5 kg at (2,5).

1

Step 1: Calculate the total mass: M = 2 + 3 + 5 = 10 kg.

2

Step 2: Calculate Σ(m_i × x_i): (2×1) + (3×4) + (5×2) = 2 + 12 + 10 = 24.

3

Step 3: Calculate Σ(m_i × y_i): (2×3) + (3×1) + (5×5) = 6 + 3 + 25 = 34.

4

Step 4: X_cm = 24/10 = 2.4, Y_cm = 34/10 = 3.4.

5

Step 5: The center of mass is at (2.4, 3.4).

How to Use the Center of Mass Calculator

  1. 1. Select 2D or 3D mode depending on your problem.
  2. 2. Enter the mass and position coordinates (x, y, and optionally z) for each object.
  3. 3. Add or remove objects as needed using the buttons.
  4. 4. Review the calculated center of mass coordinates and total system mass.

What Is a Center of Mass Calculator?

Center of Mass Calculator is a mathematical computation tool that helps you calculate the center of mass (centroid) of a system of point masses in 2D or 3D. Enter mass and position values for instant results. It applies established mathematical principles to deliver accurate results, often showing the underlying formula and step-by-step working so you can understand the computation process.

Why This Calculation Matters

Mathematical calculations form the foundation of science, engineering, finance, and everyday problem-solving. Center of Mass Calculator helps you work through calculations accurately and efficiently, reducing the risk of manual arithmetic errors. Whether you are a student learning concepts, a professional verifying work, or anyone needing quick and reliable math results, this tool ensures precision and saves time.

Historical Background

Mathematics has evolved over thousands of years, from ancient Babylonian clay tablets and Egyptian papyri to Greek formal proofs by Euclid and Archimedes. The development of algebra by Persian mathematician al-Khwarizmi in the 9th century and the invention of calculus by Newton and Leibniz in the 17th century laid the groundwork for modern computation. Center of Mass Calculator continues this tradition by making mathematical operations accessible through digital technology.

Frequently Asked Questions

Complete indexable directory of answers (3 questions)

What mathematical formula does the Center of Mass Calculator use?

The Center of Mass Calculator uses standard mathematical formulas validated against authoritative references. The specific formula is displayed in the calculator interface with a detailed explanation of each variable.

How can I verify the Center of Mass Calculator results manually?

Each calculator includes a step-by-step worked example showing exactly how the formula is applied. You can follow these steps with pen and paper to verify any result.

What types of inputs does the Center of Mass Calculator accept?

The Center of Mass Calculator accepts numeric inputs including integers and decimals. Invalid inputs (letters, special characters) are rejected with clear error messages.