Free Online Calculator

Triangle Calculator

Solve any triangle from three known values.

Last updated: Free, no sign-up Private — runs in your browser

Quick answer: solving a triangle

Give three values (including at least one side) and the rest follow. A 3-4-5 triangle has area = 6 and is a right triangle.

Overview of the Triangle Calculator

Enter three known values — three sides (SSS), two sides and the included angle (SAS), two angles and the included side (ASA), two angles and a non-included side (AAS) or two sides and a non-included angle (SSA) — and the calculator finds every side and angle, the area, perimeter, semi-perimeter, inradius, circumradius, heights and the triangle type. In the SSA ambiguous case it shows both solutions.

It uses the law of cosines, the law of sines and Heron's formula. For right triangles see the Right Triangle Calculator and Pythagorean Theorem Calculator; for area formulas the Area Calculator.

How We Calculate

The calculator applies the standard method step by step.

  1. SSS: angles from the law of cosines, cos A = (b² + c² − a²) ÷ 2bc.
  2. SAS: third side c = √(a² + b² − 2ab cos C), then the other angles.
  3. ASA / AAS: third angle = 180° − A − B; sides from the law of sines.
  4. SSA: sin B = b sin A ÷ a — this can give 0, 1 or 2 triangles.
  5. Area by Heron's formula √(s(s − a)(s − b)(s − c)); inradius = area ÷ s; circumradius = abc ÷ 4·area.
law of cosines c² = a² + b² − 2ab cos C   law of sines a ÷ sin A = b ÷ sin B = c ÷ sin C
The solved triangle
MeasureValue
Side a3
Side b4
Side c5
Angle A36.86989765°
Angle B53.13010235°
Angle C90°
Area6
Perimeter12
Semi-perimeter6
Inradius1
Circumradius2.5
Height to side a4
TypeScalene, right
Area of triangles from three sides
SidesArea
3-4-5 (SSS)Area = 6
Equilateral side 2Area = 1.73205081
5-12-13Area = 30
6-8-10Area = 24
7-8-9Area = 26.83281573

Triangle Calculator — Frequently Asked Questions

How do I solve a triangle?

Identify what you know (SSS, SAS, ASA, AAS or SSA), then use the law of cosines or sines to find the rest. This calculator does it for you.

What is the ambiguous case (SSA)?

Two sides and a non-included angle can fit zero, one or two triangles. The calculator shows both when two exist.

How do I find the area from three sides?

Use Heron's formula: area = √(s(s − a)(s − b)(s − c)) where s is half the perimeter.

What is the triangle inequality?

Each side must be shorter than the sum of the other two, otherwise no triangle exists.

How do I know if a triangle is acute, right or obtuse?

Look at the largest angle: under 90° acute, exactly 90° right, over 90° obtuse.

What are the inradius and circumradius?

The radius of the circle that fits inside the triangle touching all sides, and of the circle passing through all three vertices.

How is the triangle calculator calculated?

It uses the standard method: law of cosines c² = a² + b² − 2ab cos C   law of sines a ÷ sin A = b ÷ sin B = c ÷ sin C The full working and a worked example are shown on this page.

How accurate is this calculator?

Decimal results use standard double-precision arithmetic (about 15–16 significant digits). Tools that work with whole numbers — big numbers, factors, bases, combinations — use exact integer arithmetic, so no digits are lost.

Can I use it for homework or exams?

Yes for checking your work and learning the method. The steps and formula are shown so you can understand the answer, but follow your teacher's rules about calculators in exams.

Is my data stored?

No. Everything is calculated in your browser and nothing you enter is uploaded or saved.

More Free Calculators You May Need

Need a custom calculator or tool on your website?

Our team designs and develops fast, SEO-ready websites and web tools. Tell us what you need.

Call Us WhatsApp

Get a Free Quote

Tell us a bit about your project — we'll get back to you shortly.

5 + 1 =
Call WhatsApp