Audited 29 Jul 2026·Last updated 28 Oct 2026·5 citations·Tier 2·0 uses

Similar Triangles Calculator

Scale a triangle from one known side of its similar partner, or test six side lengths for similarity, with the scale factor, missing sides and area ratio.

Similar Triangles Calculator

What do you want to do?
The first side of the original triangle. Whichever side you put here must correspond to the side you put in a₂ — the calculator pairs them up in the order you type them, not by size.
units
The second side of the original triangle, corresponding to b₂.
units
The third side of the original triangle, corresponding to c₂. All three must satisfy the triangle inequality — each side shorter than the other two added together.
units
The side of the second triangle that corresponds to a₁. This is the one measurement scale mode needs — the scale factor is a₂ ÷ a₁.
units
Only read in check mode. In scale mode this field is ignored and b₂ is computed as the scale factor times b₁.
units
Only read in check mode. In scale mode this field is ignored and c₂ is computed as the scale factor times c₁.
units
Scale factor (k)
2.5
The ratio a₂ ÷ a₁ that multiplies every length of triangle 1; in Check mode it reflects the first pair only.
Triangle 2 — side b₂
10units
Triangle 2 — side c₂
12.5units
Perimeter ratio (P₂ ÷ P₁)
2.5
Area ratio (A₂ ÷ A₁)
6.25
Area of triangle 1
6sq units
Area of triangle 2
37.5sq units
Verdict
Similar — the three side ratios are identical. Scale factor k = 2.5, so the perimeter is 2.5× and the area is 6.25×.

Background.

A fence post 1.8 m tall throws a shadow 2.4 m long. At the same moment, a tree nearby throws one 16 m long. Sunlight reaches both at the same angle, so the post, its shadow and the line of the sun's ray form a triangle with exactly the same angles as the tree, its shadow and its ray. The larger triangle is the smaller one scaled up by 16 ÷ 2.4, about 6.6667, and the tree is 1.8 × 6.6667 = 12 m tall. Nobody had to climb it.

That is the whole idea of similar triangles: the same shape at a different size. Euclid proved in Book VI of the Elements that two descriptions of it are equivalent. Triangles with equal angles have proportional sides (Proposition 4), and triangles with proportional sides have equal angles (Proposition 5). The second result means six lengths are enough to settle whether two triangles match, without an angle ever being measured.

Two jobs are handled here: scaling a triangle from one known side of its partner, and checking six measured sides to see whether two shapes really match.

The area is where intuition fails. Every length scales by the factor k, but area scales by k²: the tree's triangle has 44.4444 times the area of the post's, not 6.6667 times.

What is similar triangles calculator?

Two triangles are similar when one is a scaled copy of the other, possibly rotated or reflected. Their corresponding angles are equal and their corresponding sides share one ratio, the scale factor k. A k above 1 is an enlargement, below 1 a reduction, and exactly 1 means the triangles are congruent, identical in size as well as shape. Every length tied to the triangle, from altitudes and medians to the radii of its inscribed and circumscribed circles, scales by the same k.

How to use this calculator.

  1. Choose Scale if you know all three sides of one triangle and one side of the other, or Check if you have all six lengths and want to know whether the shapes match.
  2. Enter triangle 1's sides in a₁, b₁ and c₁ in any unit, keeping all six lengths in the same unit. Each side must be strictly shorter than the other two added together, or the triangle cannot exist.
  3. Enter in a₂ the side of triangle 2 that matches a₁: the one opposite the same angle, which is not necessarily the shortest side.
  4. In Check mode, enter b₂ and c₂ matched to b₁ and c₁ in the same way. In Scale mode those two boxes are ignored and calculated for you.
  5. Read the scale factor, then the area ratio beside it, which is the scale factor squared when the triangles are similar.

The formula.

k = a₂ ⁄ a₁ , b₂ = k·b₁ , c₂ = k·c₁ , P₂ ⁄ P₁ = k , A₂ ⁄ A₁ = k²

Scale mode reads the scale factor from the one known pair, k = a₂ ÷ a₁, and applies it to the other two sides: b₂ = k·b₁ and c₂ = k·c₁. The perimeter follows directly: P₂ = k·a₁ + k·b₁ + k·c₁ = k·P₁, so P₂ ÷ P₁ = k.

Both areas come from Heron's formula, A = √(s(s−a)(s−b)(s−c)), where s = (a + b + c) ÷ 2 is the semiperimeter. Multiplying every side by k multiplies s by k too, so each of the four factors under the root gains a factor of k, the product gains k⁴, and its square root gains k². That is why A₂ ÷ A₁ = k², the result Euclid gives as Book VI, Proposition 19, where similar triangles stand in the "duplicate ratio" of their sides. Because each area is calculated from its own side lengths, the k² relationship appears as a checkable result rather than being assumed.

Check mode forms the three ratios a₂/a₁, b₂/b₁ and c₂/c₁ and measures their relative spread, (largest − smallest) ÷ smallest. A spread of 10⁻⁹ or less counts as identical. Up to 0.005, half a percent, the triangles are reported as similar within measurement tolerance; anything wider is reported as not similar. The half-percent line is a practical convention chosen for measured lengths, not a mathematical standard.

A worked example.

Example

