Home · Math · Trigonometry · Triangle Calculator

Triangle Calculator

Solve any triangle from the sides and angles you know, with the area as the headline result.

Your figures

Example result — edit the figures to make it yours

6

Area

Side a3.00
Side b4.00
Side c5.00
Angle A36.87°
Angle B53.13°
Angle C90.00°
Perimeter12.00

What this calculator does

Solve any triangle from the sides and angles you know, with the area as the headline result. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

Law of cosines, law of sines, A + B + C = 180°; area by Heron or ½ab·sin C

Pick the mode that matches what you know: SSS (three sides), SAS (sides a and b with the included angle C), ASA (angles A and B with the included side c), AAS (angles A and B with side a), or a right triangle with legs a and b and C = 90 degrees. Unused inputs are ignored.

The solver applies the law of cosines, the law of sines and the angle sum (A + B + C = 180 degrees) to find every remaining side and angle, plus the perimeter and the area. Angles are in degrees. The headline result is the area.

Inputs that cannot form a triangle (for example sides that violate the triangle inequality) have no valid solution.

Worked example

With the example inputs this page opens with (side a 3, side b 4, side c 5, angle a (degrees) 0), the result is 6.00 — area. Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying side a
Side aArea
1.52.48
2.44.73
36.00
3.757.39
4.58.55
69.92

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Triangle Calculator work?

Solve any triangle from the sides and angles you know, with the area as the headline result. Known sides / angles (mode-dependent) → Area, all sides, all angles, perimeter. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Triangle Calculator need?

Known sides / angles (mode-dependent) → Area, all sides, all angles, perimeter. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Triangle Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.