Triangle Calculator

Solve a triangle’s sides, angles, perimeter, and area.

Enter your values

Result

6
Side a
3
Side b
4
Side c
5
Perimeter
12
Angle A
36.8698976458
Angle B
53.1301023542
Angle C
90
Need help with your result? Ask a question about your inputs or calculation. Ask AI
0 / 2000
20 requests per day · resets at 00:00 UTC

When to use Triangle Calculator

Solve a triangle’s sides, angles, perimeter, and area.

Apply the calculation to a diagram, coordinate problem or measurement task with the same geometric assumptions.

How to use this tool

  1. Choose the calculation mode that matches your task and the information you have.
  2. Enter the inputs listed below. Follow the field format, and select units beside each supported quantity.
  3. Results update automatically. Review the main result and its breakdown. Use Clear to enter a new scenario.
  • Side a
  • Side b
  • Side c
  • Included angle C
  • Angle A
  • Angle B
  • Side a opposite A

How it works

Three sides (SSS)
Use Heron’s formula for the area. Use the law of cosines to find each angle.

Worked example

The examples below use fixed sample inputs. They explain the calculation and do not change when you edit the tool above.

Three sides (SSS)

Side a
3 m
Side b
4 m
Side c
5 m
Result
6 m²
Side a
3 m
Side b
4 m
Side c
5 m
Perimeter
12 m
Angle A (°)
36.8698976458 °
Angle B (°)
53.1301023542 °
Angle C (°)
90 °

Two sides and included angle (SAS)

Side a
3 m
Side b
4 m
Included angle C
90 °
Result
6 m²
Side a
3 m
Side b
4 m
Side c
5 m
Perimeter
12 m
Angle A (°)
36.8698976458 °
Angle B (°)
53.1301023542 °
Angle C (°)
90 °

Two angles and one side (ASA or AAS)

Angle A
30 °
Angle B
60 °
Side a opposite A
5 m
Result
21.6506350946 m²
Side a
5 m
Side b
8.66025403784 m
Side c
10 m
Perimeter
23.6602540378 m
Angle A (°)
30 °
Angle B (°)
60 °
Angle C (°)
90 °

Understanding the result and its limits

Choose the correct shape and dimensions. Area uses squared units and volume uses cubed units; neither is a length.

Frequently asked questions

How should I check a geometric answer?

Sketch the shape, label the inputs and check units. A result for an ideal shape may not describe an irregular real object.

Methodology and references

Use the formulas and assumptions above when interpreting the example. Any practical estimate depends on the accuracy of the inputs.