Skip to main content

Euler Line Calculator

Free Euler line Calculator for triangle. Enter values to get step-by-step solutions with formulas and graphs. Enter your values for instant results.

Skip to calculator
Mathematics

Euler Line Calculator

Calculate the Euler line of any triangle from vertex coordinates. Find the circumcenter, centroid, orthocenter, nine-point center, and the Euler line equation.

Last updated: December 2025Reviewed by NovaCalculator Mathematics Team

Calculator

Adjust values & calculate
Euler Line Equation
y = 0.1000x + 1.4000
Circumcenter (O)
(3.0000, 1.7000)
Centroid (G)
(2.6667, 1.6667)
Orthocenter (H)
(2.0000, 1.6000)
Nine-Point Center (N)
(2.5000, 1.6500)
Incenter (I) - not on Euler line for scalene
(2.4910, 1.6865)
OG Distance
0.334996
GH Distance
0.669992
OH Distance
1.004988
Circumradius
3.448188
Nine-Point Radius
1.724094
Inradius
1.686503
Triangle Area
15.0000
Perimeter
17.7883
Your Result
Euler Line: y = 0.1000x + 1.4000 | G(2.6667, 1.6667) | O(3.0000, 1.7000) | H(2.0000, 1.6000)
Share Your Result
Understand the Math

Formula

H = 3G - 2O, OG:GH = 1:2

The orthocenter H, centroid G, and circumcenter O are collinear (Euler line). The centroid divides segment OH in ratio 1:2 from O. The nine-point center N is the midpoint of OH with radius R/2.

Last reviewed: December 2025

Worked Examples

Example 1: Euler Line of a Scalene Triangle

Find the Euler line for a triangle with vertices A(0,0), B(8,0), C(3,6).
Solution:
Centroid G = ((0+8+3)/3, (0+0+6)/3) = (3.6667, 2) Circumcenter O: Using perpendicular bisector formulas = (4.4167, 2.2917) Orthocenter H = 3G - 2O = (3x3.6667 - 2x4.4167, 3x2 - 2x2.2917) = (2.1667, 1.4167) Nine-point center N = ((4.4167+2.1667)/2, (2.2917+1.4167)/2) = (3.2917, 1.8542) OG:GH ratio = 1:2 confirmed
Result: G(3.6667, 2) | O(4.4167, 2.2917) | H(2.1667, 1.4167) | Euler line verified

Example 2: Euler Line of a Right Triangle

Find the Euler line for a right triangle with vertices A(0,0), B(6,0), C(0,8).
Solution:
Centroid G = (2, 2.6667) Circumcenter O = midpoint of hypotenuse = (3, 4) Orthocenter H = right angle vertex = (0, 0) Nine-point center N = (1.5, 2) Euler line slope = (4-0)/(3-0) = 4/3 Euler line: y = (4/3)x OG = sqrt(1+1.7778) = 1.6667, GH = sqrt(4+7.1111) = 3.3333, ratio = 1:2
Result: O(3,4) | G(2, 2.667) | H(0,0) | Euler line: y = 1.3333x
Expert Insights

Background & Theory

