Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

Triangle Centroid Coordinates

Locate a triangle’s centroid and measure its first median from three vertex coordinates.

Geometry workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
FormulaX = (x1+x2+x3)/3; Y = (y1+y2+y3)/3; Median A = hypot((x2+x3)/2-x1,(y2+y3)/2-y1)
Sources and model references

Worked example

Inputs

X1
0 length
Y1
0 length
X2
6 length
Y2
0 length
X3
0 length
Y3
6 length

Expected results

X
2 length
Y
2 length
Median A
4.242640687 length

Load the example in the workspace to reproduce these results. Display rounding does not change the underlying calculation.

How to use this tool

  1. Enter the labeled inputs using consistent units.
  2. Check the stated assumptions and calculate.
  3. Review each output and compare another input scenario.

Try this example

{
  "x1": 0,
  "y1": 0,
  "x2": 6,
  "y2": 0,
  "x3": 0,
  "y3": 6
}

Accuracy and scope

Finite floating-point arithmetic; results can lose precision near singular or extreme inputs.

Is my data uploaded?

This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.