Triangle Calculator
Calculate all sides, angles, area, and perimeter of a triangle from three sides, two sides and the angle between them, or two angles and the side between them.
By Konstantin Iakovlev · Updated September 2026 · Source: Khan Academy
Area
17.32
Perimeter
20.00
Type
Scalene / Acute
Sides
| Side a | 5.0000 |
| Side b | 7.0000 |
| Side c | 8.0000 |
Angles
| Angle A | 38.21° |
| Angle B | 60.00° |
| Angle C | 81.79° |
| Sum of Angles | 180.00° |
Properties
| By Sides | Scalene |
| By Angles | Acute |
| Area | 17.3205 |
| Perimeter | 20.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. Results are estimates based on the information you provide and the assumptions described on this page.
How It Works
Give this calculator three known values—all three sides, two sides and the angle between them, or two angles and the side between them—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 a triangular facade panel or a surveyor mapping an irregular plot 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, and the area always comes from Heron's formula, √(s(s − a)(s − b)(s − c)) with s the semi-perimeter, once all three sides are known. The solver works through these step by step, pinning down each unknown from whichever triplet you supply.
Enter angles in degrees; there is no radians option. Three angles alone cannot fix a triangle's size, so the calculator asks for at least one side, and two angles that add up to 180 degrees or more give no result. Two sides and an angle that is not between them (SSA) is not one of the input modes, because that combination can fit two different triangles—the ambiguous case—so solve it with the Law of Sines and check both possibilities.
Example: A Triangular Solar Panel Array
- 1 Input: a roof design calls for a triangular solar array with sides of 7.5 m and 9.0 m and a 70° angle between them. Choose 2 Sides + Angle and enter Side a = 7.5, Side b = 9 and Angle C = 70.
- 2 Law of Cosines: c² = 7.5² + 9.0² − 2 × 7.5 × 9.0 × cos 70° = 56.25 + 81 − 135 × 0.342020 = 91.0773, so c = 9.5434 m.
- 3 Angles: A = arccos((9.0² + c² − 7.5²) / (2 × 9.0 × c)) = 47.60°, and B = 180° − 70° − 47.60° = 62.40°.
- 4 Area (Heron's formula, which here equals 0.5 × 7.5 × 9.0 × sin 70°) = 31.71 m², and the perimeter, the edge to be sealed, is 7.5 + 9.0 + 9.5434 = 26.04 m. The calculator classes the triangle as Scalene / Acute.
Source: Khan Academy · Last updated: September 2026
Frequently Asked Questions
How do you find the area of a triangle?
How do you find the missing angle of a triangle?
What is the Pythagorean theorem?
You might also need
Percentage Calculator
Calculate percentages three ways: what is X% of Y, X is what % of Y, and percentage change from X to Y.
Fraction Calculator
Add, subtract, multiply, and divide fractions. Results shown as fraction, mixed number, and decimal.
Standard Deviation Calculator
Calculate mean, variance, and standard deviation (population and sample) from a data set.