Solve any triangle from sides, angles, or right-triangle legs — get every angle, side, area, perimeter, and classification.
Choose a mode, enter your known sides and/or angles, and click Calculate
This triangle solver works out every missing angle, side, area, and perimeter of a triangle no matter which three measurements you start with. Choose SSS if you know all three sides, SAS if you know two sides and the angle between them, ASA/AAS if you know two angles and a side, or Right Triangle if you know two legs or a leg and the hypotenuse. Behind the scenes it applies the Law of Cosines, Law of Sines, Heron's formula, and the Pythagorean theorem automatically, and also classifies the result — scalene, isosceles, or equilateral by side length, and acute, right, or obtuse by angle — so you get the complete picture in one place.
For every mode, the solver finds the three interior angles, the three side lengths, the perimeter (their sum), and the area — using Heron's formula for SSS, the ½ab·sin(C) formula for SAS and ASA/AAS, and ½ × base × height for right triangles. It then classifies the triangle by comparing side lengths to each other and the largest angle to 90°.
Geometry, trigonometry, and precalculus students who want a single tool covering every triangle case, construction and roofing professionals working out rafter lengths and pitch angles, land surveyors solving triangular parcels, DIYers and hobbyists building triangular frames or supports, and anyone who has three triangle measurements — of any kind — and wants the full solution without picking which formula applies.
Real triangles rarely arrive labeled with "use the Law of Cosines here." Knowing which of SSS, SAS, ASA/AAS, or a right-triangle shortcut applies to your specific set of known values — and then executing the correct formula without error — is exactly the kind of repetitive, mistake-prone task a single unified solver removes, while also adding the area, perimeter, and classification most standalone formula calculators skip.
Contractors compute rafter length and roof pitch angles from known rise, run, and slope measurements. Land surveyors solve triangular parcel boundaries from measured sides and angles. Engineers verify truss and gusset geometry across all four input cases in one tool. Students check geometry and trigonometry homework covering every triangle type. Hobbyists and makers design triangular braces, shelving brackets, and frames with confidence in the final dimensions.
Every formula behind the four solving modes
SSS, SAS, ASA/AAS, and right-triangle inputs each route to the correct formula automatically.
Regardless of mode, the solver always reports area (via the matching formula) and perimeter (a+b+c).
Every result is labeled by side type (scalene/isosceles/equilateral) and angle type (acute/right/obtuse).
From choosing a mode to reading the full solved triangle
Select SSS, SAS, ASA/AAS, or Right Triangle based on which three measurements you already know.
Type in the sides and/or angles for your chosen mode. For Right Triangle mode, pick "Two Legs" or "Leg + Hypotenuse" first.
The solver validates your inputs, then applies the correct formula (Law of Cosines, Law of Sines, Heron's formula, or the Pythagorean theorem).
Review all three angles and all three sides of the fully solved triangle.
See the computed area, perimeter, and the triangle's classification (e.g. "scalene, acute" or "isosceles, right").
Solving a triangle with sides 5, 6, and 7 — angles, area, perimeter, and classification
A triangular garden bed has three measured sides: a = 5, b = 6, c = 7 meters. What are its angles, area, perimeter, and classification?
Explanation: Starting from three sides alone (SSS) was enough to recover every angle, the area via Heron's formula, the perimeter, and a complete classification — no angle measurement was needed anywhere in the process.
What each output means across all four modes
| Output | What It Represents | Notes |
|---|---|---|
| Angle A, B, C | The three interior angles | Always sum to exactly 180° |
| Side a, b, c | The three side lengths | Each must be positive; largest side is opposite the largest angle |
| Area | The two-dimensional space enclosed by the triangle | Always in squared units (e.g. m²) |
| Perimeter | The total distance around the triangle | Equal to a + b + c, in linear units |
| Side classification | Scalene, isosceles, or equilateral | Based purely on comparing side lengths |
| Angle classification | Acute, right, or obtuse | Based on comparing the largest angle to 90° |
Reading the results together: the two classifications (side-based and angle-based) are independent — a triangle can be, for example, isosceles and right, or scalene and obtuse, in any combination except that an equilateral triangle is always acute.
Typical ranges: all sides must be positive, all angles must fall strictly between 0° and 180° and sum to 180°, and area and perimeter must both be positive.
Manual verification: once you have all three sides and angles, recompute the area a second way (e.g. Heron's formula from the sides, or ½ab·sin(C) from two sides and an angle) — both should agree closely, confirming the solved triangle is internally consistent.
Where a single tool covering every triangle case is genuinely useful
Check SSS, SAS, ASA/AAS, and right-triangle problems in one place.
Solve the rise/run/rafter right triangle for accurate roofing cuts.
Solve triangular parcel boundaries from any combination of sides and angles.
Verify triangular brace, gusset, or truss dimensions before cutting material.
Check the right-triangle geometry of a ladder's height, base distance, and length.
Design triangular shelf brackets, braces, and frames with confidence in the cut dimensions.
Check triangular facade, gable, or truss elements against design specifications.
Solve course triangles from any mix of known legs, angles, or bearings.
Resolve force, velocity, or displacement triangles regardless of which values are known.
Solve triangle geometry for meshes, collision shapes, and procedural generation.
Estimate paint, flooring, or land coverage from a triangular area calculation.
Solve link-and-joint triangles for arm reach and positioning calculations.
Quickly determine whether a triangle is scalene/isosceles/equilateral and acute/right/obtuse.
What this triangle solver does well, and where it doesn't apply
SSS, SAS, ASA/AAS, and Right Triangle side by side
| Mode | Known Values | Core Formula | Area Formula |
|---|---|---|---|
| SSS | All three sides | Law of Cosines (for angles) | Heron's formula |
| SAS | Two sides + included angle | Law of Cosines (for third side) | ½ab·sin(C) |
| ASA / AAS | Two angles + one side | Law of Sines | ½ab·sin(C) after solving sides |
| Right Triangle | Two legs, or leg + hypotenuse | Pythagorean theorem | ½ × leg × leg |
Summary: This triangle solver handles SSS, SAS, ASA/AAS, and right-triangle inputs in one place, always returning area, perimeter, and classification alongside every angle and side. For the ambiguous SSA case specifically, use the Law of Sines Calculator; for a narrower SAS/SSS-only tool, see the Law of Cosines Calculator.
Common questions about solving triangles
Trusted educational references to go deeper on triangle geometry
Explore other trigonometry and geometry tools