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
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 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 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 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 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 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?
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.