Altitude Calculator
Right Triangle Altitude From Projections Calculator
When the altitude drops from the right-angle vertex to the hypotenuse, it splits the hypotenuse into two segments called projections. If you know those two projections, the altitude is just one square root away. This calculator does that math for you.
Calculate Altitude h From Projections
This calculator finds Altitude h using .
Enter inputs to calculate Altitude h.
Altitude h
Result-
Solution Steps
Formula:
Calculate the Altitude of a Right Triangle From Projections
Multiply the two hypotenuse projections, then take the square root.
The Right Triangle Altitude From Projections Calculator finds the altitude of a right triangle from the two projections, and , that the altitude cuts on the hypotenuse. No legs or angles are needed. Enter projection and projection in the same unit, and the calculator returns the altitude with the altitude theorem:
The formula works because dropping the altitude from the right-angle vertex creates two smaller triangles that are similar to each other. Similarity forces the altitude to be the geometric mean of the two projections. As a quick illustration, if and , multiply by to get , then take the square root to get an altitude of .
Type the first hypotenuse segment into the Projection field and the second into the Projection field, keeping both in the same unit. Press Calculate to see the altitude, and Reset clears the fields for a new problem. The result carries the same unit as the inputs. If you know the triangle's legs instead, try the altitude calculator built for that case.
What Is the Altitude of a Right Triangle?
The altitude of a right triangle is the perpendicular segment drawn from the right-angle vertex to the hypotenuse. Its length measures the shortest distance from that vertex to the hypotenuse, because a perpendicular is always the shortest path from a point to a line.
Draw the altitude and it lands on the hypotenuse at a point called the altitude foot, usually labeled D. From D, the altitude rises at exactly 90 degrees to meet the right-angle vertex C. This right-angle meeting is what makes CD the altitude rather than just another segment.
Beginners sometimes confuse the altitude with one of the legs. The legs, AC and BC, meet at the right angle and form the outer sides of the triangle. The altitude CD runs inside the triangle from vertex C to side AB. It is a third, distinct segment with its own length , and it exists only once the altitude is actually drawn.
The hypotenuse can serve as the base because any side can be a base once the matching altitude is drawn, letting the area be written as one half times the hypotenuse times this altitude. Drawing the altitude also splits the triangle into two smaller right triangles, ACD and CBD, which carry the similar-triangle relationships behind every formula on this page.
What Are Projections in a Right Triangle?
When the altitude CD meets the hypotenuse AB, the foot D divides AB into two smaller segments: AD, called , and DB, called . These two segments are the projections of the legs onto the hypotenuse. Each one is the shadow a leg casts onto the hypotenuse when light shines straight down along the altitude.
Projection sits next to leg AC, and projection sits next to leg BC. Because they are the two pieces of the hypotenuse, they add up exactly:
Here is the full hypotenuse. This addition relationship helps check answers and recover a missing projection when the hypotenuse and one projection are known. If you need the reverse calculation, finding projections from side lengths, the projection calculator handles that direction.
Both projections must be positive lengths. A zero or negative value describes no real triangle, only a degenerate shape. And projections are not the legs themselves: the legs AC and BC lean off to the sides, while and lie flat along the hypotenuse. Mixing them up is one of the most common errors students make.
| Measurement | Meaning |
|---|---|
| First hypotenuse segment | |
| Second hypotenuse segment | |
| Perpendicular altitude | |
| Complete hypotenuse | |
| First triangle leg | |
| Second triangle leg |
Right Triangle Altitude From Projections Formula
The altitude theorem states:
Taking the positive square root of both sides gives the working formula:
Each symbol has a fixed meaning. The letter stands for the altitude to the hypotenuse, the quantity you want. The letters and stand for the two hypotenuse projections, the quantities you enter. The multiplication joins the projections, and the square root undoes that product to return a length.
Multiplication appears because similarity between the two small triangles produces the proportion . Cross-multiplying that proportion gives . The square root appears because is a length, and only the positive root of names a real distance.
Units deserve attention. If and are both measured in centimeters, their product lives in square centimeters, which is correct for an area-like intermediate step. Taking the square root converts square centimeters back to plain centimeters for the final altitude. This is why the two inputs must share the same unit: mixing units would corrupt the product and the answer. A compact way to remember the formula is that the altitude is the geometric mean of the two projections, since the geometric mean of two numbers is the square root of their product.
How to Calculate Altitude From Projections Step by Step
- Identify the two hypotenuse projections. Look for the segments into which the altitude foot divides the hypotenuse, and label the one next to leg AC as and the one next to leg BC as .
- Confirm both measurements use the same unit. If one is in millimeters and the other in centimeters, convert one of them before touching the formula.
- Multiply and . The product is an area-like intermediate value, so its unit is the square of the input unit.
- Take the positive square root of the product. The negative root is discarded because a length cannot be negative.
- Write the final answer with its unit. A bare number invites mistakes later, especially when it feeds into a longer calculation.
- Check that the answer is reasonable. The altitude always lies between the two projections, and it can never exceed half the hypotenuse.
Here is the method applied to a full example. Suppose and . First multiply: , so . Then take the positive square root:
The altitude is . As a sanity check, lies between the projections and , matching the geometric-mean behavior described later in this guide.
Right Triangle Altitude Diagram Explained
Triangle ABC has its right angle at C. From C, the altitude CD drops perpendicular to the hypotenuse AB, meeting it at the foot D. The segment AD is labeled , DB is labeled , and CD is labeled , while the hypotenuse AB is and the legs AC and BC are and .
Two small squares mark the two right angles: one at C inside the original triangle, and one at D where the altitude meets the hypotenuse. The altitude CD appears as a clean interior segment, visually distinct from the two legs that form the triangle's outer frame.
The altitude divides ABC into two smaller right triangles, ACD and CBD, which are similar to each other and to the original triangle. In textbook questions, projections are often described as the two segments of the hypotenuse, or simply as the numbers sitting on either side of the altitude foot. Label them and before computing anything.
Why Does the Altitude Formula Work? Proof Using Similar Triangles
The altitude theorem is not a rule to memorize blindly. It follows from the similarity of the two triangles the altitude creates.
In triangle ACD, the acute angles at A and C add to 90 degrees, and in the large triangle ABC, angles A and B also add to 90 degrees. So the angle at C inside ACD equals angle B, and the angle at A equals the angle at C inside CBD. The two small triangles share all three angles, which makes them similar.
Similarity means matching sides stay in the same ratio. In triangle ACD, the side opposite angle A is the altitude . In triangle CBD, the side opposite the equal angle at C is projection . The other matching pair is projection (opposite the second acute angle in ACD) over altitude (opposite the matching angle in CBD). Setting these equal gives the proportion:
Cross-multiplying turns the proportion into:
Taking the square root of both sides gives . The equation has two algebraic roots, positive and negative, but a length is a positive quantity, so only the positive root describes the altitude.
Worked Examples of Altitude From Projections
Example 1: Simple Whole Numbers
Given and , substitute into the formula:
The altitude is , a whole number because is a perfect square.
Example 2: Equal Projections
Given and :
When the projections are equal, the altitude equals each projection: the isosceles right triangle case, where the altitude is exactly half the hypotenuse.
Example 3: Decimal Projections
Given and :
Decimals change nothing: is a perfect square, so the altitude is an exact .
Example 4: Unequal Projections
Given and :
The altitude is , not . Averaging gives the arithmetic mean, , but the altitude is the geometric mean, which runs lower for unequal inputs.
Example 5: Non-Perfect Square
Given and :
Here is not a perfect square, so the exact answer is . Use the approximation for practical work, but keep the exact form when the answer feeds further calculations.
Example 6: Different Input Units
Given and . The units differ, so convert first: . Then:
Converting first is the only safe move: feeding and in directly gives , a wrong and unitless number.
How to Check Your Altitude Calculation
Method 1: Geometric Mean Check
Square your altitude and compare it with the product of the projections. The two values must match. For and with : and . Agreement confirms the arithmetic.
Method 2: Hypotenuse and Leg Relationships
Rebuild the whole triangle and cross-check with a second formula. First add the projections: . Then recover the legs with the projection-leg relations: and . Now verify with : , which matches. A side calculator keeps the leg arithmetic tidy while you check.
Method 3: Triangle Area Relationship
The same triangle has two expressions for its area. Using the legs: Area = . Using the hypotenuse and altitude: Area = . Both expressions agree, which independently confirms . The area from altitude tool is built on this same relationship.
Relationship Between Altitude, Hypotenuse, and Triangle Legs
Five formulas tie the six labeled parts together. The table below summarizes what each one finds and what it needs.
The first four formulas need at least one projection. They come from the similar triangles the altitude creates, so they apply only when the altitude is drawn from the right-angle vertex. The fifth formula, , needs no projections at all: it comes from equating the two area expressions, and it works whenever the legs and hypotenuse are known.
This is the practical difference between the two altitude calculators on this site. When you know the projections, the altitude theorem gives directly in one step. When you know the sides instead, finding altitude from the sides uses the area route. Pick whichever tool matches your given data.
One more useful reading of : each leg is the geometric mean of the hypotenuse and its adjacent projection, mirroring how the altitude is the geometric mean of the two projections.
| Formula | Finds | Needs |
|---|---|---|
| The hypotenuse | Both projections | |
| The altitude | Both projections | |
| The leg next to projection | Projection and the hypotenuse | |
| The leg next to projection | Projection and the hypotenuse | |
| The altitude | Both legs and the hypotenuse |
Geometric Mean Theorem and Right Triangle Altitude
The geometric mean of two positive numbers is the square root of their product. For and it is , which is exactly the altitude formula. So saying the altitude is the geometric mean of the projections is just restating the theorem in different words.
The arithmetic mean is the familiar average: . For and , the geometric mean is while the arithmetic mean is . The altitude equals , not , because the similar-triangle proportion forces a multiplicative relationship, not an additive one.
The geometric mean never exceeds the arithmetic mean for positive inputs, with equality only when . That is why the altitude is largest, relative to the hypotenuse, when the projections are equal. A rectangle by and a square by have the same area, , which is the same idea drawn as shapes: the altitude is the side of the square whose area equals the rectangle's.
Special Cases and Important Properties
Equal Projections
When , the altitude equals that common value: . The altitude foot lands at the hypotenuse midpoint, the legs are equal, and the triangle is an isosceles right triangle with 45-degree acute angles, giving the maximum altitude for a fixed hypotenuse.
Very Unequal Projections
When is tiny and is huge, the altitude stays modest: and give , far below the projections' midpoint. The geometric mean weighs the small input more heavily than an average would.
Fixed Hypotenuse
Keep the hypotenuse constant and vary the split. The product , and therefore the altitude, peaks when the split is even. Algebraically, , with equality exactly when . In plain terms, no altitude can exceed half its hypotenuse.
Zero Projections
Setting gives : the altitude foot coincides with vertex A, the triangle collapses into a segment, and no genuine triangle remains. Treat zero projections as degenerate, not valid calculator input.
Negative Projections
A projection is a length, and lengths cannot be negative. A negative input has no geometric meaning and yields no valid altitude; the error lies upstream, in how the segment was measured.
Common Mistakes When Finding Altitude From Projections
- Adding the projections instead of multiplying them. The similar-triangle proportion requires a product: with and , is wrong, while is correct.
- Forgetting the square root. Stopping at leaves an area-like number where a length belongs. Always take the positive square root to finish.
- Confusing projections with triangle legs. The legs lean off the hypotenuse while and lie flat along it; only the hypotenuse segments belong in the altitude theorem.
- Mixing units without converting. With and , convert first (), then compute .
- Entering negative measurements. A negative projection is meaningless and can produce imaginary results. Confirm both and are positive before calculating.
- Carrying forward as in longer solutions. Keep the labels straight: is the squared step, is the altitude.
- Rounding too early. Keep exact forms like as long as possible and round only the final answer.
- Applying the formula to a non-right triangle. The proportion needs the right angle at C; without it, the similarity argument collapses and the formula does not hold.
Practical Applications of the Altitude Theorem
Geometry classes use this theorem constantly. Altitude problems test whether students can spot the projections, pick the right formula, and verify with the Pythagorean theorem, and textbook exercises often hand over the projections as plain numbers on a labeled diagram.
In construction-style geometry problems, the theorem completes a right triangle when only partial measurements are known. Drafting a triangular truss may fix the hypotenuse segments first, with the altitude determining the peak height, and similarity proofs use the same proportion directly.
Surveying and engineering sketches sometimes model a sightline as the altitude of a right triangle, with the projections read off a baseline. Two arbitrary ground distances do not determine a height by themselves; the right-triangle geometry must genuinely hold before the theorem applies.
Architectural drawings of gable ends or folded-plate roofs use the same relations to recover a missing dimension, provided the right angle is really there.
Practice Problems With Answers
Problem 1: Beginner
The projections of a right triangle are and . Find the altitude.
Problem 2: Beginner-Intermediate
A right triangle has projections and . Find the altitude to the hypotenuse.
Problem 3: Intermediate
The altitude foot divides the hypotenuse into segments of and . What is the altitude?
Problem 4: Decimals
A right triangle has projections and . Compute the altitude.
Problem 5: Application
A right-triangle roof truss has a tie beam as its hypotenuse. The altitude foot splits the tie beam into and segments. Find the height of the truss at the altitude.
Practice Problem Answers
1. .
2. .
3. .
4. .
5. .
Frequently Asked Questions
Answers to the most common right-triangle solving questions.
01 What is the formula for altitude from projections?
The formula is , where is the altitude to the hypotenuse and and are the two projections. Both projections must be positive lengths measured in the same unit. Multiply them, then take the positive square root. The result is the altitude in the same unit as the inputs.
02 What are hypotenuse projections?
The projections are the two segments into which the altitude foot divides the hypotenuse. In triangle ABC with the right angle at C and altitude CD, the segment AD is projection and DB is projection . Together they make the full hypotenuse, so . They are flat segments along the hypotenuse, not the triangle's legs.
03 Why is altitude the geometric mean of two projections?
Because the altitude creates two similar triangles. In triangles ACD and CBD, matching sides give the proportion . Cross-multiplying yields , so . Since the geometric mean of two numbers is the square root of their product, the altitude is exactly the geometric mean of and .
04 Can I find altitude without knowing the triangle legs?
Yes. The altitude theorem needs only the two projections, so the legs are unnecessary input. Enter and into the calculator and it returns directly. This is the fastest route when a diagram or problem statement gives the hypotenuse segments. If you know the legs instead, a different formula, , applies.
05 Can the two projections have different lengths?
Yes, and they usually do. The projections are any two positive lengths, equal or unequal, and the formula handles both. With and the altitude is , sitting between the two values. Equal projections are simply the special case that produces an isosceles right triangle.
06 What happens when both projections are equal?
When , the altitude equals that common value, since . The altitude foot lands at the midpoint of the hypotenuse, and the triangle becomes an isosceles right triangle with two equal legs and acute angles. For a fixed hypotenuse, this split also gives the tallest possible altitude.
07 Can the altitude be longer than either projection?
It can exceed the smaller projection. With and , the altitude is , which is longer than . The geometric mean always lies between the two inputs, so the altitude falls between and . It can never exceed the larger projection, and it can never exceed half the hypotenuse.
08 What if the projections use different units?
Convert one of them so both share a unit before calculating. For example, change to when the other projection is , then compute . Mixing units without converting corrupts the product. The calculator assumes matching units, so always standardize first.
09 Can the altitude be greater than half the hypotenuse?
No. For any positive and , the geometric mean never exceeds the arithmetic mean, so . The altitude equals exactly half the hypotenuse only when . Any calculator result larger than half the hypotenuse signals an input or arithmetic error.
10 How do I check my altitude calculation?
Square the altitude and confirm it equals . For a deeper check, rebuild the triangle: , , , then verify . You can also compare the two area expressions, and , which must agree. If all three checks pass, the answer is solid.
11 Is the altitude theorem related to the Pythagorean theorem?
They describe the same right triangle from different angles. The altitude theorem comes from similarity, while the Pythagorean theorem relates the three sides: . They reinforce each other: with and , the legs and satisfy , confirming the triangle the altitude theorem describes.
12 Can I use this formula for a non-right triangle?
No. The proportion depends on the similar triangles created by an altitude dropped from a right-angle vertex. Without that right angle, the similarity argument fails and does not hold. For general triangles, use area-based or trigonometric altitude formulas suited to the given data instead.
One Square Root, Full Understanding
One square root captures the whole idea: the altitude of a right triangle is the geometric mean of the two projections on its hypotenuse. Multiply and , take the positive square root, and keep the units consistent, and the answer is in hand.
Behind that short calculation sits a clean piece of geometry. The altitude creates two similar triangles, similarity gives the proportion, and the proportion gives the formula. When you can see that chain, checking answers, avoiding mistakes, and recognizing projections in new problems all become routine.