Calculators

Triangle Calculator

Solve a triangle from its three sides: area by Heron's formula, perimeter and all three angles.

Area—
Perimeter
—
Angle A
—
Angle B
—
Angle C
—
Type
—

What is the Triangle Calculator?

Solve a triangle from its three sides: area by Heron's formula, perimeter and all three angles.

Enter side a, side b and side c and the Triangle Calculator returns area, perimeter, angle A, angle B, angle C and type. Results update as you type, and nothing you enter leaves your device.

How it is calculated

Heron: Area = √(s(s − a)(s − b)(s − c)), s = (a + b + c) ÷ 2
Law of cosines: cos A = (b² + c² − a²) ÷ 2bc

How to use it

  1. Enter side a.
  2. Enter side b.
  3. Enter side c.
  4. Read area in the results panel. It updates as you type.
  5. Change any value to compare scenarios, or use Share to send the result as a link.

Common questions

What formula does the Triangle Calculator use?

It uses: Heron: Area = √(s(s − a)(s − b)(s − c)), s = (a + b + c) ÷ 2; Law of cosines: cos A = (b² + c² − a²) ÷ 2bc.

What do I need to use the Triangle Calculator?

You need side a, side b and side c. Sensible starting values are filled in so you can see how it works straight away.

Is the Triangle Calculator free, and is my data stored?

It is free with no sign-up. The calculation runs in your browser, so the values you enter are not sent to or stored on our server.

Your calculations