Right Triangle Similarity Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Enter the two legs of each right triangle, in any order; the calculator checks whether their shapes match.
Result
Similar?
Triangle 1: short leg ÷ long leg
- Triangle 2: short leg ÷ long leg
- Scale factor, triangle 2 ÷ triangle 1
- Triangle 1: hypotenuse
- Triangle 2: hypotenuse
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Triangle 1: leg a: enter 0 or more.
- Triangle 1: leg b: enter 0 or more.
- Triangle 2: leg a: enter 0 or more.
- Triangle 2: leg b: enter 0 or more.
- Read the result: Similar?; the panel also shows Triangle 1: short leg ÷ long leg, Triangle 2: short leg ÷ long leg, Scale factor, triangle 2 ÷ triangle 1, Triangle 1: hypotenuse and Triangle 2: hypotenuse.
How this calculator works
Two right triangles share their right angle, so by SAS similarity they are similar when their legs are in the same ratio: short leg ÷ long leg is the same for both.
If they are similar, every side of triangle 2 is the matching side of triangle 1 times the scale factor k, and the hypotenuses (from the Pythagorean theorem) are in the same ratio.
The formula
| Symbol | Meaning |
|---|---|
| Triangle 1: leg a | |
| Triangle 1: leg b | |
| Triangle 2: leg a | |
| Triangle 2: leg b | |
| Triangle 1: short leg ÷ long leg | |
| Triangle 2: short leg ÷ long leg | |
| Similar? | |
min(a, b, …) | the smallest of the values. |
max(a, b, …) | the largest of the values. |
Worked example
| Triangle 1: leg a | 3 |
|---|---|
| Triangle 1: leg b | 4 |
| Triangle 2: leg a | 6 |
| Triangle 2: leg b | 8 |
| Triangle 1: short leg ÷ long leg | 0.75 |
|---|---|
| Triangle 2: short leg ÷ long leg | 0.75 |
| Scale factor, triangle 2 ÷ triangle 1 | 2 |
| Triangle 1: hypotenuse | 5 |
| Triangle 2: hypotenuse | 10 |
Similar? Yes, the triangles are similar
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
Are 3-4-5 and 6-8-10 right triangles similar?
Yes, with a scale factor of 2.
Are the 3-4 and 5-12 right triangles similar?
No: 3 ÷ 4 = 0.75 but 5 ÷ 12 ≈ 0.4167.