Triangle Calculator

Solve any triangle by entering three known sides or angles. Get all sides, all angles, area, perimeter, height, and a scaled diagram — instantly, right in your browser.

Angle C is the included angle, measured in degrees, between sides a and b.

Works for both ASA (side between the angles) and AAS layouts.

The right angle is assumed between legs a and b; the hypotenuse c is calculated automatically.

Sides
Side a
Side b
Side c
Angles
Angle A
Angle B
Angle C
Measurements
Area
Perimeter
Height (from side a)
Advertisement
Advertisement

How This Triangle Calculator Works

Enter any three pieces of information about a triangle — three sides (SSS), two sides with the angle between them (SAS), two angles with the side between them (ASA), or the two legs of a right triangle — and the calculator solves for everything else using the Law of Cosines and Law of Sines.

Once all three sides and three angles are known, the calculator also reports the area using Heron's formula, the perimeter, and the triangle's height, then classifies the shape by its sides (equilateral, isosceles, or scalene) and by its largest angle (acute, right, or obtuse).

The diagram redraws to scale every time you calculate, so you can visually check that the proportions match the numbers you entered.

Frequently Asked Questions

What can this calculator solve for a triangle?

Given sufficient known values, it finds missing sides, angles, area, and perimeter.

What laws does it use for non-right triangles?

The Law of Sines and Law of Cosines.

How is triangle area calculated in general?

0.5 × base × height, or Heron's formula when only sides are known.

Suggest a Calculator

👋 We noticed you might be using an ad blocker. This site is free thanks to ads — consider allowing them here to support us. Thanks!