Guide

Solving triangles: which measurements determine the shape?

A drawing may omit a side, or you may know only a base and two angles. Before applying a formula, match the known quantities to the triangle correctly. A right-triangle example shows how sides, angles and area relate, and why some other input combinations would be ambiguous.

Wooden solids, ruler and a notebook with geometric shapes and a solved equation.
Illustrative image

Quick answer

What the result tells you

Three arbitrary measurements are not always enough. Three sides, two sides with their included angle, or one side with two angles uniquely determine a valid triangle.

What matters

Why the included angle matters

Two sides and an arbitrary third angle can sometimes describe two different triangles. For the general two-side case, this calculator therefore asks for the included angle C between a and b. It does not silently discard a second possible solution. Check the diagram’s lettering before transferring a school or construction drawing.

Recognize known and calculated sides

The drawing preserves side proportions and distinguishes known and calculated quantities. The altitude is perpendicular to base c; its foot can lie beyond the side in an obtuse triangle.

Examples and comparisons

Two perpendicular sides of 3 and 4 cm

See the relationship

Your triangle, drawn in proportion

abcABC

━ Known┄ Calculated┊ Altitude to c

Side a · known
3 cm
Opposite angle A
36.8699°
Side b · known
4 cm
Opposite angle B
53.1301°
Side c · calculated
5 cm
Opposite angle C
90°
Area: ½ × 5 × 2.4 = 6 cm²
Known quantitiesRight triangle: legs a, b
Unit for all sidesCentimeters
Side a3
Side b4
Area6 cm²

Load this example’s inputs in the calculator. Review them, calculate the result, then adapt the values to your own case.

Change one input

A longer leg increases the area

Sensitivity check · only one input changedSide b → Area

Direct comparison

Data points for the two calculated scenarios: Side b and Area
ScenarioSide bArea
Scenario 146 cm²
Scenario 257.5 cm²
Change from scenario 1 to scenario 21.5 cm² · +25% relative

Also verify before making a decisionPlane triangles without correction for measurement error. The ambiguous two-sides-and-a-non-included-angle case is not offered. Degenerate and numerically unresolved triangles are rejected. The drawing is proportional, not a print-to-scale template.

Assess your case

Choose the appropriate approach

When three sides are known

Check the triangle inequality and use the cosine rule to find angles.

When a right angle is known

Assign the longest side to hypotenuse c. Two legs, or one leg together with c, are sufficient.

Checklist

Before using the answer

  • The selected mode matches the known quantities.
  • Every side uses the same unit.
  • Each angle is matched to its opposite side.

Common mistakes

Common mistakes

Using any side as the altitude

Only a segment perpendicular to the chosen base is its altitude.

Misidentifying the longest side

Entering a short leg in the hypotenuse field can make otherwise sensible measurements impossible. Check the position of the right-angle marker before choosing the mode.

Mixing meters and centimeters

Convert every side to the same unit before entering it. The area uses that unit squared.

A longer leg increases the area

Leg a stays at 3 cm and the included angle stays at 90°. With b = 4 cm, the area is 6 cm². Increasing only b to 5 cm raises the area to 7.5 cm². The hypotenuse also becomes longer and must be recalculated.

  • Which sides and angles were given, and which were calculated from them?
  • Why can’t you use just any side as the height in the area formula?
  • How can the proportional drawing help you spot an implausible set of inputs?

Calculator for this guide

Match the sides and angles

Check whether the entered angle lies between the two known sides. The area calculator can then combine several component areas.
Open the matching calculator

How the calculation works

Calculation

Calculation method and model limits

Three suitable measurements determine a triangle. The selected mode specifies exactly which values are known. Each side shares its letter with the opposite angle.

1
Identify the right angle

Match known lengths and angles to the diagram’s labels.

2
Find the longest side

Use the selected combination to find missing sides and angles.

3
Check the area

Derive the area and perimeter from the completed triangle.

With sides of 3, 4 and 5 cm, C = 90°. The area is 6 cm², the perimeter is 12 cm and the altitude to the 5 cm side is 2.4 cm.

Simplified formula

A + B + C = 180°. Cosine rule: c² = a² + b² − 2ab cos(C). Sine rule: a/sin(A) = b/sin(B) = c/sin(C). Area = ab sin(C)/2; altitude to c = 2 × area/c.

Transparency

Scope and assumptions

The calculation itself is country-independent. Language and display choices do not change its mathematical logic.

Calculation
Country-independent calculation
Applies to
International
Currency
No monetary calculation
Units
Units follow an explicit calculation or billing model

Questions about triangle sides and angles

Why do my three sides not form a triangle?

The two shorter sides must add up to more than the longest side. Lengths of 1, 2 and 3 only form a straight line.

Which side is the hypotenuse?

In right-triangle modes, c is the hypotenuse opposite the right angle C. It must be longer than either leg.

Should angles use degrees or radians?

All inputs and results use degrees. Enter 90° for a right angle, not π/2.

Continue calculating

Related tools

Combine your triangle’s area with other shapes, or convert side lengths to the same unit before calculating.

Editorial method

We test the worked example automatically with the same logic used by the calculator. Sources, inputs, rounding and model limits are listed separately. This does not replace case-specific professional advice.