Select your desired geometrical figure and enter its coordinates. The calculator will determine the centroid and display detailed calculations.
Related
Calculate the centroid of a triangle, other 2D figures, or a set of points. The centroid calculator computes the point where the medians intersect in just a second. You can also visualize the shape and the centroid for better understanding. The calculator supports polygons with up to 10 vertices that are non-intersecting and closed.
"The point through which all three medians of a triangle pass is called the centroid of the triangle."
This concept is closely related to the midpoint of a line segment.
For a triangle with vertices:
\(A = (x_1, y_1), B = (x_2, y_2), C = (x_3, y_3)\)
The centroid \(G\) is calculated as the average of the x-coordinates and y-coordinates:
\(G = \left( \frac{x_1 + x_2 + x_3}{3}, \frac{y_1 + y_2 + y_3}{3} \right)\)
For a closed polygon (vertex \((x_0, y_0) = (x_n, y_n)\)), the centroid is given by:
\(C_x = \frac{1}{6A} \sum_{i=0}^{n-1} (x_i + x_{i+1}) (x_i y_{i+1} - x_{i+1} y_i)\)
\(C_y = \frac{1}{6A} \sum_{i=0}^{n-1} (y_i + y_{i+1}) (x_i y_{i+1} - x_{i+1} y_i)\)
where the area \(A\) of the polygon is:
\(A = \frac{1}{2} \sum_{i=0}^{n-1} (x_i y_{i+1} - x_{i+1} y_i)\)
For \(N\) points, the centroid is the average of all x- and y-coordinates:
\(G_x = \frac{x_1 + x_2 + \dots + x_N}{N}, \quad G_y = \frac{y_1 + y_2 + \dots + y_N}{N}\)
Consider triangle ABC with vertices:
Centroid calculation:
\(G = \left( \frac{4+20+30}{3}, \frac{5+25+6}{3} \right) = \left( \frac{54}{3}, \frac{36}{3} \right) = (18, 12)\)
Yes. For shapes with an axis of symmetry, the centroid lies on that axis. For certain concave or irregular shapes, the centroid can be outside the geometric boundaries.
For a 3D object, you need to find the average of x, y, and z coordinates: \( (\bar{x}, \bar{y}, \bar{z}) \). This point is the centroid of the 3D object.
Related
Links
Home Conversion Calculator About Calculator Online Blog Hire Us Knowledge Base Sitemap Sitemap TwoEmail us at
Contact Us© Copyrights 2026 by Calculator-Online.net