# Orthocenter Calculator

URL: https://speedycalculator.com/calculators/math/orthocenter/
Last updated: 2026-11-08

> The orthocenter calculator finds the intersection point of the three altitudes of a triangle from the coordinates of its vertices, together with the circumcenter, centroid and the Euler line relationship.

## Inputs

- A: x
- A: y
- B: x
- B: y
- C: x
- C: y

## Results

- Circumcenter x
- Circumcenter y
- Orthocenter x
- Orthocenter y
- Centroid x
- Centroid y

## Formula

```
H = A + B + C − 2O  (O = circumcenter)
G = (A + B + C)/3,  H, G and O lie on the Euler line with HG = 2·GO
```

## Explanation

The orthocenter is one of the classical triangle centres. It lies inside an acute triangle, at the right-angle vertex of a right triangle and outside an obtuse triangle. Together with the centroid and circumcenter it lies on the Euler line.

### How to use the Orthocenter Calculator

- **A: x**
- **A: y**
- **B: x**
- **B: y**
- **C: x**
- **C: y**

Results update as you type, and everything is calculated in your browser.

### How it works

The circumcenter O is computed from the perpendicular bisectors; the orthocenter then follows from the vector identity H = A + B + C − 2O. If the points are collinear, no triangle exists.

### Inputs explained

FieldWhat to enterA: xA numberA: yA numberB: xA numberB: yA numberC: xA numberC: yA number

### What each result means

- **Circumcenter x** = (([A: x]^2 + [A: y]^2)×([B: y] - [C: y]) + ([B: x]^2 + [B: y]^2)×([C: y] - [A: y]) + ([C: x]^2 + [C: y]^2)×([A: y] - [B: y]))÷[D]
- **Circumcenter y** = (([A: x]^2 + [A: y]^2)×([C: x] - [B: x]) + ([B: x]^2 + [B: y]^2)×([A: x] - [C: x]) + ([C: x]^2 + [C: y]^2)×([B: x] - [A: x]))÷[D]
- **Orthocenter x** = [A: x] + [B: x] + [C: x] - 2×[Circumcenter x]
- **Orthocenter y** = [A: y] + [B: y] + [C: y] - 2×[Circumcenter y]
- **Centroid x** = ([A: x] + [B: x] + [C: x])÷3
- **Centroid y** = ([A: y] + [B: y] + [C: y])÷3

## Worked example

Inputs: A: x: 0; A: y: 0; B: x: 6; B: y: 0; C: x: 2; C: y: 5.

Results: Circumcenter x = 3; Circumcenter y = 1.7; **Orthocenter x = 2**; Orthocenter y = 1.6; Centroid x = 2.666667; Centroid y = 1.666667.

## Key terms

- **Altitude**: The perpendicular from a vertex to the opposite side.

## FAQ

**Where is the orthocenter of a right triangle?**
At the vertex with the right angle.

**Can the orthocenter be outside the triangle?**
Yes, for obtuse triangles.

**What is the Euler line?**
The line through the orthocenter, centroid and circumcenter.

**What is an altitude?**
A perpendicular segment from a vertex to the opposite side.


## Sources

- [Wolfram MathWorld: Orthocenter](https://mathworld.wolfram.com/Orthocenter.html)
- [Wolfram MathWorld: Euler line](https://mathworld.wolfram.com/EulerLine.html)
