Triangle Solver & Calculator
Solve triangles using the Law of Cosines and calculate comprehensive triangle properties
Quick answer
Triangle Solver & Calculator
The Law of Cosines relates the sides and angles of any triangle. Given two sides and the included angle, you can find the third side. Heron's formula calculates the area using all three sides.
Formula
c² = a² + b² - 2ab·cos(C) | Area = √(s(s-a)(s-b)(s-c)) | s = (a+b+c)/2
📐 Triangle Input
💡 Example Problems
📊 Triangle Solution
Enter two sides and the included angle to solve the triangle
📚 Triangle Properties & Formulas
📐Formula
c² = a² + b² - 2ab·cos(C) | Area = √(s(s-a)(s-b)(s-c)) | s = (a+b+c)/2💡How it works
The Law of Cosines relates the sides and angles of any triangle. Given two sides and the included angle, you can find the third side. Heron's formula calculates the area using all three sides.
ℹ️ What is Triangle Calculator?
A triangle calculator solves triangles by computing unknown sides, angles, area, and perimeter from any combination of known values. It applies the Pythagorean theorem, the Law of Sines, and the Law of Cosines depending on what information is provided.
📐 Formula
✏️ Worked Example
- 1Find side c using Law of Cosines: c² = 5² + 7² − 2(5)(7)cos(60°)
- 2c² = 25 + 49 − 70 × 0.5 = 74 − 35 = 39
- 3c = √39 ≈ 6.24
- 4Area = ½ × a × b × sin(C) = ½ × 5 × 7 × sin(60°) ≈ ½ × 5 × 7 × 0.866 ≈ 15.16
- 5Perimeter = 5 + 7 + 6.24 = 18.24
💡 How to Interpret Results
- ▸The sum of all interior angles of any triangle always equals 180°.
- ▸The Pythagorean theorem (a²+b²=c²) only applies to right triangles (90° angle).
- ▸The triangle inequality: any side must be less than the sum of the other two sides.
- ▸Equilateral triangle: all sides equal, all angles 60°, has maximum area for a given perimeter.
- ▸Obtuse triangle: one angle > 90°. Acute triangle: all angles < 90°. Right triangle: one angle = 90°.
❓ Frequently Asked Questions
Related tools for Math practice
Continue the calculation
📚 Related Articles & Tips
The Quadratic Formula: Why It Works and When to Use It
Understand the mathematical foundation behind the quadratic formula and master its real-world applications.
How Much Tax Comes Out of Your Paycheck in 2026?
Federal tax, 7.65% FICA and your state — what actually comes out of each paycheck, with real 2026 examples.
2026 Federal Tax Brackets and Standard Deduction, Explained
All seven 2026 brackets, the $16,100 standard deduction, and why your top bracket isn’t your tax rate.
States With No Income Tax in 2026 (and What You Really Save)
Nine states don’t tax wages. Here’s how much more a $75,000 earner keeps — and the catch.