Skip to content
FiftyCalc Free calculators for all 50 states

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

Sample figures

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.

Right Triangle Similarity Calculator

Triangle 1: leg a: enter 0 or more. Prefilled example: 3.

Triangle 1: leg b: enter 0 or more. Prefilled example: 4.

Triangle 2: leg a: enter 0 or more. Prefilled example: 6.

Triangle 2: leg b: enter 0 or more. Prefilled example: 8.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Triangle 1: leg a: enter 0 or more.
  2. Triangle 1: leg b: enter 0 or more.
  3. Triangle 2: leg a: enter 0 or more.
  4. Triangle 2: leg b: enter 0 or more.
  5. 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

  1. R1=min⁡(a1,b1)max⁡(a1,b1)
  2. R2=min⁡(a2,b2)max⁡(a2,b2)
  3. Sim={1if |R1−R2|≤0.0000000010otherwise
Symbols used in the formula
SymbolMeaning
a1Triangle 1: leg a
b1Triangle 1: leg b
a2Triangle 2: leg a
b2Triangle 2: leg b
R1Triangle 1: short leg ÷ long leg
R2Triangle 2: short leg ÷ long leg
SimSimilar?
min(a, b, …)the smallest of the values.
max(a, b, …)the largest of the values.

Worked example

Triangle 1: leg a3
Triangle 1: leg b4
Triangle 2: leg a6
Triangle 2: leg b8
Triangle 1: short leg ÷ long leg0.75
Triangle 2: short leg ÷ long leg0.75
Scale factor, triangle 2 ÷ triangle 12
Triangle 1: hypotenuse5
Triangle 2: hypotenuse10
  1. R1=min⁡(3,4)max⁡(3,4)=0.75
  2. R2=min⁡(6,8)max⁡(6,8)=0.75
  3. Sim=1

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.

Questions answered

Related calculators