Calculators PlanetCalculators Planet
HomeFinancialMathHealthOtherBlogAboutContact
Calculators PlanetCalculators Planet

Fast, accurate, and user-friendly online calculators for all your needs.

Financial

  • Mortgage Calculator
  • Amortization Calculator
  • Mortgage Payoff Calculator
  • House Affordability Calculator
  • Rent Calculator

Math

  • Decimal to Fraction Calculator
  • Significant Figures Calculator
  • Percentage Calculator
  • Fraction Calculator
  • Ratio Calculator

Health

  • BMI Calculator
  • Ideal Weight Calculator
  • Body Fat Calculator
  • Calorie Calculator
  • Macro Calculator

Other

  • Age Calculator
  • Date Calculator
  • Time Calculator
  • Hours Calculator
  • Time Card Calculator

2026 Calculators Planet. All rights reserved.

BlogAboutContactPrivacy PolicyCookie PolicyTerms of ServiceDisclaimer
Calculators PlanetCalculators Planet
HomeFinancialMathHealthOtherBlogAboutContact
HomeMathTriangle Calculator

Triangle Calculator

Solve any triangle by entering known sides and angles. Supports SSS, SAS, SSA, AAS, and ASA. Instantly calculates all sides, angles, area, and perimeter.

Share:
Triangle Calculator
Results

Enter values and click Calculate to see results.

Solving Triangles: The Foundation of Geometry, Engineering, and Construction

A triangle calculator solves all unknown sides and angles of a triangle when enough information is provided. Whether you are a student working through geometry homework, an engineer checking structural dimensions, or a carpenter laying out a roof, this tool eliminates manual trigonometry and delivers instant, accurate results.

Every triangle has three sides and three angles that always sum to 180 degrees. By entering just three known values in the right combination, the calculator can determine everything else about the triangle. Triangles are the most rigid shape in engineering: unlike squares or rectangles, a triangle cannot be deformed without changing the length of a side. This is why triangles form the basis of truss design, bridge construction, and structural analysis. For related geometry calculations, try our Pythagorean Theorem Calculator.

What This Calculator Does

Enter any valid combination of sides and angles and the calculator solves for the remaining unknowns, plus area and perimeter.

Inputs Required (choose one mode)

  • SSS: All three side lengths
  • SAS: Two sides and the included angle between them
  • SSA: Two sides and an angle opposite one of them
  • AAS: Two angles and a non-included side
  • ASA: Two angles and the included side between them

Outputs Provided

  • All three sides (a, b, c)
  • All three angles (A, B, C) in degrees
  • Area of the triangle
  • Perimeter of the triangle

How the Calculation Works

The calculator applies the Law of Cosines and the Law of Sines depending on the known values provided.

Law of Cosines (used for SSS and SAS)

c² = a² + b² - 2ab × cos(C)

cos(A) = (b² + c² - a²) / (2bc)

When all three sides are known, the Law of Cosines calculates each angle by rearranging this formula. When two sides and the included angle are known, it calculates the third side directly.

Law of Sines (used for AAS, ASA, SSA)

a / sin(A) = b / sin(B) = c / sin(C)

This law relates each side to the sine of the opposite angle. It is used when angle-side combinations are known. Once two angles are known, the third is found by subtracting from 180 degrees.