The Euler Line Calculator applies the following established principles and formulas. Mathematics rests on a hierarchy of number systems, each extending the previous. The natural numbers (1, 2, 3, ...) support counting and ordering. The integers add negative values and zero, enabling subtraction without restriction. The rational numbers, expressible as p/q where p and q are integers and q is nonzero, close the system under division. The real numbers fill the gaps left by irrationals such as the square root of 2 or pi, forming a complete ordered field. The complex numbers, written as a + bi where i is the square root of negative one, complete the algebraic closure of the reals and allow every polynomial to have a root. Prime factorization states that every integer greater than one is uniquely expressible as a product of primes, a result known as the Fundamental Theorem of Arithmetic. Computing the greatest common divisor (GCD) of two integers relies most efficiently on the Euclidean algorithm: repeatedly replace the larger number with the remainder when it is divided by the smaller, until the remainder is zero. The last nonzero remainder is the GCD. The least common multiple (LCM) follows from the identity LCM(a, b) = |a * b| / GCD(a, b). Modular arithmetic defines equivalence classes of integers that share the same remainder under division by a modulus n. Fermat's Little Theorem and Euler's Theorem arise from this structure and underpin modern cryptography. Logarithms are the inverses of exponential functions. If b raised to the power x equals y, then the logarithm base b of y equals x. The natural logarithm uses base e, approximately 2.71828. Combinatorics counts arrangements and selections. The number of ordered arrangements (permutations) of r objects from n distinct objects is nPr = n! / (n - r)!. The number of unordered selections (combinations) is nCr = n! / (r! * (n - r)!). Pascal's triangle arranges these binomial coefficients so that each entry equals the sum of the two entries directly above it. The Fibonacci sequence, defined by F(1) = 1, F(2) = 1, and F(n) = F(n-1) + F(n-2), appears throughout nature and connects deeply to the golden ratio via Binet's formula.

History

The history behind the Euler Line Calculator traces back through the following developments. Mathematics as a systematic discipline traces to ancient Mesopotamia. Babylonian clay tablets dating to around 1800 BCE demonstrate knowledge of quadratic equations, Pythagorean triples, and base-60 arithmetic, suggesting a practical mathematical tradition far preceding Greek formalism. Euclid of Alexandria compiled the Elements around 300 BCE, establishing the axiomatic method that would define rigorous mathematics for over two thousand years. His work organized plane geometry, number theory, and proportion into logically chained propositions derived from a small set of postulates. The algorithm bearing his name for computing GCDs appears in Book VII and remains in use today. In the 9th century, the Persian scholar Muhammad ibn Musa Al-Khwarizmi wrote Al-Kitab al-mukhtasar fi hisab al-jabr wal-muqabala, the treatise whose title gave algebra its name. He systematized the solution of linear and quadratic equations and described procedures that operated on unknowns as objects, a conceptual leap away from purely numerical calculation. Rene Descartes introduced coordinate geometry in 1637 by uniting algebra and Euclidean geometry, allowing curves to be studied through equations. This synthesis set the stage for calculus. Isaac Newton and Gottfried Wilhelm Leibniz independently developed calculus during the 1660s and 1670s, triggering a priority dispute that lasted decades and divided British and Continental mathematicians. Carl Friedrich Gauss proved the Fundamental Theorem of Algebra in 1799, showing that every nonconstant polynomial has at least one complex root. His Disquisitiones Arithmeticae of 1801 established modern number theory. David Hilbert's formalist program at the turn of the 20th century sought to place all of mathematics on an explicit axiomatic foundation, a project that Kurt Godel's incompleteness theorems of 1931 showed to be fundamentally limited. Alan Turing's work in the 1930s on computability introduced the theoretical model of the stored-program computer and linked mathematical logic directly to the limits of algorithmic calculation. His proof that no algorithm can decide in general whether an arbitrary program will halt or run forever placed fundamental boundaries on what mathematics can mechanically determine, and it opened the discipline now known as theoretical computer science.

Share this calculator

Explore More

Frequently Asked Questions

