Triangle Calculator

Calculate all sides, angles, area, and perimeter of a triangle from any 3 known values.

By Konstantin Iakovlev · Updated April 2026 · Source: Khan Academy

Known Values

Area

17.32

Perimeter

20.00

Type

Scalene / Acute

Sides

Side a5.0000
Side b7.0000
Side c8.0000

Angles

Angle A38.21°
Angle B60.00°
Angle C81.79°
Sum of Angles180.00°

Properties

By SidesScalene
By AnglesAcute
Area17.3205
Perimeter20.0000

Use the Triangle Calculator above to calculate your results. Enter your values and see instant results — all calculations run in your browser.

Disclaimer: This calculator is for informational purposes only and does not constitute tax, financial, or legal advice. Results are estimates based on the information you provide and current rates. Always consult a qualified tax professional or financial advisor for advice specific to your situation.

How It Works

Give this calculator any three known values—some mix of sides and angles—and it reconstructs the triangle in full, returning every remaining side and angle along with the area and perimeter. That completeness is what makes it practical work: an architect detailing the triangular facades of the 2026 'Green Tower' or a surveyor mapping the irregular plots of a 2026 urban development zone needs exactly that kind of full geometric picture.

Several classical relationships do the heavy lifting. The Law of Sines (a/sin A = b/sin B = c/sin C) and the Law of Cosines (c² = a² + b² - 2ab cos C) handle most side-and-angle combinations, while area comes from Heron's formula when all three sides are known, or from 0.5 * base * height otherwise. The solver works through these step by step, pinning down each unknown from whichever triplet you supply.

Keep your angle units consistent, since the tool reads input as degrees by default. Three angles that fail to sum to 180 degrees describe a triangle that cannot exist, and that input will be rejected. Be aware too that supplying two sides and a non-included angle can yield two valid triangles—the ambiguous case—and the calculator flags when that happens.

Example: Calculating a Solar Panel Array for a 2026 Eco-Home

  1. 1 Input: An eco-home roof design requires a triangular solar panel array with two known sides measuring 7.5 meters and 9.0 meters, and the included angle between them is 70 degrees.
  2. 2 Calculation: Using the Law of Cosines, c² = 7.5² + 9.0² - 2 * 7.5 * 9.0 * cos(70°). Then, apply the Law of Sines to find the remaining angles, and finally, Area = 0.5 * 7.5 * 9.0 * sin(70°).
  3. 3 Intermediate Result: The third side (c) is approximately 9.35 meters. The other two angles are approximately 50.3 degrees and 59.7 degrees.
  4. 4 Final Result: The complete solar panel array has sides of 7.5m, 9.0m, and 9.35m. Its angles are 70°, 50.3°, and 59.7°. The total area available for solar cells is approximately 31.72 square meters, and the perimeter requiring sealing is 25.85 meters.

Source: Khan Academy · Last updated: April 2026

Frequently Asked Questions

How do you find the area of a triangle?
The most common formula is area = 1/2 times base times height. If you know all three sides, use Heron formula: area = square root of s(s-a)(s-b)(s-c), where s is the semi-perimeter.
How do you find the missing angle of a triangle?
The three angles of any triangle always add up to 180 degrees. Subtract the two known angles from 180 to find the third. For example, if two angles are 45 and 60, the third is 180 - 45 - 60 = 75 degrees.
What is the Pythagorean theorem?
In a right triangle, the square of the hypotenuse (longest side) equals the sum of the squares of the other two sides: a squared plus b squared equals c squared. This only works for right triangles.