Triangle Centroid Calculator

Enter the (x, y) coordinates of three triangle vertices to find the centroid and see a labeled diagram.

Vertex Coordinates

A Vertex A
B Vertex B
C Vertex C

Diagram

Triangle (blue), medians (dashed), centroid G (red dot)

Copied!

Summary

Enter the (x, y) coordinates of three triangle vertices to find the centroid and see a labeled diagram.

How it works

  1. Enter the x and y coordinates for each of the three triangle vertices (A, B, C).
  2. The centroid is computed as the average: x_c = (x1+x2+x3)/3, y_c = (y1+y2+y3)/3.
  3. The result panel displays the centroid coordinates rounded to 4 decimal places.
  4. The canvas draws the triangle, all three medians, and marks the centroid.
  5. Change any coordinate value to instantly update both the result and the diagram.

Use cases

  • Find the balance point (center of mass) of a triangular plate.
  • Locate the centroid for structural engineering and load distribution problems.
  • Verify hand-calculated centroid coordinates in geometry homework.
  • Explore how the centroid shifts as triangle vertices are moved.
  • Compute centroids for computational geometry and mesh algorithms.
  • Teach the median-intersection property of triangle centroids visually.

Frequently Asked Questions

Last updated: 2026-07-04 · Reviewed by Nham Vu