Skip to content

Centroid Calculator

Result

Centroid x2
Centroid y2
↗ Math

Centroid Calculator: calculate centroid x from explicitly entered values.

Formula

Triangle centroid coordinates are xG=(x1+x2+x3)/3 and yG=(y1+y2+y3)/3
  • Model: Triangle centroid coordinates are xG=(x1+x2+x3)/3 and yG=(y1+y2+y3)/3. Coordinates belong to three vertices of a nondegenerate triangle; output includes centroid X and Y. This calculator uses the supplied inputs and does not provide a certified engineering, medical, or financial assessment.
  • The main inputs are x1, y1, x2, y2, x3, y3. Enter them in the units and format shown in the calculator.
  • Keep comparable quantities in compatible units whenever the formula combines or compares them.
  • Changing any input above recalculates the result with the same calculation engine used by this page.

Example: Centroid

Inputs
  • x1: 0
  • y1: 0
  • x2: 6
  • y2: 0
  • x3: 0
  • y3: 6

Using x1 = 0, y1 = 0, x2 = 6, y2 = 0, x3 = 0, y3 = 6, the calculated result is Centroid x: 2.

Sample result: Calculating…

Frequently asked questions

What does the Centroid calculate?

Centroid Calculator: calculate centroid x from explicitly entered values.

Which values should I enter?

Enter x1, y1, x2, y2, x3, y3 using the units and format shown beside each field.

What formula does this calculator use?

The calculator uses the following relationship: Triangle centroid coordinates are xG=(x1+x2+x3)/3 and yG=(y1+y2+y3)/3.

Why might my result differ from another source?

Results can differ when another source uses different units, rounding rules, conventions or assumptions. Compare the inputs and definitions before comparing results.

Does the result update automatically?

Yes. Changing an input updates the result using the same calculation engine shown on this page.

Page information

Updated: October 7, 2026