Skip to content
Omnikalc

Euler line calculator

Enter the three sides of a triangle to get the circumradius, the distance between the circumcenter and the orthocenter, the positions of the centroid and the nine-point center on the Euler line, the nine-point radius and the distance OI.

Updated on
Your inputs
cm

Value out of range

cm

Value out of range

cm

Value out of range

Results

Distance OH (circumcenter to orthocenter)

2.110 cm

Radius of the nine-point circle

2.348 cm

Circumradius R
4.696 cm
Distance OG (circumcenter to centroid)
0.703 cm
Distance GH (centroid to orthocenter)
1.406 cm
Distance ON (to the nine-point center)
1.055 cm
Inradius r
2.236 cm
Distance OI (circumcenter to incenter)
1.025 cm
Ratio R / (2r), at least 1
1.0500

The Euler line calculator gives the distances between the circumcenter, the centroid and the orthocenter of a triangle from its three sides, the nine-point circle radius, the circumradius, the inradius and the distance OI between the circumcenter and the incenter.

How the calculation works

  • Enter the three sides a, b and c of the triangle.
  • Make sure the sides satisfy the triangle inequality.
  • Read the circumradius, the Euler line distances and the nine-point circle.

Example

A triangle with sides 7 cm, 8 cm and 9 cm has a circumradius of 4.696 cm. The orthocenter is 2.110 cm from the circumcenter, the centroid is 0.703 cm from it and 1.406 cm from the orthocenter, and the nine-point center is 1.055 cm from it. The nine-point circle has a radius of 2.348 cm, the inradius is 2.236 cm and OI is 1.025 cm.

Why it matters

The calculator helps geometry students, teachers and competition solvers who study triangle centers, check a construction, or need the distances along the Euler line from the sides alone, without placing the triangle on coordinates and solving for each center.

Good to know

The distance OH is zero for an equilateral triangle, where the three centers coincide and the Euler line is not defined. For a right triangle, OH equals half the hypotenuse. For an obtuse triangle, the circumcenter and the orthocenter lie outside the triangle, but the distances are still correct. The sides must satisfy the triangle inequality. The lengths use the same unit as the sides, and the ratio R / 2r has no unit. The formulas are for a plane triangle.

The triangle calculator solves the basic measures, the triangle centers calculator locates the centers by coordinates, the triangle solver finds sides and angles, and the Brocard angle calculator gives another shape measure.

Frequently asked questions

What is the Euler line?

In any triangle that is not equilateral, the circumcenter O, the centroid G and the orthocenter H lie on one straight line, the Euler line, discovered by Euler in 1765. The centroid always lies between the other two, at one third of the way from O to H, so OG : GH = 1 : 2. The nine-point center N is the midpoint of OH.

How is the distance OH found from the sides?

The distance follows OH² = 9R² − (a² + b² + c²), where R = abc / (4Δ) is the circumradius. For the triangle with sides 7, 8 and 9, R is about 4.696, OH² is about 4.45 and OH about 2.11. For a right triangle, the orthocenter is at the right-angle vertex and the circumcenter is the midpoint of the hypotenuse.

What is the nine-point circle?

The nine-point circle passes through the midpoints of the three sides, the feet of the three altitudes and the midpoints of the segments from the orthocenter to the vertices. Its center N lies halfway between O and H on the Euler line, and its radius is exactly R / 2. It is also called the Feuerbach circle.

Where is the incenter?

The incenter I is usually not on the Euler line. Euler’s formula gives its distance to the circumcenter as OI² = R × (R − 2r). Since OI² cannot be negative, R is always at least 2r, with equality only for the equilateral triangle. The ratio R / 2r is another measure of how far a triangle is from equilateral.

Was this calculator helpful?

Thanks for your feedback!

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