Math Last updated: July 2026

Centroid Calculator

The Centroid Calculator finds the geometric center (centroid) of common 2D shapes and composite areas. Unlike center of mass which considers mass distribution, the centroid is purely geometric—based on the shape's area distribution.

How to Use the Centroid 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̄ = Σ(A_i × x_i) / Σ(A_i) | Ȳ = Σ(A_i × y_i) / Σ(A_i)
Variable Glossary
X-coordinate of the centroid
ȳ Y-coordinate of the centroid
A_i Area of the i-th sub-shape
x_i X-coordinate of the centroid of the i-th sub-shape
y_i Y-coordinate of the centroid of the i-th sub-shape

Step-by-Step Worked Calculation

Scenario: Example: Centroid of a Triangle

Find the centroid of a triangle with vertices at (0,0), (6,0), and (3,4).

1

Step 1: Recall the centroid formula for a triangle: (x̄, ȳ) = ((x₁+x₂+x₃)/3, (y₁+y₂+y₃)/3).

2

Step 2: Calculate x̄: (0 + 6 + 3)/3 = 9/3 = 3.

3

Step 3: Calculate ȳ: (0 + 0 + 4)/3 = 4/3 ≈ 1.33.

4

Step 4: The centroid is at (3, 1.33).

5

Step 5: This point divides each median in a 2:1 ratio from vertex to midpoint.

How to Use the Centroid Calculator

  1. 1. Select the shape type (triangle, rectangle, circle, composite, etc.).
  2. 2. Enter the required dimensions or vertex coordinates.
  3. 3. For composite shapes, add multiple sub-shapes with their properties.
  4. 4. Review the centroid coordinates (x̄, ȳ) and the calculation steps.

What Is a Centroid Calculator?

Centroid Calculator is a mathematical computation tool that helps you calculate the centroid (geometric center) of triangles, rectangles, circles, and composite shapes. Get coordinates and formulas instantly. 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. Centroid 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. Centroid 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 Centroid Calculator use?

The Centroid 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 Centroid 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 Centroid Calculator accept?

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