Navigation
Calculators Pricing Blog About Contact
Get Started
Get Started Login
📐

Centroid Calculator

Calculate the centroid (center of mass) of a triangle or polygon given vertex coordinates.

What Is a Centroid?

The centroid is the geometric center of a shape — the point where it would balance perfectly if made from a uniform material. For a triangle, the centroid is located at the intersection of its three medians (lines from each vertex to the midpoint of the opposite side).

Triangle Centroid Formula:
Centroid = ((x₁+x₂+x₃)/3, (y₁+y₂+y₃)/3)

The centroid divides each median in a 2:1 ratio from the vertex.

Properties of the Centroid

  • Always lies inside the triangle
  • Divides each median in ratio 2:1
  • Is the center of mass for uniform density
  • Is equidistant from the three medians

Applications

Centroids are used in engineering (structural balance points), physics (center of mass), computer graphics (mesh calculations), robotics (balance), and architecture (load distribution).

How to Use

Enter the x,y coordinates of your triangle's three vertices. The calculator instantly computes the centroid coordinates.

Beyond Triangles

For polygons with more than 3 vertices, the centroid calculation becomes more complex, involving area-weighted averages. For simple shapes, it is the average of all vertex coordinates.

Centroid vs Other Centers

Don't confuse the centroid with the circumcenter (equidistant from vertices), incenter (equidistant from sides), or orthocenter (intersection of altitudes). Each serves different purposes.

Frequently Asked Questions

The centroid is the point where all three medians of a triangle intersect, calculated as the average of all three vertices.
Yes, unlike the circumcenter or orthocenter, the centroid always lies inside the triangle regardless of the triangle type.
For a triangle with vertices (x₁,y₁), (x₂,y₂), (x₃,y₃): Centroid = ((x₁+x₂+x₃)/3, (y₁+y₂+y₃)/3).
It is used to find the center of mass in physics, balance points in engineering, and geometric centers in computer graphics.
A median is a line segment from a vertex to the midpoint of the opposite side. Every triangle has three medians that meet at the centroid.
For a uniform-density triangle, yes. The centroid equals the center of mass. For non-uniform objects, they may differ.

Embed this Calculator

Copy the code below and paste it into your website's HTML. Your visitors can use this calculator for free.

px × px
<iframe src="https://calculatorteam.com/embed/centroid-calculator" width="100%" height="600" style="border:none;border-radius:12px;" loading="lazy" title="Centroid Calculator"></iframe>

Report an Issue

Let us know what's wrong with this calculator. We'll review and fix it as soon as possible.