🔺 Triangle Calculator
Solve triangles with SSS, SAS, ASA, and right-triangle rules: missing sides, angles, area, and perimeter.
Triangle Sides, Angles, Area — SSS, SAS, ASA
BrainyCalculators editorial insight — unique to this tool
Law of cosines solves scalene when three sides known; Heron's formula area from three sides without height. Indian land plots and roof trusses use triangle geometry daily. Sum of angles always 180° in Euclidean plane.
When to use this calculator
Use for triangle-specific geometry. General 3D volumes → Volume calculator.
Evaluating sin, cos, or tan on an angle?
This page solves full triangles. For trig function evaluation, use the Trigonometry Calculator →
Area = ½ × base × height. Enter the base and perpendicular height.
What is a Triangle Calculator?
A triangle calculator solves for unknown sides and angles given partial information using law of sines, cosines, and Pythagoras where applicable.
Use this page when triangle side/angle data is the problem. Trigonometry evaluates sin/cos/tan on a single angle without full triangle solving.
Perimeter sums known sides; this page finds missing sides first when needed.
Triangle Formulas
Worked Example — Sides 3, 4, 5 (SSS)
How the Triangle Calculator Works
Formula, assumptions, and calculation steps for this math tool.
Formula Used
Area = half x base x height; Perimeter = a + b + c; interior angles sum to 180 degrees
Methodology
Applies the triangle area, perimeter, or angle-sum rule based on which sides or angles are provided.
Calculation Steps
- Read the values and operation selected.
- Normalize signs, decimals, fractions, or units if needed.
- Apply the mathematical rule or formula.
- Format the answer and any intermediate values for checking.
Assumptions and Limits
- Inputs must be within the supported domain of the operation.
- Decimal answers may be rounded for readability.
- Symbolic simplification is limited to the calculator scope.
Frequently Asked Questions
The most common formula is Area = ½ × base × height, where height is the perpendicular distance from the base to the opposite vertex. When only sides are known, use Heron's formula.
Heron's formula computes a triangle's area using only its three side lengths. First calculate the semi-perimeter: s = (a+b+c)/2. Then Area = √(s(s−a)(s−b)(s−c)). It works for any triangle.
Use the law of cosines when you have SSS or SAS — it directly finds the missing side or angle. Use the law of sines (a/sin A = b/sin B) when you have AAS or ASA, as it is algebraically simpler in those cases.
By sides: Equilateral (all three sides equal, all angles 60°), Isosceles (two sides equal), Scalene (all sides different). By angles: Right (one 90° angle), Acute (all angles < 90°), Obtuse (one angle > 90°).
Real-World Applications
Common Mistakes
Triangle Solving Method by Input Combination
| Known | Method | Notes |
|---|---|---|
| SSS (3 sides) | Law of Cosines | Fully determined, 1 solution |
| SAS (2 sides + included angle) | Law of Cosines | Fully determined, 1 solution |
| ASA / AAS (2 angles + 1 side) | Law of Sines | Fully determined, 1 solution |
| SSA (2 sides + non-included angle) | Law of Sines | Ambiguous: 0, 1, or 2 solutions |
| AAA (3 angles only) | N/A | Infinite solutions — scale unknown |
References
- Euclid. Elements, Book I. c. 300 BCE.
- Stewart, J. Trigonometry. Cengage Learning, 2016.
- Larson, R. Precalculus: Real Mathematics, Real People. Cengage, 2019.
- Weisstein, E.W. Law of Cosines. MathWorld — Wolfram Research, 2024.
- NCTM. Principles to Actions: Ensuring Mathematical Success for All. nctm.org, 2014.
Related Calculators
Browse all Math calculators →Pythagorean Theorem Calculator
Calculate the missing side of a right triangle using the Pythagorean theorem.
Trigonometry Calculator
Calculate sin, cos, tan, and their inverses in degrees or radians.
Area Calculator
Calculate the area of any shape — circle, triangle, rectangle, trapezoid, and more.