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.
Inputs
Similarity Result
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
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