Calculate area, perimeter and angles of any triangle.
Triangles are the fundamental building block of geometry — and solving an unknown triangle is one of the most common tasks in trigonometry, physics, navigation, engineering, and construction. Our Triangle Calculator solves any triangle when you provide at least three pieces of information (sides and/or angles, with at least one being a side).
Whether you need the Pythagorean theorem for a right triangle or the Law of Sines and Cosines for an oblique triangle, this tool handles it automatically — just enter what you know and it calculates the rest.
Enter any combination of three known values (sides a, b, c and angles A, B, C). The calculator detects the configuration (SSS, SAS, ASA, AAS, or SSA) and applies the appropriate theorem or formula to solve for the remaining unknowns. It also computes the area, perimeter, and classifies the triangle by sides and angles.
Law of Cosines (any triangle):
Law of Sines:
a/sin(A) = b/sin(B) = c/sin(C)
Area (Heron's formula):
Construction scenario: A roof forms a triangle. You know the base (run) is 24 feet, the rise is 8 feet, and the angle at the peak is unknown.
This is a right triangle (the vertical rise meets the horizontal run at 90°):
Check: 18.4° + 71.6° + 90° = 180° ✓
Perimeter = 24 + 8 + 25.3 = 57.3 feet
The contractor now knows to order at least 25.5 feet of rafter material per roof section.