Skip to content
Omnikalc

Where are the centers of a triangle?

Enter the coordinates of the three vertices: get the centroid, circumcenter, orthocenter and incenter, with the circumradius, the inradius and the area.

Updated on
Your inputs

Value out of range

Value out of range

Value out of range

Value out of range

Value out of range

Value out of range

Results

Centroid, x

3.3333

Valid triangle: the circumcenter, centroid and orthocenter lie on the Euler line
Centroid, y
2.0000
Circumcenter, x
4.0000
Circumcenter, y
2.0000
Circumradius
4.4721
Orthocenter, x
2.0000
Orthocenter, y
2.0000
Incenter, x
2.9196
Incenter, y
2.1044
Inradius
2.1044
Area
24.0000

Every triangle hides several special points. The centroid is its center of mass, the circumcenter is the center of the circle through the three vertices, the orthocenter is where the altitudes cross, and the incenter is the center of the largest circle inside. This calculator takes the coordinates of the three vertices and gives all four points, plus the circumradius, the inradius and the area.

How the calculation works

  • Centroid = average of the three vertices
  • Circumcenter from the perpendicular bisectors of two sides, with D = 2 × (x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂))
  • Orthocenter H = 3 × centroid − 2 × circumcenter
  • Incenter = (a × A + b × B + c × C) ÷ (a + b + c), where a, b and c are the lengths of the sides opposite A, B and C
  • Inradius = 2 × area ÷ perimeter

Example

Take the triangle A(0, 0), B(8, 0), C(2, 6). Its area is 24. The centroid is at (3.3333, 2), the circumcenter at (4, 2) with a circumradius of 4.4721, and the orthocenter at (2, 2). The incenter is at (2.9196, 2.1043) and the inradius is 2.1043. The three points G, O and H all have y = 2: they lie on the Euler line.

Why it matters

These points are used in geometry, surveying, computer graphics and mesh generation. The circumcenter is the basis for Delaunay triangulation, the incenter locates the best position for a circular element inside a triangular plot, and the centroid gives the balance point of a triangular plate or a land parcel.

Good to know

The three points must not be on one line. If they are, the calculator flags it. All the lengths are in the unit of your coordinates, and the area in its square. Coordinates can be negative. For a right triangle, the circumcenter is the midpoint of the hypotenuse, which is a quick check on the result.

The triangle solver gives the sides and angles, the triangle area calculator covers area formulas, and the distance and midpoint calculators cover the building blocks used here.

Frequently asked questions

What are the four classic triangle centers?

The centroid, where the three medians meet and where the triangle balances; the circumcenter, equidistant from the three vertices; the orthocenter, where the three altitudes meet; and the incenter, equidistant from the three sides.

What is the Euler line?

The straight line through the centroid, the circumcenter and the orthocenter. The centroid always lies one third of the way from the circumcenter to the orthocenter. In an equilateral triangle all three coincide.

Where can the orthocenter and circumcenter be?

Inside the triangle for an acute triangle, at the midpoint of the hypotenuse (circumcenter) and at the right-angle vertex (orthocenter) for a right triangle, and outside the triangle for an obtuse one.

Why does the incenter always lie inside?

It is the intersection of the angle bisectors, and the bisectors of the interior angles of any triangle meet inside it. The inscribed circle touches each side once.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.