Area Formula (Heron's Formula)

s = (a + b + c) / 2

Area = √(s(s-a)(s-b)(s-c))

How to Use the Calculator

  1. Select the combination of known values (SSS, SAS, SSA, AAS, or ASA)
  2. Enter the known side lengths or angles in the input fields
  3. Click Calculate
  4. View all sides, angles, area, and perimeter instantly

Example Calculation

Kevin, a surveyor in Colorado, uses SSS mode with sides a = 5, b = 7, c = 8 to determine the angles and area of a triangular land plot:

  • Angle A: cos(A) = (49 + 64 - 25) / (2 x 7 x 8) = 88/112 = 38.21 degrees
  • Angle B: cos(B) = (25 + 64 - 49) / (2 x 5 x 8) = 40/80 = 60.00 degrees
  • Angle C: 180 - 38.21 - 60.00 = 81.79 degrees
  • Semi-perimeter s: (5 + 7 + 8) / 2 = 10
  • Area: square root of (10 x 5 x 3 x 2) = square root of 300 = 17.32 square units
  • Perimeter: 5 + 7 + 8 = 20 units

Kevin uses the area result to estimate the property value at $50 per square unit, arriving at approximately $866 for this parcel. For calculating roof dimensions from triangle measurements, see our Roofing Calculator.

Real-World Scenarios

Construction and Land Surveying

Marcus, a surveyor in Texas, measures two sides of a triangular land plot (120 ft and 85 ft) and the angle between them (72 degrees). Using SAS mode, the calculator instantly finds the third boundary length of 138.4 ft and the total plot area of 4,847 square feet, saving hours of manual trigonometry on site. The 3-4-5 rule is another essential construction tool: measure 3 ft along one wall, 4 ft along the perpendicular, and the diagonal must be exactly 5 ft to confirm a square corner. Scale up proportionally for larger layouts: 6-8-10, 9-12-15, or 12-16-20.

Roof Truss Design

Linda, an architect in Boston, designs a roof truss with two rafters each 14 ft long meeting at a 36 degree ridge angle. Using the Law of Cosines: c squared = 196 + 196 - 2(14)(14) x cos(36) = 392 - 317.1 = 74.9, so c = 8.65 ft. This is the horizontal span of the ridge beam between the two rafter feet. Triangle calculations like this are fundamental to every roof truss, ramp, brace, and diagonal cut in construction. For calculating materials for the roof, try our Roofing Calculator.

Navigation and GPS Triangulation

David, a navigator on a research vessel, uses triangulation to determine his position. Knowing the distance to two landmarks (3.2 km and 4.8 km) and the angle between them (48 degrees) allows the SAS mode to calculate his exact position in the triangle formed with those reference points. GPS systems use a similar principle with satellites, though they work in three dimensions with spherical trigonometry rather than planar triangles.

Why This Calculation Matters

Triangles are the most fundamental shape in geometry and engineering. They are the basis for structural analysis because triangles are rigid: unlike a square or rectangle, a triangle cannot be deformed without changing the length of one of its sides. Every polygon can be divided into triangles for area calculation. Understanding triangle properties is essential in construction, engineering, physics, and navigation. The Law of Cosines is a generalization of the Pythagorean theorem applicable to all triangles, not just right triangles. When angle C equals 90 degrees, cos(C) becomes zero and the formula reduces to the familiar Pythagorean theorem.

This calculator removes the need to memorize multiple formulas and perform multi-step calculations by hand. It handles all five standard triangle-solving cases accurately and instantly. For right triangle problems specifically, use our Pythagorean Theorem Calculator.

Common Mistakes to Avoid

  • Using the wrong combination: Not all three values define a unique triangle. Make sure you select the correct mode matching your known values. At least one known value must be a side, not just angles
  • Triangle inequality violation: The sum of any two sides must be greater than the third side. If not, no triangle is possible. For example, sides 3, 4, and 8 cannot form a triangle because 3 + 4 is less than 8
  • Angles not summing to 180: When entering angle values manually, verify they total less than 180 degrees for a valid triangle. If two angles sum to 180 or more, no valid triangle exists
  • Mixing units: All side lengths must use the same unit. Do not mix centimeters with meters or inches with feet
  • SSA ambiguity: The SSA case can sometimes produce two valid triangles, called the ambiguous case. The calculator returns the primary solution, but a second valid triangle may exist. Always check whether the alternative solution is relevant to your problem

Limitations of This Calculator

This calculator solves planar (flat) triangles in Euclidean geometry. It does not handle spherical triangles on the surface of a sphere, which are used in long-distance navigation and geodesy. It does not compute hyperbolic triangles. The SSA ambiguous case returns only the primary solution, not both possible triangles. The calculator works in degrees only, not radians or gradians. It does not calculate advanced properties such as medians, centroids, inradius, circumradius, or Euler lines. For advanced geometric work, use a computer algebra system like GeoGebra or Wolfram Mathematica.

Authoritative Research and Resources

  • Khan Academy: High School Geometry and Trigonometry - Free educational resource covering the Law of Sines, Law of Cosines, Heron's formula, and triangle solving techniques. Includes video lessons, practice exercises, and worked examples for SSS, SAS, ASA, AAS, and SSA cases. Widely used in mathematics education from middle school through college level.
  • LibreTexts: Further Applications of Trigonometry - Open-access textbook chapter covering the Law of Sines, Law of Cosines, and their applications to real-world problems including surveying, navigation, and engineering. Part of the OpenStax Precalculus textbook, peer-reviewed and widely adopted in college mathematics courses.
  • NIST: Metric (SI) Program - The National Institute of Standards and Technology maintains the International System of Units (SI) used in scientific and engineering calculations. Relevant for ensuring consistent unit usage when solving triangle problems in professional contexts. On January 1, 2023, the US survey foot was retired and the international foot definition officially superseded it.

Frequently Asked Questions

What does SSS, SAS, ASA mean?
These abbreviations describe what information you know about the triangle. S stands for Side and A stands for Angle. SSS means you know all three sides. SAS means you know two sides and the angle between them. ASA means you know two angles and the side between them. AAS means two angles and a side not between them. SSA means two sides and an angle opposite one side. At least one known value must be a side, as three angles alone only tell you the shape, not the size.
How is the area of a triangle calculated?
When all three sides are known, Heron's Formula is used: Area = square root of (s(s-a)(s-b)(s-c)) where s = (a+b+c)/2 is the semi-perimeter. When a base and height are known, Area = 0.5 x base x height. When two sides and the included angle are known, Area = 0.5 x a x b x sin(C). The calculator automatically selects the appropriate formula based on your input mode.
Why does the calculator say my triangle is invalid?
A triangle is invalid if the side values violate the triangle inequality rule: the sum of any two sides must be greater than the third side. For example, sides 3, 4, and 8 cannot form a triangle because 3 + 4 = 7, which is less than 8. Also, if angles do not sum to 180 degrees or you have entered zero or negative values, no valid triangle can be formed. Double-check your measurements and units.
What is the difference between equilateral, isosceles, and scalene triangles?
An equilateral triangle has all three sides equal and all three angles equal to 60 degrees. An isosceles triangle has two equal sides and two equal base angles. A scalene triangle has all three sides of different lengths and all three angles different. This calculator works for all three types, as well as right triangles (one 90 degree angle), acute triangles (all angles less than 90 degrees), and obtuse triangles (one angle greater than 90 degrees).
Does the calculator use degrees or radians?
All angle inputs and outputs use degrees. If you have angle values in radians, convert them first by multiplying by 180 and dividing by pi (approximately 57.296). For example, 1 radian equals approximately 57.296 degrees, and pi/2 radians equals 90 degrees. Most engineering and construction applications use degrees, while advanced mathematics and physics sometimes use radians.
What is the 3-4-5 rule in construction?
The 3-4-5 rule is the most valuable triangle fact in construction. To check whether a corner is square, measure 3 feet along one wall from the corner, 4 feet along the other wall, and the diagonal between those two points must measure exactly 5 feet. This works because 3 squared plus 4 squared equals 5 squared (9 + 16 = 25), making it a Pythagorean triple. Scale up proportionally for larger layouts: 6-8-10, 9-12-15, or 12-16-20 all work identically.

Related Calculators

Right Triangle Calculator

Solve right triangles with the Pythagorean theorem

Pythagorean Theorem Calculator

Calculate triangle sides using the Pythagorean theorem

Area Calculator

Calculate area of various geometric shapes

Embed This Calculator

Triangle Calculator

Calculate
Reset
Calculators PlanetCalculators Planet

Fast, accurate, and user-friendly online calculators for all your needs.

Financial

  • Mortgage Calculator
  • Amortization Calculator
  • Mortgage Payoff Calculator
  • House Affordability Calculator
  • Rent Calculator

Math

  • Decimal to Fraction Calculator
  • Significant Figures Calculator
  • Percentage Calculator
  • Fraction Calculator
  • Ratio Calculator

Health

  • BMI Calculator
  • Ideal Weight Calculator
  • Body Fat Calculator
  • Calorie Calculator
  • Macro Calculator

Other

  • Age Calculator
  • Date Calculator
  • Time Calculator
  • Hours Calculator
  • Time Card Calculator

2026 Calculators Planet. All rights reserved.

BlogAboutContactPrivacy PolicyCookie PolicyTerms of ServiceDisclaimer