Search the complete library

Find a useful next step.

Start typing to search the complete UtilHub library.

Learning & education · Free online tool

Triangle calculator

Solve any triangle from three known sides or angles with the sine and cosine rules, including its area and perimeter.

No sign-upNo run limitPrivate inputsMobile-friendly

Triangle calculator workspace

Runs locally in your browser

Enter any three values, including at least one side, and leave the other three blank. Side a is opposite angle A.

Result

Sides—
Angles—
Area—
Perimeter—
Type—
Method—
Second possible triangle—

Use it with confidence

How to use the triangle calculator.

01

Add the requested inputs

Use the labelled fields in the workspace above. If example values are provided, try them first or replace them with your own.

02

Calculate and review

Use the main action when needed. Three sides use the cosine rule, a² = b² + c² − 2bc cos A. Two angles and a side, or two sides and a non-included angle, use the sine rule, a ÷ sin A = b ÷ sin B. Area = ½ab sin C.

03

Try a worked example

Sides of 5, 6 and 7 give angles of 44.42°, 57.12° and 78.46° and an area of about 14.7. With sides of 6 and 8 and a 30° angle opposite the 6, two different triangles fit.

04

Check the assumptions

Side a is opposite angle A, and so on. With two sides and an angle that is not between them (SSA) there can be two triangles, and both are shown. Angles are in degrees.

Helpful answers

Triangle calculator FAQs.

Is the triangle calculator free?

Yes. Use it as often as you need, with no sign-up and no run limit. Your inputs stay in your browser.

Does UtilHub upload or save my inputs?

No. This tool runs in your browser and UtilHub does not receive or store the values you enter. Your browser or device may still retain normal local history or form data.

How does this triangle calculator work?

Three sides use the cosine rule, a² = b² + c² − 2bc cos A. Two angles and a side, or two sides and a non-included angle, use the sine rule, a ÷ sin A = b ÷ sin B. Area = ½ab sin C.

What should I check before using the result?

Side a is opposite angle A, and so on. With two sides and an angle that is not between them (SSA) there can be two triangles, and both are shown. Angles are in degrees.

Coming up