The Triangle Calculator solves any triangle from any combination of known values. Choose from five input modes: SSS (three sides, uses Heron's formula and Law of Cosines), SAS (two sides and included angle, uses Law of Cosines), ASA (two angles and included side, uses Law of Sines), AAS (two angles ...
KNOWN VALUES
AREA
6
square units
PERIMETER
12
units
SIDES
ANGLES
STEP-BY-STEP
Given sides: a=3, b=4, c=5
Semi-perimeter: s = (3+4+5)/2 = 6
Area (Heron's): √(s(s−a)(s−b)(s−c)) = √(6×3×2×1) = 6
Angle A (Law of Cosines): arccos((b²+c²−a²)/(2bc)) = 36.8699°
Angle B: arccos((a²+c²−b²)/(2ac)) = 53.1301°
Angle C: 180° − 36.8699° − 53.1301° = 90°
QUICK EXAMPLES
TRIANGLE PROPERTIES
| NAME | FORMULA | USE WHEN |
|---|---|---|
| Area (base×height) | A = ½ × b × h | Base and height known |
| Area (SAS) | A = ½ab·sin(C) | Two sides and included angle |
| Heron formula | A = √(s(s−a)(s−b)(s−c)), s=(a+b+c)/2 | All three sides known |
| Law of Cosines | c² = a²+b²−2ab·cos(C) | SAS: find third side; SSS: find angles |
| Law of Sines | a/sin(A) = b/sin(B) = c/sin(C) | ASA/AAS: find remaining sides |
| Perimeter | P = a + b + c | Sum of all three sides |
| Inradius | r = Area / s | Radius of inscribed circle |
| Circumradius | R = abc / (4×Area) | Radius of circumscribed circle |
| Altitude to side a | h_a = 2×Area / a | Perpendicular height from a to opposite vertex |
Select your input mode based on what you know: SSS for three sides, SAS for two sides and the angle between them, ASA for two angles and the side between them, AAS for two angles and any one side, or Base×Height for area only.
Enter your known values. For angle inputs, enter degrees. The calculator accepts any valid triangle — it checks the triangle inequality for SSS and angle sum for angle-based modes.
Area and perimeter appear instantly in the black result box. All sides, angles, inradius, circumradius, and altitudes are shown below.
Read the step-by-step solution to see which law was applied — Heron's formula for SSS, Law of Cosines for SAS, Law of Sines for ASA/AAS.
Check the live diagram — the actual triangle is drawn to scale with all sides and angles labelled. A right angle marker appears for right triangles.
Example 1 (SSS 3-4-5): s=6, Area=√(6×3×2×1)=6. Angles: A=36.87°, B=53.13°, C=90°. Right triangle. Example 2 (SAS a=5,C=60°,b=7): c=√(25+49−35)=√39=6.245. Area=½×5×7×sin60°=15.155. Example 3 (equilateral 6): Area=(√3/4)×36=15.588, all angles=60°.
Last updated: April 29, 2026 · Formula verified by EagleCalculator team · Eagle-eyed accuracy for every calculation.