terican

Last verified · v1.0

Calculator · math

Right Triangle Similarity Checker Calculator

Check if two right triangles are similar by comparing leg ratios. Computes scale factor k and confirms similarity via AA, SAS, or direct ratio test.

FreeInstantNo signupOpen source

Inputs

Similarity Result

Explain my result

0/3 free

Get a plain-English breakdown of your result with practical next steps.

Similarity Result

The formula

How the
result is
computed.

Understanding Right Triangle Similarity

Two right triangles are similar when all corresponding angles are equal and all corresponding sides are proportional. Because every right triangle already contains one 90° angle, confirming similarity requires verifying only one additional acute angle — making the Angle-Angle (AA) postulate the most direct test available. This calculator checks similarity by comparing the leg ratios of both triangles and computes the scale factor k that relates their sizes.

The Core Similarity Formula

For right triangles △₁ and △₂ with legs a₁, b₁ and a₂, b₂ respectively, similarity is confirmed when the following conditions hold:

  • Similarity condition: a₁ / b₁ = a₂ / b₂
  • Scale factor: k = a₂ / a₁

The ratio a/b in any right triangle equals the tangent of the acute angle opposite side a. When tan(θ₁) = tan(θ₂), the acute angles are equal. Because the right angles are already shared, the AA postulate is satisfied and the triangles are similar. The scale factor k quantifies how much larger or smaller Triangle 2 is relative to Triangle 1 — a value of k = 3 means every side of Triangle 2 is exactly three times the corresponding side of Triangle 1.

Variables Defined

  • leg_a1 — the opposite leg of Triangle 1 (the side opposite the acute angle of interest)
  • leg_b1 — the adjacent leg of Triangle 1
  • leg_a2 — the opposite leg of Triangle 2
  • leg_b2 — the adjacent leg of Triangle 2
  • k — the scale factor defined as a₂ / a₁; values greater than 1 mean Triangle 2 is larger, values less than 1 mean it is smaller

Worked Numerical Example

Consider Triangle 1 with legs a₁ = 5 and b₁ = 12, and Triangle 2 with legs a₂ = 10 and b₂ = 24.

  • Leg ratio for △₁: 5 / 12 ≈ 0.4167
  • Leg ratio for △₂: 10 / 24 ≈ 0.4167
  • Since 0.4167 = 0.4167, the triangles are similar: △₁ ~ △₂.
  • Scale factor: k = 10 / 5 = 2 (Triangle 2 is exactly twice the linear size of Triangle 1)

As a verification, the hypotenuse of Triangle 1 is √(5² + 12²) = √169 = 13, and for Triangle 2 it is √(10² + 24²) = √676 = 26 = 2 × 13, confirming the scale factor k = 2 holds across all three sides.

Similarity Tests Supported by the Calculator

  • Leg Ratio Test: Directly compares a₁/b₁ to a₂/b₂; equality within tolerance confirms similarity.
  • AA Criterion: Verifies that the acute angles derived from the leg ratios match — guaranteed when ratios are equal because the right angles are always shared.
  • SAS Similarity: Confirms that two pairs of sides are proportional and the included right angle (90°) is common to both triangles.
  • Scale Factor Output (k): Computes k = a₂/a₁ to show the proportional size relationship between the two triangles.

Why the AA Criterion Is Sufficient for Right Triangles

The AA postulate states that two triangles are similar when two pairs of corresponding angles are equal. All right triangles share a 90° angle as one automatic pair. Therefore, confirming a single acute angle — encoded in the leg ratio a/b — satisfies the postulate entirely. This principle is documented by D. Joyce at Clark University (Right Triangles — Clark University) and forms the foundation of the geometry similarity curriculum at Khan Academy (Solving Similar Right Triangles — Khan Academy). The Maricopa College open mathematics textbook further connects this principle to the Pythagorean theorem, demonstrating that proportional legs always produce proportional hypotenuses in similar right triangles (Section G.3 — Maricopa Open Textbook).

