Triangle Centers Calculator

From three vertices, find a triangle’s centroid, incenter, circumcenter and orthocenter, with the inradius, circumradius and Euler line.

Results

Centroid G (where the medians meet)
(2.666666667, 1.333333333)
Incenter I (angle bisectors; center of the inscribed circle)
(2.407640853, 1.48800388)
Circumcenter O (perpendicular bisectors; center of the circumscribed circle)
(3, 1)
Orthocenter H (where the altitudes meet)
(2, 2)
Inradius r = area ÷ s
1.48800388
Circumradius R = abc ÷ (4 × area)
3.16227766
Area
12.00
Sides a = BC, b = CA, c = AB
a = 5.656854249, b = 4.472135955, c = 6 (semi-perimeter s = 8.064495102)
Triangle type
Acute: the circumcenter and orthocenter are inside the triangle
Euler line
O, G and H lie on one line with G one third of the way from O to H (OH = 1.414213562, OG = 0.4714045208).

How it’s calculated

Each classical center is where three special lines of the triangle meet. With vertices A, B and C and side lengths a = BC, b = CA and c = AB (each side named after the opposite vertex):

Centroid G = (A + B + C) ÷ 3 (medians) Incenter I = (a·A + b·B + c·C) ÷ (a + b + c) (angle bisectors) Circumcenter O = the point equally far from A, B and C (perpendicular bisectors) Orthocenter H = A + B + C − 2O (altitudes) Inradius r = area ÷ s, s = (a + b + c) ÷ 2 Circumradius R = abc ÷ (4 × area)

The centroid and incenter are always inside the triangle. The circumcenter and orthocenter are inside an acute triangle and outside an obtuse one. O, G and H always lie on the Euler line, with OG : GH = 1 : 2.

Example: A(0, 0), B(6, 0), C(2, 4). The centroid is (8/3, 4/3) ≈ (2.667, 1.333). The circumcenter is on x = 3 (the perpendicular bisector of AB) and equally far from A and C, giving O = (3, 1) and R = √10 ≈ 3.162. Then H = (8, 4) − 2(3, 1) = (2, 2). The area is 12 and s ≈ 8.0645, so r = 12 ÷ 8.0645 ≈ 1.488, and the incenter is ≈ (2.408, 1.488).

Frequently asked questions

What is the difference between the centroid and the circumcenter?

The centroid is the balance point, where the three medians cross. The circumcenter is the center of the circle through all three vertices, where the perpendicular bisectors of the sides cross. They coincide only in an equilateral triangle.

Where is the circumcenter of a right triangle?

At the midpoint of the hypotenuse, so the circumradius is half the hypotenuse. The orthocenter is at the right-angle vertex.

Why do I get an error for some points?

If the three points lie on a straight line (or two are the same), they do not form a triangle: the area is zero and the perpendicular bisectors never meet.

How are the inradius and circumradius related?

Both come from the area: r = area ÷ s and R = abc ÷ (4 × area). Euler’s inequality says R ≥ 2r, with equality only for an equilateral triangle.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Need this calculator branded, changed or built around your own prices?See custom business solutions →

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Added · Last updated · How we check our calculators

Spotted a mistake or missing option? Report a problem· Suggest a calculator