Projection Calculator
Right Triangle Leg b From Projection Calculator
This calculator finds leg b when you know hypotenuse c and projection q. It is built for the projection segment on the leg b side of the triangle.
Calculate Right Triangle Leg b From Projection
This calculator finds Leg b using .
Enter inputs to calculate Leg b.
Leg b
Result-
Solution Steps
Formula:
Right Triangle Leg B From Projection Calculator
This calculator finds leg b of a right triangle when you know the full hypotenuse c and the projection q that belongs to leg b. You enter those two lengths, and it returns the actual side length of leg b, not a squared value and not a projection segment. The formula is , where c is the complete hypotenuse and q is the segment of the hypotenuse next to leg b.
For example, if cm and cm, then cm. The product 64 is only an intermediate step. Taking the square root turns it back into a length, and that length is the side you are looking for.
The calculator sits at the top of this page, followed by the formula, a labeled diagram, a proof of the projection theorem, worked examples, and checks you can run on any answer. The guide suits middle school and high school students, teachers, tutors, and parents helping with geometry homework.
Calculate Right Triangle Leg B From Projection
The calculator has two input fields. The first takes the hypotenuse c, the full side opposite the right angle. The second takes the projection q, the segment of the hypotenuse that belongs to leg b. Both lengths must use the same unit, so convert first if one measurement is in centimeters and the other is in meters.
Projection q must be smaller than c. That rule is built into the geometry: q is only part of the hypotenuse, so it can never equal or exceed the whole side. If your q value is larger than c, you have probably entered a leg, the altitude, or the wrong projection.
Click Calculate Leg b to see the result, and use Reset to clear both fields before a new problem. The result is a length in the unit you entered, so a hypotenuse of 10 cm and a projection of 6.4 cm return 8 cm, with no extra conversion step needed.
What Is Leg B in a Right Triangle?
A right triangle has two perpendicular sides, called legs, and one longest side, called the hypotenuse. The two legs meet at the right angle, and the hypotenuse sits opposite that angle. In this guide the triangle is ABC with the right angle at C, leg a is side AC, leg b is side BC, and the hypotenuse c is side AB.
Leg b is one of the two sides that form the right angle, so it is a genuine side of the triangle. It is not a segment drawn inside the triangle, and it is not the projection q. The projection q lies flat along the hypotenuse, while leg b runs from vertex B to the right-angle vertex C. Keeping those two roles apart is the first step in using the formula correctly.
Leg b differs from leg a only by position: leg b touches vertex B, and leg a touches vertex A. Each leg has its own projection, which is why the formula for b uses q while the formula for a uses p, a pairing fixed by the labeling.
In any nondegenerate right triangle, leg b is shorter than the hypotenuse. That gives a quick sense check on every answer: if your calculated leg b comes out longer than c, something went wrong in the inputs or the arithmetic, and the diagram labels are the first place to look.
What Is Projection Q in a Right Triangle?
Draw the altitude from the right-angle vertex C perpendicular to the hypotenuse AB. It meets the hypotenuse at a point called the foot, labeled D. That point splits the hypotenuse into two adjacent segments, and those segments are the projections. Segment AD is projection p, and segment DB is projection q.
Projection q belongs to leg b because it sits next to vertex B, the same vertex where leg b begins. In the small triangle CBD, leg b is the hypotenuse and q is one of its legs, which is the geometric link that makes the projection theorem work. Projection p, by the same reasoning, belongs to leg a, which touches vertex A.
Projections are lengths along the hypotenuse, measured in the same unit as the other sides. They are not perpendicular to anything, and they are not sides of the original triangle. A projection is best pictured as the shadow a leg casts onto the hypotenuse when the altitude drops straight down to it.
Because p and q are the two parts of one straight side, they add up to the whole hypotenuse:
That addition is useful in its own right. If you know c and one projection, you can find the other by subtraction, a step the later section on the other projection works through in full.
Right Triangle Leg B From Projection Formula
The projection theorem states that the square of leg b equals the hypotenuse multiplied by its projection:
Taking the positive square root of both sides gives the working formula for this page:
The calculation runs in two distinct stages. Stage 1 multiplies the hypotenuse by the projection, and the result is a squared length, not a side. Stage 2 takes the positive square root, which converts that squared length back into an ordinary length. Skipping stage 2 is the single most common error with this formula, and the next section explains why the square root cannot be left out.
Units need care at both stages. If c and q are both in centimeters, their product is in square centimeters, and the square root returns centimeters. Mixing units, such as meters for c and centimeters for q, gives a meaningless product, so convert to one unit before multiplying. The positive root is used because a side length is always positive.
A small numerical example shows both stages at work. With cm and cm, stage 1 gives , and stage 2 gives cm. The number 64 answers no question on its own. Only after the square root does it become the leg length.
Why Is There a Square Root in the Formula?
The square root is there because the multiplication produces a squared quantity. The theorem does not say that leg b equals the product of c and q. It says that the square of leg b equals that product. Undoing a square requires a square root, just as undoing a doubling requires halving.
Take and . Their product is 64, which is , the square of the leg. The leg itself is the number that multiplies by itself to give 64, which is 8. Writing would claim a side of 64 units in a triangle whose hypotenuse is only 10, which is plainly impossible.
The table below keeps the three quantities apart, since confusing them causes most mistakes with this formula.
| Quantity | Meaning | Example with c = 10, q = 6.4 |
|---|---|---|
| The leg length itself | 8 | |
| The leg length multiplied by itself | 64 | |
| The product the theorem equates with | 64 | |
| The step that recovers b from | 8 |
How to Use the Right Triangle Leg B Calculator
Ten short steps take you from a labeled diagram to a checked answer.
- Identify the right triangle in your problem and confirm it has a right angle.
- Find the altitude from the right angle and mark where it meets the hypotenuse.
- Identify the full hypotenuse c, the side opposite the right angle.
- Identify projection q, the segment of the hypotenuse next to vertex B, where leg b begins.
- Check that q is smaller than c. If it is not, relabel the diagram before continuing.
- Convert c and q to the same unit if they were given in different units.
- Enter c in the Hypotenuse c field.
- Enter q in the Projection q field. Do not enter p here, since that would return leg a instead.
- Click Calculate Leg b and read the result.
- Use Reset before starting a new problem.
The calculator does not accept p, so a problem giving only p needs one extra subtraction step, covered below. Entering p in the q field still produces a number, but it will be the wrong leg, so the label check in step 4 matters most.
Step-by-Step Example of Finding Leg B
Use cm and cm. The four steps below show the full working, with nothing skipped.
- Write the formula: b = sqrt(cq).
- Substitute the values: b = sqrt(10 x 6.4).
- Multiply inside the root: b = sqrt(64).
- Take the square root: b = 8 cm.
The answer 8 cm is the actual perpendicular side BC, not a projection and not an area. A short verification closes the loop: and , so both sides of the theorem agree.
For reference, the other projection is cm, leg a is cm, and the altitude is cm, confirming the familiar 6-8-10 right triangle.
Right Triangle Leg B From Projection Diagram Explained
The main diagram shows triangle ABC with the right angle at C. Side AC is leg a, side BC is leg b, and side AB is the hypotenuse c. Altitude CD drops from C perpendicular to AB and touches it at D, and the right-angle marker at D confirms that CD is truly perpendicular.
Point D splits the hypotenuse into two parts: segment AD is projection p and segment DB is projection q. Leg b and projection q are highlighted because they are the pair this page is about. Trace the diagram in this order to fix the labels: start at B, run along leg b to C, then along leg a to A, then back along the hypotenuse from A to B, pausing at D to see the split into p and q.
The pairing of b with q becomes visible in the small triangle CBD, where leg b is the hypotenuse and q is the side lying along the big hypotenuse. Because triangle CBD is similar to triangle ABC, the ratio of q to b in the small triangle equals the ratio of b to c in the big one, which the proof section turns into .
Why Does the Projection Theorem Work?
The proof rests on similar triangles. Drawing altitude CD divides triangle ABC into two smaller right triangles, ACD and CBD, and both are similar to the original triangle. Similarity means their corresponding sides stay in the same ratio, and one of those ratios gives the projection theorem directly.
Focus on triangle CBD and the whole triangle ABC. Both contain the angle at B, and both contain a right angle, so their third angles must match as well. Matching the sides that sit in the same positions gives the proportion:
Now substitute the standard symbols: , , and . The proportion becomes:
Cross-multiplying clears the fractions. The left numerator times the right denominator equals the right numerator times the left denominator, so , which is:
Taking the positive square root of both sides finishes the proof, giving . The same argument applied to the other small triangle, ACD, gives . Similarity does all the work: matching sides of similar triangles stay proportional.
Worked Examples of Finding Leg B From Projection
Each example states the given values, the substitution, and the final answer. The commentary stays short so the arithmetic stays visible, and every example keeps its units consistent from start to finish.
Example 1: Basic Whole Numbers
Given cm and cm, the formula gives , so cm. The product 64 is a perfect square, so the answer is exact, with no rounding needed. This is the same triangle as the step-by-step example, and its other leg is 6 cm.
Example 2: Perfect Square Result
Given cm and cm, cm. When the product is a perfect square, the answer is exact. The other projection here is 16 cm, which pairs with a leg of 20 cm, making the classic 15-20-25 triangle.
Example 3: Non-Perfect Square
Given cm and cm, , so cm. The product 60 is not a perfect square, so the answer stays as an approximation rounded to three decimal places. Note that 7.746 cm is shorter than the 12 cm hypotenuse, as it must be.
Example 4: Decimal Measurements
Given cm and cm, , so cm. This matches the value from the leg a guide, where the same product 40 appeared with the roles of p and q swapped, a useful reminder that different inputs can share a product. Keep the full product inside the root until the final rounding step.
Example 5: Larger Triangle
Given cm and cm, cm. Larger numbers change nothing about the method: multiply, then take the root. The other projection here is 18 cm, which pairs with a leg of 30 cm, making the classic 30-40-50 triangle.
Example 6: Equal Projections
Given cm and cm, cm, so cm. Equal projections mean the altitude strikes the midpoint of the hypotenuse, which happens exactly when the two legs are equal. The triangle is therefore an isosceles right triangle, and leg a equals leg b.
Example 7: Different Units
Given m and cm, convert first: 0.5 m equals 50 cm. Then , so cm. Multiplying 0.5 by 20 without converting would have given a root of 10, a wrong answer with no valid unit behind it.
Example 8: Fractional Measurements
Given ft and ft, ft. The product 144 is a perfect square, so the answer is exact. A quick sense check passes: 12 ft is three quarters of the hypotenuse, and the other leg works out to about 10.583 ft, which is shorter than b but still a real side of the same triangle.
How to Find Leg B When the Other Projection Is Known
Some problems give p instead of q. The calculator on this page does not accept p, but that is only a one-step detour, not a dead end. Since the two projections add up to the hypotenuse, subtract to recover q first:
Take cm and cm. Subtracting gives cm. Now the ordinary formula applies: cm. If you had entered 9 directly as q, the calculator would have returned 15 cm, which is leg a, not leg b.
The projection p calculator can help when p itself needs finding, and the projection q calculator covers the reverse step. Either way, the rule stays the same: find q first, then use .
Relationship Between Leg B, Hypotenuse, and Projection Q
One theorem links three quantities, so rearranging it finds whichever one is missing. The three forms are:
The table below shows each rearrangement, what it finds, and what must be known first.
| Missing Quantity | Formula | Known Values Needed |
|---|---|---|
| Leg b | Hypotenuse c and projection q | |
| Hypotenuse c | Leg b and projection q | |
| Projection q | Leg b and hypotenuse c |
Relationship Between Leg B and Leg A
Leg a follows the mirror image of the leg b formula. Where leg b pairs with projection q, leg a pairs with projection p:
Use one consistent triangle to see both legs together: , , and . Then and . The two legs share the same hypotenuse but draw on different projections, which is why identifying p and q correctly decides which leg you get.
The legs also constrain each other through the Pythagorean theorem, covered two sections below: knowing one leg and the hypotenuse determines the other. For problems that start from p rather than q, the leg a from projection calculator runs the same method with the other pairing.
Relationship Between Projection Q and the Pythagorean Theorem
The projection theorem and the Pythagorean theorem agree exactly, and the algebra shows why. Start from the two projection formulas:
Add the matching formula for leg a, , to get:
Factoring out c from the right side gives . Since , substitution yields the familiar result:
A numerical check with the 9-16-25 triangle confirms it: and . The two theorems are not rivals. The projection theorem splits the Pythagorean relationship into one piece per leg, and adding the pieces rebuilds it.
How to Verify the Calculated Leg B
Three independent checks catch almost every error. Run at least one of them on every answer, and run all three when the problem matters.
Method 1: Projection Theorem Check
Square your answer and compare it with the product of c and q. For , , and : and , so the answer passes. If the two numbers differ, either the inputs or the square root step went wrong.
Method 2: Pythagorean Theorem Check
Find leg a from p, then check . With , , and : , , and . This check goes beyond the calculator, since it tests the whole triangle, not just the one formula.
Method 3: Size and Addition Checks
Confirm that q is smaller than c, that when p is known, and that leg b is shorter than the hypotenuse. In the example, 16 is smaller than 25, , and 20 is shorter than 25. Any failure here points to a labeling error, not an arithmetic slip.
Important Properties of Leg B From Projection
Eight properties follow directly from and the geometry behind it. Each one doubles as a sense check on a new answer.
- Leg b is always shorter than the hypotenuse in a nondegenerate right triangle, since q is only part of c.
- Projection q is always smaller than c, and it is always positive. Zero or negative projections describe no real triangle.
- Increasing q while keeping c fixed increases b, because the product inside the root grows.
- Increasing c while keeping q fixed increases b mathematically, provided the new values still describe a real triangle with q smaller than c.
- Swapping p and q changes which leg is calculated: q gives leg b and p gives leg a.
- Equal projections produce equal legs. With c = 20 and p = q = 10, both legs equal 10 times the square root of 2, about 14.142.
- The result is a length, not an area. The squared product is only an intermediate step, and the square root restores ordinary length units.
- Scaling all measurements by the same factor scales leg b by that factor. Doubling c and q doubles b, since the product quadruples and its root doubles.
When the altitude lands exactly at the midpoint of the hypotenuse, the triangle is isosceles, and the two legs must match, as the diagram below shows.
Common Mistakes When Finding Leg B From Projection
Each mistake below is followed by its correction. Most of them trace back to labeling, not arithmetic.
- Forgetting the square root: reporting cq as the answer. With c = 10 and q = 6.4, the answer is 8 cm, not 64.
- Confusing b with b squared: 64 is b squared in that example, while 8 is the leg. Say which one you mean before writing a number down.
- Using projection p instead of q: entering p returns leg a. With c = 25 and p = 9, the result 15 is leg a, not leg b.
- Entering a leg in the hypotenuse field: the hypotenuse is the side opposite the right angle and the longest side. A leg entered as c distorts every later step.
- Confusing the hypotenuse with a projection: c is the whole side, while q is only part of it. Check that q is smaller than c before calculating.
- Using q greater than or equal to c: no such triangle exists, since q is part of c. Recheck the diagram labels if this happens.
- Mixing centimeters and meters: convert first, as in Example 7, where 0.5 m became 50 cm before multiplying by 20 cm.
- Using negative measurements: lengths are positive, so a negative entry signals a data error, not a negative leg.
- Applying the formula to a non-right triangle: the projection theorem needs the altitude from a right angle. Without a right angle, there is no projection q in this sense.
- Rounding too early: rounding the product before taking the root shifts the answer. Keep full precision until the final step.
- Using the wrong side correspondence in the diagram: pairing q with a, or p with b, swaps the legs. Match q to the leg touching vertex B.
- Treating the altitude as a projection: the altitude h is perpendicular to the hypotenuse, not a piece of it, so it never belongs in the q field.
If an answer looks wrong, stop and relabel the diagram before recalculating. Most of the errors above vanish once p and q are clearly marked on the hypotenuse and everything else is set aside.
Practical Applications of the Projection Theorem
The most direct use is geometry homework and classroom work, where projection problems test whether students can label a diagram and apply instead of reaching for the Pythagorean theorem by habit. Similar-triangle exercises use the same setup, since the proof itself is an exercise in matching corresponding sides.
Technical drawing uses the theorem when a right triangle must be reconstructed from partial measurements: if a drawing gives the hypotenuse and the foot of the altitude, the missing leg follows without remeasuring the shape. Teachers also use the setup as a bridge lesson between segment addition and similarity.
One condition limits every application: the required right-triangle geometry must actually exist. The theorem describes exact geometric relationships, not approximate field measurements, so it never replaces careful surveying or professional engineering measurement. Within its proper setting, though, it turns two known lengths into a third with a single multiplication and a square root.
Practice Problems With Answers
Try all six problems on paper before reading the answers. None of the values repeat the worked examples, and the last problem combines several ideas from this guide.
Problem 1: Basic Whole Numbers
A right triangle has hypotenuse cm and projection cm. Find leg b.
Problem 2: Decimal Projection
Given cm and cm, find leg b.
Problem 3: Large Hypotenuse
Given cm and cm, find leg b.
Problem 4: Unit Conversion
A hypotenuse measures m and its projection q measures 24 cm. Find leg b in centimeters.
Problem 5: Find q From p and c First
A right triangle has hypotenuse cm and projection cm. Find leg b.
Problem 6: Multi-Step With Leg a and Pythagoras
Given cm and cm, find leg b, then find leg a and check the result with the Pythagorean theorem.
Practice Problem Answers
Answer 1: cm.
Answer 2: cm.
Answer 3: cm.
Answer 4: Convert 1.5 m to 150 cm, then cm.
Answer 5: First cm, then cm.
Answer 6: cm. The other projection is cm, so cm. Check: .
Frequently Asked Questions
Answers to the most common right-triangle solving questions.
01 What is the formula for finding leg b from projection q?
The formula is , where c is the full hypotenuse and q is the projection belonging to leg b. For example, cm and cm give cm.
02 Why do we multiply c and q?
Multiplication comes from similar triangles. Triangle CBD is similar to triangle ABC, giving , and cross-multiplying gives . The product is the square of the leg, not the leg itself.
03 Why is a square root necessary?
Because the product cq equals b squared, not b. The square root undoes the squaring and returns an ordinary length. Without it, you would report 64 instead of 8 in the c = 10, q = 6.4 example.
04 What does projection q represent?
Projection q is the segment of the hypotenuse next to vertex B, created when the altitude from the right angle meets the hypotenuse. In triangle ABC with altitude CD, , and it lies along the hypotenuse.
05 Is projection q the same as leg b?
No. Leg b is side BC, one of the sides forming the right angle, while projection q is segment DB along the hypotenuse. They are different lengths in different positions, linked only by .
06 Why is q used instead of p?
Because each leg pairs with the projection next to its own vertex. Leg b touches vertex B, and q is the segment next to B. Using p would return leg a instead, since p pairs with the leg touching vertex A.
07 Can I find leg b if only projection p is known?
Yes. Subtract p from the hypotenuse first: . With cm and cm, cm, and then cm.
08 Can projection q be larger than the hypotenuse?
No. Projection q is only part of the hypotenuse, so it must be smaller than c. If q equaled c, p would be zero and the triangle would be degenerate rather than a genuine right triangle.
09 How do I verify the calculated leg?
Square the answer and check that it equals . You can also find leg a from p and check , and confirm that q is smaller than c and leg b is shorter than the hypotenuse.
10 What happens when p and q are equal?
The altitude lands at the midpoint of the hypotenuse, and the two legs are equal, so the triangle is an isosceles right triangle. With cm and cm, both legs equal cm, about 14.142 cm.
11 Can I find leg a using the same theorem?
Yes, with the mirror-image formula . Leg a pairs with projection p, just as leg b pairs with q. The leg a from projection calculator is built for that calculation.
12 Is the projection theorem related to the Pythagorean theorem?
Yes. Adding the two projection formulas gives , since . The projection theorem splits the Pythagorean relationship into one piece per leg.