Triangle Calculator
Calculate triangle properties
All angles
Area and perimeter
Triangle type identification
You know two sides of a triangle and the angle between themâwhat's the area? You have three sidesâwhat are the angles? The surveyor measured two angles and one sideâwhat are the other measurements?
Triangle calculations go beyond the Pythagorean theorem. This calculator handles any triangleâright, acute, or obtuseâusing trigonometry to find sides, angles, and area.
What is Triangle Calculation?
Triangle calculations use trigonometric relationships to find unknown sides, angles, and area from known values. Different formulas apply depending on what information you have: SSS, SAS, ASA, or AAS.
Key formulas:
Law of Sines:
a/sin(A) = b/sin(B) = c/sin(C)
Law of Cosines:
c² = a² + b² - 2ab¡cos(C)
Area formulas:
A = ½ à base à height
A = ½ à a à b à sin(C) (SAS)
A = â[s(s-a)(s-b)(s-c)] (Heron's, where s = (a+b+c)/2)
Triangle angles always sum to 180°. If you know two angles, the third is: 180° - angle1 - angle2.
Why People Actually Need This Tool
The Pythagorean theorem only works for right triangles. Real-world triangles are often obliqueâthese need the law of sines and cosines.
-
Surveying â Calculate distances and areas from angle measurements.
-
Navigation â Triangulation to determine position.
-
Construction â Calculate roof angles and truss dimensions.
-
Engineering â Analyze force triangles and structural geometry.
-
Land measurement â Calculate irregular plot areas.
-
Astronomy â Determine distances using parallax triangles.
-
Woodworking â Calculate miter angles for non-90° joints.
How to Use the Triangle Calculator
-
Select what you know â SSS, SAS, ASA, or AAS.
-
Enter known values â Sides and/or angles.
-
View results â All sides, angles, area, and perimeter.
| Given | What You Know | Method Used |
|---|---|---|
| SSS | Three sides | Law of cosines for angles |
| SAS | Two sides and included angle | Law of cosines for side |
| ASA | Two angles and included side | Law of sines |
| AAS | Two angles and non-included side | Law of sines |
| SSA | Two sides and non-included angle | Ambiguous case |
Given two sides and an angle not between them, there might be two valid triangles. This is the "ambiguous case."
Real-World Use Cases
1. The Roof Truss
Context: Roof span 30 feet, ridge 8 feet above attic floor.
Problem: What's the rafter length and roof angle?
Solution: Half span = 15 ft. Rafter = â(15² + 8²) = 17 ft. Angle = arctan(8/15) = 28.1°.
Outcome: Rafter length and cut angle determined.
2. The Property Survey
Context: Triangular lot with sides 100m, 120m, 80m.
Problem: What's the area?
Solution: s = (100+120+80)/2 = 150. A = â[150Ă50Ă30Ă70] = â15,750,000 = 3969 m².
Outcome: Lot area calculated using Heron's formula.
3. The Navigation Problem
Context: Two landmarks are 5 km apart. Angles to destination: 35° and 65° from each.
Problem: Distance to destination from each landmark?
Solution: Third angle = 180-35-65 = 80°. Use law of sines: distances are 4.35 km and 2.89 km.
Outcome: Position triangulated from known landmarks.
4. The Deck Corner
Context: Deck corner isn't 90°. Measured angle is 110°.
Problem: Need miter cut angles for railing.
Solution: External angle = 180° - 110° = 70°. Each miter = 70°/2 = 35°.
Outcome: Correct miter angles for non-square corner.
5. The Force Analysis
Context: Two forces: 100N at 30°, 150N at 90° from horizontal.
Problem: What's the resultant force?
Solution: Vector triangle with 60° included angle. R² = 100² + 150² - 2Ă100Ă150Ăcos(120°). R = 217.9N.
Outcome: Resultant force calculated for structural design.
6. The Shadow Problem
Context: 6-foot person casts 8-foot shadow. Sun angle?
Problem: Calculate sun elevation angle.
Solution: tan(θ) = 6/8 = 0.75. θ = 36.9°.
Outcome: Solar angle determined for sundial or solar panel.
7. The Irregular Garden
Context: Triangular garden plot. Measured: 2 sides (12m, 15m) and included angle (48°).
Problem: Area of garden?
Solution: A = ½ à 12 à 15 à sin(48°) = 66.9 m².
Outcome: Planting area calculated for irregular shape.
Common Mistakes and How to Avoid Them
Calculators use degrees or radians. 45° â 45 radians. Most practical work uses degreesâverify your calculator mode.
Privacy and Data Handling
This Triangle Calculator operates entirely in your browser.
- No calculations are sent to any server.
- No measurements are stored.
- No account required.
- Works completely offline.
Your calculations stay private.
Conclusion
Triangle calculations extend beyond right angles to solve real-world geometry. Surveying, navigation, construction, and engineering all require working with oblique triangles.
This calculator handles any triangle configurationâenter what you know, get complete information about sides, angles, and area.
Three sides, three angles, infinite applications.