Triangle

Use this calculator

A triangle is a closed plane figure with three straight sides and three interior angles totaling 180°. Its side lengths determine whether it is equilateral, isosceles or scalene; its angles classify it as acute, right or obtuse. Area measures the enclosed region, while perimeter measures the three edges.

Triangular area and side geometry

A = \frac{1}{2}bh
s = \frac{a + b + c}{2},\quad\quad A = \sqrt{s(s - a)(s - b)(s - c)}

A = area (square units); b = chosen base, h = perpendicular altitude (length units); a, b and c = side lengths; s = semiperimeter. The second expression is Heron’s formula for a valid SSS triangle. The app also applies the laws of sines and cosines to its solving modes.

Understanding the given information. SSS supplies three sides; SAS supplies two sides and their included angle; ASA / AAS supplies one side opposite angle A plus angles A and B; Base + height supplies two perpendicular measurements solely for area. Choose the mode corresponding to what is known, rather than treating any three numbers as interchangeable.

Select the triangle data you know

SSS: Side a, Side b, Side c.

SAS: Side a, Side b, Included angle C.

ASA / AAS: Side a (opposite angle A), Angle A, Angle B.

Base + height: Base, Height.

Select SSS, SAS, ASA / AAS, or Base + height. Enter the labels visible in that mode, using one consistent length unit and degrees for angles. For SSS, 3, 4, 5 gives area 6 square units; SAS uses the angle C between the two entered sides. Calculate after checking the labels and positive dimensions.

Reading a solved triangle

SSS/SAS/ASA return Area first, plus side lengths, all three angles, perimeter, semiperimeter, inradius, circumradius, altitude to side a and classification. Base + height returns area with the entered measurements only. The three-side inequality and non-degenerate geometry are checked; angle inputs must form a valid triangle.

Why a triangle needs a perpendicular height

An inclined side is not the altitude unless it meets the base at 90°. If a 6-unit base has a 4-unit perpendicular height, its area is 12 square units.

Base and perpendicular altitude of an example triangle; the dashed altitude meets the base at a right angle.

An inclined side is not the altitude unless it meets the base at 90°. If a 6-unit base has a 4-unit perpendicular height, its area is 12 square units.

Comparing equal-area triangles

Two triangles may have different side shapes yet equal base × perpendicular height. For estimation of sheet material, area is the relevant quantity; border length requires perimeter.

Two triangles with different outlines each enclose 3 square units: base and perpendicular altitude trade off.

Two triangles may have different side shapes yet equal base × perpendicular height. For estimation of sheet material, area is the relevant quantity; border length requires perimeter.

When circumradius and inradius differ

The inradius belongs to the circle touching all three sides internally; the circumradius belongs to the circle through all vertices. For a 3–4–5 right triangle they are 1 and 2.5 units respectively.

The heatmap compares base and perpendicular altitude combinations and reports area in square units.

The inradius belongs to the circle touching all three sides internally; the circumradius belongs to the circle through all vertices. For a 3–4–5 right triangle they are 1 and 2.5 units respectively.

Triangle classification: use the right test

For measured sides with c the longest, compare a² + b² with c². Equality identifies a right triangle; greater identifies an acute triangle; smaller identifies an obtuse triangle. This comparison is an educational classification test, separate from choosing the input mode.

Quick answers

Can I solve with one side and two angles?

Yes. ASA / AAS accepts side a opposite angle A and two angles; the third angle is found from 180°.

What if my three sides cannot form a triangle?

The triangle inequality validation returns an error for a degenerate or impossible set.

Does Base + height report all three angles?

That mode calculates area only because those two measurements do not determine a unique triangle.