The Euler line is a remarkable straight line that passes through several important centers of a non-equilateral triangle. Named after the great mathematician Leonhard Euler who proved its existence in 1765, this line passes through the circumcenter (center of the circumscribed circle), the centroid (center of mass), and the orthocenter (intersection of altitudes). The nine-point center also lies on this line. For equilateral triangles, all these centers coincide at a single point, so the Euler line is undefined. The discovery of the Euler line was a major milestone in triangle geometry.
The Euler line passes through four major triangle centers. The circumcenter O is the center of the circle passing through all three vertices. The centroid G is the intersection of the three medians and the center of mass. The orthocenter H is where the three altitudes meet. The nine-point center N is the center of the circle passing through the midpoints of the sides, the feet of the altitudes, and the midpoints of segments from vertices to the orthocenter. Notably, the incenter (center of the inscribed circle) generally does NOT lie on the Euler line, except for isosceles triangles.
The points on the Euler line maintain fixed distance ratios. The centroid G divides the segment from the circumcenter O to the orthocenter H in the ratio OG:GH = 1:2. This means the orthocenter is always twice as far from the centroid as the circumcenter is. The nine-point center N is the midpoint of the segment OH, so ON = NH = OH/2. Also, NG = OH/6. These ratios hold for every non-equilateral triangle regardless of its shape or size. This beautiful property was first proved by Euler and is one of the most elegant results in classical geometry.
In general, the incenter (center of the inscribed circle) does NOT lie on the Euler line. The incenter only coincides with points on the Euler line in special cases. For equilateral triangles, all centers coincide, so the incenter trivially lies on the (degenerate) Euler line. For isosceles triangles, the Euler line is the axis of symmetry, and the incenter also lies on this axis, so it does lie on the Euler line. For all other (scalene, non-equilateral) triangles, the incenter is not on the Euler line. This makes the incenter unique among the major triangle centers.
The Euler line behaves differently for special triangle types. For equilateral triangles, all centers merge into one point, so the Euler line is undefined (or considered a single point). For isosceles triangles, the Euler line coincides with the axis of symmetry (the perpendicular bisector of the base). For right triangles, the circumcenter lies on the hypotenuse midpoint, the orthocenter is at the right-angle vertex, and the Euler line connects them through the centroid. As a triangle becomes increasingly obtuse or elongated, the Euler line extends further as the orthocenter and circumcenter move farther apart.
To find the equation of the Euler line, you need at least two of its known points (circumcenter, centroid, orthocenter, or nine-point center). Once you have two points, say the circumcenter O(Ox, Oy) and the centroid G(Gx, Gy), compute the slope m = (Gy - Oy) / (Gx - Ox). Then the line equation is y - Oy = m(x - Ox), or equivalently y = mx + b where b = Oy - m times Ox. If the Euler line is vertical (Gx = Ox), the equation is simply x = Ox. You can verify your result by checking that the orthocenter also satisfies this equation.
Educational Note: This calculator is provided for educational and informational purposes. Results are based on the formulas and inputs provided. Always verify important calculations independently. NovaCalculator processes calculator inputs client-side; optional analytics follow visitor consent settings.Reviewed by: NovaCalculator Mathematics Team โ€” Verified against standard mathematical and scientific references. Last reviewed: December 2025. ยฉ 2024โ€“2026 NovaCalculator.

Share this calculator

Formula

H = 3G - 2O, OG:GH = 1:2

The orthocenter H, centroid G, and circumcenter O are collinear (Euler line). The centroid divides segment OH in ratio 1:2 from O. The nine-point center N is the midpoint of OH with radius R/2.

Worked Examples

Example 1: Euler Line of a Scalene Triangle

Problem: Find the Euler line for a triangle with vertices A(0,0), B(8,0), C(3,6).

Solution: Centroid G = ((0+8+3)/3, (0+0+6)/3) = (3.6667, 2)\nCircumcenter O: Using perpendicular bisector formulas = (4.4167, 2.2917)\nOrthocenter H = 3G - 2O = (3x3.6667 - 2x4.4167, 3x2 - 2x2.2917) = (2.1667, 1.4167)\nNine-point center N = ((4.4167+2.1667)/2, (2.2917+1.4167)/2) = (3.2917, 1.8542)\nOG:GH ratio = 1:2 confirmed

Result: G(3.6667, 2) | O(4.4167, 2.2917) | H(2.1667, 1.4167) | Euler line verified

Example 2: Euler Line of a Right Triangle

