Triangle Calculator
Solve any triangle from the information you have. Enter three sides (SSS), two sides and the included angle (SAS), or a base and height to find the area, perimeter, missing angles, missing side, and the triangle type (equilateral, isosceles, scalene, right, acute, or obtuse).
Area
14.6969
Perimeter
18
Angle A
44.42°
Angle B
57.12°
Angle C
78.46°
Triangle type
Scalene, Acute
Enter known sides and/or angles to instantly find the area, perimeter, remaining angles and triangle type.
Who should use it: Students, engineers, and anyone solving geometry problems.
How to use this calculator
- 1Choose the mode that matches what you know: three sides (SSS), two sides plus the included angle (SAS), or base and height.
- 2Enter the known values for the chosen mode.
- 3Review the area, perimeter, angles, and (for SSS) the triangle type.
Understanding the inputs
| Mode | The input mode: 3 Sides (SSS), 2 Sides + Angle (SAS), or Base × Height. |
| Side a / Side b / Side c | For SSS, the three side lengths. For SAS, the two known sides (a and b) plus the included angle between them. |
| Included angle (°) | For SAS, the angle between the two known sides, in degrees (between 0° and 180°). |
| Base / Height | For the Base × Height mode, the base and perpendicular height of the triangle. |
How the calculation works
For three sides (SSS) the calculator uses Heron's formula for the area and the Law of Cosines to find each angle, then classifies the triangle by its sides and its largest angle. For two sides and the included angle (SAS) it uses the Law of Cosines to find the third side, then Heron's formula for the area and the Law of Sines for the remaining angles. For base and height it computes the area directly as one-half base times height.
Worked example
Scenario: Three sides 5, 6, and 7 (SSS mode).
Result: Area ≈ 14.70; perimeter = 18; angles ≈ 44.4°, 57.1°, 78.5°; type = Scalene, Acute.
How to interpret your result
The area is the surface inside the triangle. The perimeter is the sum of the three sides. The angles are the three interior angles, which always add up to 180°. The triangle type describes the sides (equilateral, isosceles, or scalene) and the largest angle (acute, right, or obtuse). If the three sides cannot form a valid triangle, the calculator explains why.
Factors that can affect the result
- Triangle inequality: for SSS, the sum of any two sides must be greater than the third; otherwise no triangle can be formed.
- Included angle: for SAS, the angle must be between 0° and 180° and must be the angle between the two known sides.
- Mode choice: pick the mode that matches the values you know to avoid unnecessary conversions.
Limitations and assumptions
- Solves planar (flat) triangles only; it does not handle spherical or hyperbolic geometry.
- Angles are shown in degrees only; radians are not supported.
- The Base × Height mode reports the area only; it does not compute the perimeter or angles.
Frequently asked questions
Related calculators
Methodology
For SSS the calculator uses Heron's formula for the area and the Law of Cosines for the angles, then classifies the triangle by sides and largest angle. For SAS it uses the Law of Cosines for the third side, Heron's formula for the area, and the Law of Sines for the remaining angles. For base and height it computes the area as ½ × base × height.
Sources and references
- Mathematical basis — Heron's formula and the Laws of Cosines and Sines are standard results of trigonometry; no external source is required
Disclaimer: Results are provided for informational purposes and may vary depending on the values entered, the assumptions described above, and rounding. They are not a substitute for professional advice specific to your situation. Read the full disclaimer.