Right Triangle Solver logo
Right Triangle Solver

Altitude Calculator

Right Triangle Altitude From Sides Calculator

If you already know all three sides of a right triangle, finding the altitude to the hypotenuse takes one quick calculation. This page handles that exact scenario—type in the two legs and the hypotenuse, and the altitude appears instantly.

Calculate Altitude h From Sides

This calculator finds Altitude h using h=a×bch = \frac{a \times b}{c}.

Enter inputs to calculate Altitude h.

How This Right Triangle Altitude From Sides Calculator Works

Enter leg a, leg b, and hypotenuse c to find the altitude drawn from the right-angle vertex to the hypotenuse. The calculator shows the formula, substitution, and result so you can follow every step.

This calculator is designed for the case where you know leg a, leg b, and hypotenuse c and need the perpendicular distance from the right-angle vertex to the hypotenuse. No angles or projections required.

Known values

Leg a, leg b, and hypotenuse c

Finds

Altitude h to the hypotenuse

Main formula

h = (a × b) / c

Best for

Geometry homework, altitude proofs, area cross-checks, and construction calculations

Right Triangle Altitude From Sides Formula

h=a×bch = \frac{a \times b}{c}

The altitude to the hypotenuse connects the right-angle vertex to the hypotenuse at a perfect 90° angle. Its length comes from a simple relationship between the triangle’s area and its sides.

The area of a right triangle can be written two ways. First, using the legs: Area = (a × b) / 2. Second, using the hypotenuse as the base and the altitude as the height: Area = (c × h) / 2. Setting these equal and solving for h gives the formula.

Because both expressions describe the same area, they must be equal: (a × b) / 2 = (c × h) / 2. Cancel the 2 from both sides, then divide by c to isolate h. The result is h = (a × b) / c.

Triangle Diagram: Altitude From Sides

The diagram shows a right triangle with legs a and b forming the 90° angle and hypotenuse c opposite it. The altitude h drops from the right-angle vertex perpendicular to the hypotenuse, splitting it into two segments.

Triangle Diagram: Altitude From Sides Right triangle diagram showing leg a, leg b, hypotenuse c, and altitude h drawn perpendicular from the right-angle vertex to the hypotenuse. leg a leg b h hyp c h = (a × b) / c

Diagram Key

a = first leg

One of the two sides forming the right angle. Used as a factor in the altitude formula.

b = second leg

The other side forming the right angle. Multiplied with leg a in the formula.

c = hypotenuse

The longest side, opposite the right angle. The altitude h is drawn to this side, and c appears in the denominator of the formula.

h = altitude to the hypotenuse

The perpendicular segment from the right-angle vertex to the hypotenuse. Calculated as (a × b) / c.

  • All three sides must use the same unit before you calculate.
  • The hypotenuse c must be the longest side. If c is shorter than a or b, the triangle is not valid.
  • The altitude h will always be shorter than either leg individually.

How to Use This Calculator

  1. Identify the two legs of your right triangle. These are the sides that form the 90° angle. Label them a and b.
  2. Identify the hypotenuse c. This is the longest side, opposite the right angle.
  3. Make sure all three measurements are in the same unit. Convert if needed.
  4. Enter leg a into the first field.
  5. Enter leg b into the second field.
  6. Enter hypotenuse c into the third field.
  7. Click Calculate. The tool multiplies a and b, divides by c, and shows the altitude h with step-by-step work.

Worked Example: Altitude of a 6-8-10 Right Triangle

Suppose you have a right triangle with leg a = 6, leg b = 8, and hypotenuse c = 10.

h=a×bch = \frac{a \times b}{c}
h=6×810h = \frac{6 \times 8}{10}
h=4810h = \frac{48}{10}
h=4.8h = 4.8

The altitude to the hypotenuse is 4.8 units. You can verify this: Area = (6 × 8) / 2 = 24, and also Area = (10 × 4.8) / 2 = 24. Both area calculations agree, confirming the altitude is correct.

What the Result Means

The altitude h is the shortest distance from the right-angle vertex to the hypotenuse. Think of it as the “height” of the triangle when the hypotenuse is laid flat as the base.

This value is always positive, always shorter than either leg, and always shorter than the hypotenuse. If your answer is larger than one of the legs, double-check your inputs—something is likely entered incorrectly.

When to Use This Calculator

This method is ideal whenever you already have all three side lengths and need the altitude. It avoids trigonometry and square roots entirely.

Common situations:

Why This Formula Works

The formula h = (a × b) / c is a direct consequence of the equal-area principle. Every triangle has exactly one area, but you can compute it using different base-height pairs.

Using the legs as base and height gives Area = (a × b) / 2. Using the hypotenuse as the base gives Area = (c × h) / 2. Since both equal the same area, you can set them equal and solve for h. The factor of 2 cancels from both sides, leaving h = (a × b) / c.

This relationship holds for every right triangle, regardless of size or proportions. It is one of the most useful identities in elementary geometry.

Common Mistakes

The formula is simple, but entering the wrong values is surprisingly common. Watch out for these.

Additional Example: The 5-12-13 Triangle

The 5-12-13 right triangle is another common Pythagorean triple. Let’s find its altitude to the hypotenuse.

help

Frequently Asked Questions

Answers to the most common right-triangle altitude questions.

01 What is the formula for the altitude from sides? expand_more

The formula is h = (a × b) / c, where a and b are the two legs and c is the hypotenuse.

02 Why does the formula use the product of the legs? expand_more

Because the area of the triangle equals (a × b) / 2 using the legs and also equals (c × h) / 2 using the hypotenuse and altitude. Setting them equal and solving for h gives h = (a × b) / c.

03 What does the altitude result represent? expand_more

It is the perpendicular distance from the right-angle vertex to the hypotenuse. It is always shorter than either leg and always lies inside the triangle.

04 Do I need to know the angles to find the altitude? expand_more

No. This formula uses only the three side lengths. No angle measurements are needed.

05 Can the altitude ever be longer than a leg? expand_more

No. The altitude to the hypotenuse is always shorter than both legs. If your calculated h is larger than a or b, check that c is correctly identified as the longest side.

Related Calculators