Problem: Find the Euler line for a right triangle with vertices A(0,0), B(6,0), C(0,8).

Solution: Centroid G = (2, 2.6667)\nCircumcenter O = midpoint of hypotenuse = (3, 4)\nOrthocenter H = right angle vertex = (0, 0)\nNine-point center N = (1.5, 2)\nEuler line slope = (4-0)/(3-0) = 4/3\nEuler line: y = (4/3)x\nOG = sqrt(1+1.7778) = 1.6667, GH = sqrt(4+7.1111) = 3.3333, ratio = 1:2

Result: O(3,4) | G(2, 2.667) | H(0,0) | Euler line: y = 1.3333x

Frequently Asked Questions

What is the Euler line of a triangle?

The Euler line is a remarkable straight line that passes through several important centers of a non-equilateral triangle. Named after the great mathematician Leonhard Euler who proved its existence in 1765, this line passes through the circumcenter (center of the circumscribed circle), the centroid (center of mass), and the orthocenter (intersection of altitudes). The nine-point center also lies on this line. For equilateral triangles, all these centers coincide at a single point, so the Euler line is undefined. The discovery of the Euler line was a major milestone in triangle geometry.

What points lie on the Euler line?

The Euler line passes through four major triangle centers. The circumcenter O is the center of the circle passing through all three vertices. The centroid G is the intersection of the three medians and the center of mass. The orthocenter H is where the three altitudes meet. The nine-point center N is the center of the circle passing through the midpoints of the sides, the feet of the altitudes, and the midpoints of segments from vertices to the orthocenter. Notably, the incenter (center of the inscribed circle) generally does NOT lie on the Euler line, except for isosceles triangles.

What is the ratio of distances along the Euler line?

The points on the Euler line maintain fixed distance ratios. The centroid G divides the segment from the circumcenter O to the orthocenter H in the ratio OG:GH = 1:2. This means the orthocenter is always twice as far from the centroid as the circumcenter is. The nine-point center N is the midpoint of the segment OH, so ON = NH = OH/2. Also, NG = OH/6. These ratios hold for every non-equilateral triangle regardless of its shape or size. This beautiful property was first proved by Euler and is one of the most elegant results in classical geometry.

Does the incenter lie on the Euler line?

In general, the incenter (center of the inscribed circle) does NOT lie on the Euler line. The incenter only coincides with points on the Euler line in special cases. For equilateral triangles, all centers coincide, so the incenter trivially lies on the (degenerate) Euler line. For isosceles triangles, the Euler line is the axis of symmetry, and the incenter also lies on this axis, so it does lie on the Euler line. For all other (scalene, non-equilateral) triangles, the incenter is not on the Euler line. This makes the incenter unique among the major triangle centers.

What happens to the Euler line for special triangles?

The Euler line behaves differently for special triangle types. For equilateral triangles, all centers merge into one point, so the Euler line is undefined (or considered a single point). For isosceles triangles, the Euler line coincides with the axis of symmetry (the perpendicular bisector of the base). For right triangles, the circumcenter lies on the hypotenuse midpoint, the orthocenter is at the right-angle vertex, and the Euler line connects them through the centroid. As a triangle becomes increasingly obtuse or elongated, the Euler line extends further as the orthocenter and circumcenter move farther apart.

How do you calculate the equation of the Euler line?

To find the equation of the Euler line, you need at least two of its known points (circumcenter, centroid, orthocenter, or nine-point center). Once you have two points, say the circumcenter O(Ox, Oy) and the centroid G(Gx, Gy), compute the slope m = (Gy - Oy) / (Gx - Ox). Then the line equation is y - Oy = m(x - Ox), or equivalently y = mx + b where b = Oy - m times Ox. If the Euler line is vertical (Gx = Ox), the equation is simply x = Ox. You can verify your result by checking that the orthocenter also satisfies this equation.

References

Reviewed by Manoj Kumar, Mathematics Educator ยท Editorial policy