Triangle Centroid Calculator screenshot

Triangle Centroid Calculator

Centroid, side lengths and area of a triangle from its three vertices.

Privacy First
0 Runs
Updated 2026-11-22
Runs in your browser
No sign-up, no upload
Exact where arithmetic allows

Triangle Centroid Calculator

Centroid, side lengths and area of a triangle from its three vertices.

What the page prints, and what it refuses

Every figure is printed with the rule or formula that produced it, and any numerical tolerance is stated on the result rather than implied. The page refuses an input the formula does not define and names the value it read; it prints no answer it cannot support.

The calculation runs entirely in this browser tab; nothing is uploaded.

The centroid of a triangle is the average of its vertices, which is also where its three medians meet. For (0,0), (4,0) and (0,3) the centroid is (1.333333, 1).

The page prints the three side lengths and the area beside it, so the triangle is described rather than just located. A collinear triple still has an average, but the page notes that the area is zero and the figure is degenerate.

Why the average is the centroid

Each median joins a vertex to the midpoint of the opposite side. The three medians concur at the average of the vertices, and that point divides each median two-to-one from the vertex.

Because it is an average, the centroid is inside every triangle, unlike the orthocenter or circumcenter. The page's side lengths use the distance formula and the area uses the same cross product as the shoelace formula.

How to use Triangle Centroid Calculator

Enter the six coordinates of the three vertices, then press Run.

The result prints the centroid, the three side lengths, the area and a note if the vertices are collinear.

What to Expect

Best for

  • Finding a triangle's centroid
  • Checking a median intersection
  • Getting sides and area from coordinates

Not ideal for

  • The orthocenter, which is a different point
  • A polygon with more than three vertices
  • A centroid weighted by mass rather than area

What this tool keeps

  • All six coordinates exactly as typed

What may need cleanup

  • Nothing: the values are final numbers

Common errors

  • A non-numeric coordinate is refused by name
  • Collinear vertices are noted rather than refused

Example use cases

  • Find the centroid of a right triangle
  • Check a median intersection
  • Compute sides from coordinates

Sample input

vertices (0,0), (4,0), (0,3)

Sample output

centroid (1.333333, 1), area 6, sides 5, 3 and 4

Who this is for

  • Geometry students
  • Readers checking a triangle's centre

Frequently asked questions

Is the centroid the same as the incenter?

No. The incenter is the centre of the inscribed circle and depends on the side lengths. The centroid is the average of the vertices and depends only on their positions.

What if the points are collinear?

The average still exists, but the area is zero and there is no triangle. The page prints the area and a note rather than pretending the figure is valid.

Are the side lengths labelled?

Yes: side a is opposite vertex A, so it joins B and C. The labels are printed with the values.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.