Real-World Applications

  • Architecture and construction: Scale blueprints preserve leg ratios identical to the full structure; a 1:100 scale drawing of a staircase uses the same acute angles as the actual staircase.
  • Surveying: Surveyors measure inaccessible distances — such as the width of a river — by constructing similar triangles on one bank using a known baseline and matching angles.
  • Optics and photography: The image triangle and object triangle formed by a camera lens are similar; this relationship determines magnification and focal length calculations.
  • Computer graphics: Proportional scaling algorithms use matching leg ratios to resize objects and textures without angular distortion.

Numerical Precision Note

The calculator applies a comparison tolerance of ±0.0001 when evaluating whether two ratios are equal. This threshold accommodates rounding in real-world measurements without generating false negatives for triangles that are geometrically similar within standard measurement precision.

Reference

Frequently asked questions

What makes two right triangles similar to each other?
Two right triangles are similar when all corresponding angles are equal and all corresponding sides are proportional. Because both triangles already contain a 90° angle, the Angle-Angle (AA) postulate requires only one additional matching acute angle. The leg ratio a/b equals the tangent of that angle, so two right triangles are similar if and only if a₁/b₁ = a₂/b₂. When this condition holds, all three angle pairs match and all three side pairs share the same scale factor k, fully satisfying the definition of similarity.
How do you calculate the scale factor between two similar right triangles?
The scale factor k equals a₂ divided by a₁, where a₁ and a₂ are the corresponding opposite legs of Triangle 1 and Triangle 2 respectively. For example, if Triangle 1 has leg a = 6 and Triangle 2 has leg a = 15, then k = 15/6 = 2.5 — every side of Triangle 2 is 2.5 times the corresponding side of Triangle 1. This ratio applies equally to the adjacent legs and the hypotenuses: b₂/b₁ and hyp₂/hyp₁ will both equal 2.5 when the triangles are truly similar.
Is the Angle-Angle (AA) criterion sufficient to prove right triangle similarity?
Yes, the AA criterion is both necessary and sufficient for right triangle similarity. The AA postulate requires two matching angle pairs. Since every right triangle contains a 90° angle, one pair is always matched automatically. Confirming that the acute angles are equal — which the leg ratio test verifies directly — provides the second pair, completing the proof. No side measurements are needed beyond what the ratio test already compares, making the leg ratio check the most efficient method for confirming right triangle similarity in practice.
What is the difference between similar and congruent right triangles?
Similar right triangles have equal corresponding angles and proportional corresponding sides, but the triangles may differ in size; the scale factor k can be any positive number. Congruent right triangles are the special case where k = 1, meaning every corresponding side is identical in length. Triangles with legs 3-4 and 6-8 are similar (k = 2) but not congruent. Triangles with legs 3-4 and 3-4 are both similar and congruent (k = 1). Congruence always implies similarity, but similarity does not imply congruence unless k equals exactly 1.
Can right triangles be similar when only angle measures are known?
Yes — and this is the simplest case. If two right triangles each contain an acute angle of 37°, both triangles hold angles of 90°, 37°, and 53°. Their full angle sets are identical, so they are similar by the AA criterion regardless of side lengths. In terms of the leg ratio formula, both triangles satisfy a/b = tan(37°) ≈ 0.7536. Entering legs that produce this ratio — for instance 7.536 and 10, or 3.768 and 5 — confirms similarity with a calculated scale factor of k = 0.5 between those two specific examples.
What are practical applications of checking right triangle similarity?
Right triangle similarity underpins a wide range of applied disciplines. Architects confirm that scaled drawings maintain the same leg ratios as the full structure — a roof truss at 1:50 scale must be geometrically similar to the real truss. Surveyors compute inaccessible river widths by forming similar triangles along a known baseline on one bank. Lens designers use the similar image and object triangles to compute magnification ratios directly from leg lengths. In computer graphics, proportional scaling preserves angle values, ensuring resized images or 3D models display without distortion across different output resolutions.