Academics · Study Skills · Geometry

Three sides in,
everything else out.

Type the lengths of the three sides. The page checks that they can form a triangle, then works out every angle with the law of cosines, the area with Heron's formula and the perimeter, and tells you if the triangle is acute, right or obtuse.

The triangle solver

The worked example is a triangle with sides 7, 8 and 9. Nothing you type leaves this browser.

Loading the calculator. If nothing appears, turn on JavaScript.

What you get

Academics · Study SkillsOpen to everyone · no sign-in

What you finish with
The three angles, area and perimeter of a triangle from its sides, whether it is acute, right or obtuse, whether the sides can close at all and a table for other values of side a.
Who it is for
Middle school and high school students in geometry and trigonometry, and parents helping with triangle homework.
Format
Browser calculator for a phone, tablet or computer, by touch or keyboard. Prints a summary; downloads a spreadsheet (.csv); export and import a file.
Access
Open to everyone with the link: no account, no sign-in, nothing to buy and nothing to install. Everything you type stays in this browser; nothing is sent to Caveat.
Where it lives
The Study Skills space in Caveat Academics.
Support
Questions, a correction or a request: team@caveatacademic.com.

How to use it

  1. Name the triangle.
  2. Type side a.
  3. Type side b and side c.
  4. Read the angles, the area and the perimeter.
  5. Change side a in the table to watch the triangle change shape.

Solve the triangle

How the figures are worked out

The law of cosines for each angle and Heron's formula for the area.

The worked example: sides 7, 8 and 9Angle A48.2°96 ÷ 144 cosineAngle B58.4°66 ÷ 126 cosineAngle C73.4°180 − A − BArea26.83Heron, s = 12The worked example: sides 7, 8 and 9Angle A48.2°96 ÷ 144 cosineAngle B58.4°66 ÷ 126 cosineAngle C73.4°180 − A − BArea26.83Heron, s = 12
Each angle comes from its opposite side by the law of cosines; the semi-perimeter then gives the area.

Can these sides make a triangle?

The triangle inequality says each side must be shorter than the other two together. Sides 2, 3 and 10 cannot reach each other, however you swing them.

Two formulas, no height

Heron's formula finds the area from the sides alone, without measuring a height. The law of cosines is the Pythagorean theorem with a correction term for the angle, so it works for every triangle, not only right ones.

Sources

  1. Common Core State Standards for Mathematics, G-SRT.D.10 and G-SRT.D.11: law of sines and cosines. corestandards.org.
  2. OpenStax. Algebra and Trigonometry, section 10.2: non-right triangles, the law of cosines. openstax.org.
  3. Wolfram MathWorld. Heron's formula and Law of cosines. mathworld.wolfram.com.
  4. Khan Academy. Triangle inequality theorem. khanacademy.org.

Arithmetic from your own entries. The worked example is made up. Your entries stay in this browser. Support: team@caveatacademic.com.

Written with AI, then checked before it is published. How we checkFound a mistake? Report it and we fix it, or refund you.Cancel anytime.