Triangle 1 is the 3-4-5 right triangle, and the side of triangle 2 matching the 3 is 7.5. The scale factor is k = 7.5 ÷ 3 = 2.5. The other two sides follow: b₂ = 4 × 2.5 = 10 and c₂ = 5 × 2.5 = 12.5. The perimeters are 3 + 4 + 5 = 12 and 7.5 + 10 + 12.5 = 30, a ratio of 30 ÷ 12 = 2.5, the scale factor again. For the areas, Heron's formula uses s = 6 for the small triangle, giving √(6 × 3 × 2 × 1) = √36 = 6, and s = 15 for the large one, giving √(15 × 7.5 × 5 × 2.5) = √1406.25 = 37.5. The area ratio is 37.5 ÷ 6 = 6.25, which is 2.5². In practical terms, a triangular garden bed built at 2.5 times the size of its sketch needs 2.5 times as much edging but 6.25 times as much mulch.

modescale
side A13
side B210
side B14
side C212.5
side C15
side A27.5

Frequently asked questions.

How do I find a tree's height from its shadow?
Measure a vertical post and its shadow at the same time as the tree's shadow. A 1.8 m post with a 2.4 m shadow forms a right triangle whose third side is √(2.4² + 1.8²) = 3 m. Enter 2.4, 1.8 and 3 as triangle 1 and the tree's 16 m shadow as a₂: k = 6.6667, and b₂ gives the height, 12 m.
Why is the area ratio the square of the scale factor?
Area multiplies two lengths, and each of them has grown by k, so the area grows by k × k. Halving every side of the 3-4-5 triangle (k = 0.5) gives sides 1.5, 2 and 2.5 and an area of 1.5, a quarter of the original 6. The same reasoning gives k³ for the volumes of similar solids.
The verdict says not similar, but I am sure the shapes match. What went wrong?
Usually the order of the sides. The calculation pairs a₁ with a₂, b₁ with b₂ and c₁ with c₂ exactly as typed. Entering 7.5, 10, 12.5 backwards as 12.5, 10, 7.5 gives ratios spanning 178% and a verdict of not similar, yet the perimeter ratio still reads 2.5 and the area ratio 6.25. When the area ratio is the square of the perimeter ratio but the verdict disagrees, reorder the second triangle.
What does "similar to within 0.5%" mean?
That the three ratios differ slightly, by no more than measurement error would explain. Measuring c₂ as 12.55 instead of 12.5 gives ratios of 2.5, 2.5 and 2.51, a 0.4% spread, reported as similar within tolerance. At 13 the spread is 4% and the verdict is not similar. Whether half a percent suits your measurements is your call.
Which similarity test is used: AA, SSS or SAS?
SSS, side-side-side: all three pairs of sides in the same ratio. AA needs two equal angles, the third following from the 180° angle sum, and SAS needs two side ratios plus the angle between them. Side lengths are what tape measures and drawings usually supply, and Euclid's Proposition 5 guarantees that proportional sides bring equal angles with them.
Which way round does the scale factor go?
From triangle 1 to triangle 2: k = a₂ ÷ a₁. If triangle 2 is the smaller one, k is below 1; entering 1.5 against the 3 of a 3-4-5 triangle gives k = 0.5 and sides of 2 and 2.5. To scale back from triangle 2 to triangle 1, use the reciprocal, 1 ÷ k, which here is 2.

References& sources.

  1. [1]Euclid, Elements, Book VI, Proposition 4 — 'In equiangular triangles the sides about the equal angles are proportional where the corresponding sides are opposite the equal angles.' David E. Joyce web edition of the Heath translation, Clark University; statement confirmed verbatim on retrieval 2026-07-29. Open access.
  2. [2]Euclid, Elements, Book VI, Proposition 5 — the converse: 'If two triangles have their sides proportional, then the triangles are equiangular with the equal angles opposite the corresponding sides.' This is what licenses an SSS-only similarity test. Joyce web edition; statement confirmed verbatim on retrieval 2026-07-29. Open access.
  3. [3]Euclid, Elements, Book VI, Proposition 19 — 'Similar triangles are to one another in the duplicate ratio of the corresponding sides.' The independent authority used to check this page's area-ratio output: for k = 2.5 it requires A₂/A₁ = 6.25, and Heron's formula applied to the two triangles independently gives 37.5/6 = 6.25 — agreement. Joyce web edition; statement confirmed verbatim on retrieval 2026-07-29. Open access.
  4. [4]Wolfram Research, MathWorld — 'Similar Triangles' (live revision retrieved 2026-07-30). Defines similar triangles as triangles whose triples of vertex angles are the same — the angle form of the definition. The entry is brief and does not itself enumerate the AA, SSS and SAS test forms; those are standard textbook restatements of Euclid's Book VI, Propositions 4 and 5, cited above. Open access.
  5. [5]Wolfram Research, MathWorld — 'Heron's Formula' (live revision retrieved 2026-07-29). A = √(s(s−a)(s−b)(s−c)) with s = (a+b+c)/2, the formula this page uses to compute both triangle areas from side lengths alone. Open access.

How this page was produced

Published by
Quanta Calculator
Primary sources
5 cited below
Method
k = a₂ ⁄ a₁ , b₂ = k·b₁ , c₂ = k·c₁ , P₂ ⁄ P₁ = k , A₂ ⁄ A₁ = k²
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon