Skip to content
CalculatorZilo Logo
  • Home
  • CalculatorsExpand
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
CalculatorZilo Logo
Home / Geometry Calculators / Triangle Sides Calculator
Geometry Calculators

Triangle Sides Calculator

Published onJanuary 14, 2026 Updated onOctober 24, 2026 8:05 am

Give this calculator three measurements of a triangle and it finds the rest: every side, every angle, the perimeter and the area. It handles three sides, two sides with the angle between them, one side with two angles, and both right-triangle cases. Pick the case that matches what you know, enter the numbers, and check the answer against the method it names.

ABC
Triangle Sides Calculator
Solve a triangle from SSS, SAS, one side and two angles, or right-triangle inputs

Triangle solved
Side a
Side b
Side c
Angle A
Angle B
Angle C
Perimeter
Area
Method

Extra measurements

Results stay hidden until you click Calculate. Angles are entered in degrees; tick the radians box to see the solved angles in radians instead. All sides use one unit, so area is in square units of that unit.

Quick Answer

Sides 3, 4 and 5 solve to angles 36.8699°, 53.1301° and 90°, a perimeter of 12 and an area of 6. The tool names the method as SSS with law of cosines, and the extra measurements add an inradius of 1, a circumradius of 2.5, and altitudes of 4, 3 and 2.4. Change the mode at the top of the calculator to solve from a different set of known measurements.

Key takeaways

  • Solving a triangle means finding all three sides and all three angles from three known measurements, one of which must be a side.
  • Three angles alone never fix the size: they describe infinitely many similar triangles, so the tool rightly refuses a no-side input set by having no such mode.
  • Side a sits opposite angle A, side b opposite angle B, and side c opposite angle C, in every mode and every result.
  • Two sides and a non-included angle (SSA) is the one case that can give zero, one or two triangles, and it is explained by hand below because the tool has no SSA mode.
On this page
  • Quick Answer
  • How to use the triangle sides calculator
  • Which mode fits your measurements
  • The formulas behind each mode
  • Worked example: the 3-4-5 triangle, solved three ways
  • SSA: the ambiguous case, worked by hand
  • Extra measurements on every solution
  • Solving versus formulas: how this page differs from the triangle formula page
  • What competing triangle calculators miss
  • Frequently asked questions
  • Add This Calculator to Your Website
  • References

How to use the triangle sides calculator

Start by naming what you know, then let the tool pick the method. The mode dropdown is the whole decision: everything after it is typing numbers.

  1. Choose your known values. Three sides is SSS. Two sides and the angle between them is SAS. One side and two angles is the ASA/AAS mode. The two right-triangle modes assume a right angle, so use them only when you know the triangle is right.
  2. Enter the numbers in one unit. Sides can be centimetres, inches or any unit you like, as long as all sides share it. Angle inputs are always degrees, even when you later display results in radians.
  3. Click Calculate and read the method line. The method line tells you which law did the work, which is the fastest way to spot a wrong-mode entry: if you meant SAS and the method says SSS, you picked the wrong dropdown value.
  4. Open the extra measurements. After a solution, the extras block shows classification, inradius, circumradius and all three altitudes. Tick the radians box to restate the angles in radians.

A failed input shows a plain error line under the buttons, naming the problem: a missing value, a non-positive side, an angle at or above 180°, two angles totalling 180° or more, a hypotenuse no longer than its leg, or a set of sides that breaks the triangle inequality. Fix the named value and calculate again.

Which mode fits your measurements

Match your known values to one row; if no row matches, you do not have enough to solve, or you have the SSA case below.

You knowModeMethodWatch out for
Three sidesSSSLaw of cosines for the anglesTriangle inequality: two shorter sides must exceed the longest
Two sides and the angle between themSASLaw of cosines for the third sideThe angle must sit between the two sides, not opposite one of them
One side and two anglesASA/AASLaw of sines for the other sidesThe two angles must total less than 180°
Two legs of a right triangleRight triangle: two legsPythagoras for the hypotenuseOnly valid when the angle between the legs is 90°
One leg and the hypotenuseRight triangle: leg and hypotenusePythagoras for the missing legThe hypotenuse must be the longest side
Two sides and a non-included angleSSA, by handLaw of sines, with the ambiguity checkCan give zero, one or two triangles; never force it into SAS

The formulas behind each mode

Three laws cover every mode, and the tool applies them in a fixed order. Knowing the order helps you check a result by hand.

Law of cosines. For SSS, each angle comes from the sides: cos A = (b² + c² − a²) ÷ (2bc), with the same pattern cycled for B and C. For SAS, the missing side comes first: c² = a² + b² − 2ab cos C, where C is the angle between a and b. The tool then finds the remaining angles from the three sides, so every solved triangle ends with the same angle routine.

Law of sines. For the one-side-and-two-angles mode, the third angle is 180° minus the two known angles, and the unknown sides follow a ÷ sin A = b ÷ sin B = c ÷ sin C. This is also the law behind the SSA case, where its sine step is exactly what creates the ambiguity.

Pythagoras and Heron. The right-triangle modes use c² = a² + b², or the rearranged form for a missing leg. Area always comes from Heron once all three sides are known: s = (a + b + c) ÷ 2, then area = √(s(s − a)(s − b)(s − c)). That single area routine is why the area agrees across modes for the same triangle.

Worked example: the 3-4-5 triangle, solved three ways

The pre-filled SSS example is the classic 3-4-5 triangle, and it is worth solving it in more than one mode to prove the modes agree. Start with SSS: sides 3, 4, 5.

Angle A, opposite side 3, is arccos((4² + 5² − 3²) ÷ (2 × 4 × 5)) = arccos(32 ÷ 40) = arccos(0.8) = 36.8699°. Angle B is arccos((3² + 5² − 4²) ÷ (2 × 3 × 5)) = arccos(18 ÷ 30) = arccos(0.6) = 53.1301°. Angle C is 180 − 36.8699 − 53.1301 = 90°, which confirms the right angle. Perimeter is 3 + 4 + 5 = 12, semi-perimeter s = 6, and Heron gives √(6 × 3 × 2 × 1) = √36 = 6.

Now switch to SAS with sides 5 and 7 and included angle 60°, the tool’s pre-filled SAS example. The third side is √(5² + 7² − 2 × 5 × 7 × cos 60°) = √(25 + 49 − 35) = √39 = 6.2450. Switch to the right-triangle legs mode with legs 3 and 4 and the hypotenuse returns as √(9 + 16) = 5, closing the loop back to the SSS answer. If your mode gives a different triangle from the same measurements, you entered a different case, not a different triangle.

SSA: the ambiguous case, worked by hand

Two sides and a non-included angle is the one input pattern that can produce two different triangles, and this page explains it rather than hiding it. The tool has no SSA mode, so work through the decision procedure below and treat a two-solution answer as correct, not as an error.

Given angle A, side a opposite it, and adjacent side b, first compute b × sin A. If a is shorter than that, no triangle exists. If a equals it, there is exactly one right triangle. If a is at least b, there is one solution with angle B acute. If b × sin A is less than a and a is less than b, there are two solutions: solve sin B = b × sin A ÷ a for the acute B1 and its supplement B2 = 180 − B1, then get each C = 180 − A − B and each side c from the law of sines, c = a × sin C ÷ sin A.

Worked example. A = 30°, a = 7, b = 10. Here b × sin A = 5, and 5 < 7 < 10, so there are two triangles. Sin B = 10 × 0.5 ÷ 7 = 0.7143, giving B = 45.58° or 134.42°. The two solutions are c = 13.5592 (C = 104.42°) and c = 3.7613 (C = 15.58°). With a = 4 there is no triangle (4 < 5), and with a = 12 there is one, with c = 19.5690. Check any SSA answer against the b × sin A threshold before trusting a single solution.

Extra measurements on every solution

Every solved triangle also carries a set of derived measurements, and the 3-4-5 triangle makes each one easy to verify. Classification uses the largest angle, with a right call when the largest angle is within 0.0001° of 90°, and the side pattern: all equal is equilateral, two equal is isosceles, all different is scalene.

MeasurementFormula3-4-5 value
Inradius rArea ÷ semi-perimeter6 ÷ 6 = 1
Circumradius Rabc ÷ (4 × area)60 ÷ 24 = 2.5
Altitude to side a2 × area ÷ a12 ÷ 3 = 4
Altitude to side b2 × area ÷ b12 ÷ 4 = 3
Altitude to side c2 × area ÷ c12 ÷ 5 = 2.4

The circumradius check is a good sanity test for any right triangle: the hypotenuse is the diameter of the circumcircle, so R must equal half the hypotenuse. Here half of 5 is 2.5, matching the formula output.

Solving versus formulas: how this page differs from the triangle formula page

This page solves for missing sides and angles, while the companion triangle formula calculator starts from a complete triangle and displays every formula result. Use this page when a measurement is unknown. Use the formula page when all three sides are already known and you want the perimeter, semi-perimeter, Heron area, all three angles, all three heights and the classification written out as formulas. The overlap between the two is only the SSS case, and even there the questions differ: one asks “what is missing”, the other asks “what do the formulas give”.

What competing triangle calculators miss

Most single-purpose triangle tools solve one case well and go quiet on the rest. The gaps that matter in practice are the ones that leave a student stuck halfway through homework.

  • One case only. Many tools cover SSS or right triangles and nothing else, so a student with SAS inputs has to find a second tool. This page keeps all five cases behind one dropdown.
  • No named method. A bare answer hides whether the tool used the law of cosines, the law of sines or Pythagoras. The method line here makes a wrong-mode entry visible at a glance.
  • SSA silence. Tools that accept two sides and an angle without the ambiguity check return one answer where two exist, or fail without explaining why. The SSA section above states the threshold test and both solutions.
  • Answers without extras. Inradius, circumradius and altitudes are standard follow-up questions, and tools that omit them force a second calculation. They appear automatically with every solution here.
  • Degree confusion. Some tools mix degree and radian inputs without saying which. Angle inputs here are degrees, always, and the radians toggle only restates solved angles.

For the special right-isosceles case, the 45-45-90 triangle calculator gives the same answer faster from a single leg. For area from three sides alone, the Heron’s formula calculator isolates that one computation.

Frequently asked questions

You need three measurements, and at least one must be a side. Three sides (SSS), two sides and the angle between them (SAS), one side and two angles, or two sides of a right triangle all solve. Three angles alone do not solve a triangle, because they fix the shape but not the size.

It uses the law of cosines: cos A = (b² + c² − a²) ÷ (2bc), with the same pattern cycled for angles B and C. The third angle is then 180° minus the other two. For sides 3, 4 and 5 this gives angles of 36.8699°, 53.1301° and 90°.

SSA means two sides and an angle that is not between them. It can give zero, one or two valid triangles, because the sine step can return an acute angle or its supplement. Compare side a with b × sin A: below that threshold there is no triangle, at it there is one right triangle, at or above side b there is one triangle, and between the threshold and side b there are two. The SSA section above works an example with two solutions.

Angle inputs are always degrees. The radians toggle in the extras block only restates the solved angles in radians; it does not change how inputs are read. For the 3-4-5 triangle the angles read 0.6435, 0.9273 and 1.5708 radians.

Because they break the triangle inequality: the two shorter sides must add to more than the longest side, or the sides cannot meet to form a triangle. The error line names the exact pair that fails, so check that pair first, and check for a mistyped decimal or a unit mix-up.

Once all three sides are known, the area comes from Heron’s formula: s = (a + b + c) ÷ 2, then area = √(s(s − a)(s − b)(s − c)). For sides 3, 4 and 5, s = 6 and the area is √(6 × 3 × 2 × 1) = 6. The same routine runs in every mode, so the area agrees across modes for the same triangle.

The inradius is the radius of the circle inscribed in the triangle, r = area ÷ semi-perimeter. The circumradius is the radius of the circle through all three vertices, R = abc ÷ (4 × area). For the 3-4-5 triangle the inradius is 1 and the circumradius is 2.5, which is half the hypotenuse, as it must be for any right triangle.

This page solves for missing sides and angles from partial measurements. The triangle formula calculator starts from a complete set of three sides and displays every formula result: perimeter, semi-perimeter, Heron area, angles, heights and classification. Use this page when something is unknown, and the formula page when everything is already known.

Add This Calculator to Your Website

Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.

Powered by Calculator Zilo

References

  1. OpenStax, Precalculus 2e. Chapter 8 Key Concepts: Non-right Triangles, Law of Sines (ASA, AAS and SSA cases; the ambiguous case giving one, two or no solutions). Accessed October 24, 2026.
  2. OpenStax, Algebra and Trigonometry. Non-right Triangles: Law of Sines (side-angle labelling convention; derivation of a ÷ sin A = b ÷ sin B = c ÷ sin C). Accessed October 24, 2026.
  3. OpenStax, Precalculus. Chapter 8 Key Equations (law of sines, law of cosines, area formulas and Heron’s formula in one reference table). Accessed October 24, 2026.
  4. University of British Columbia, CLP-1 Calculus. Cosine and Sine Laws (cosine law derivation; reduction to Pythagoras at 90°; sine law from the area formula). Accessed October 24, 2026.
  5. Monash University, Mathematics. Sine and Cosine Rules (when each rule applies: sine rule with a known side-angle pair, cosine rule for SSS and SAS). Accessed October 24, 2026.
  6. Wolfram MathWorld. Heron’s Formula (area from three sides via the semi-perimeter). Accessed October 24, 2026.

Related calculators

Geometry Calculators45 45 90 Triangle Calculator A 45-45-90 triangle is the isosceles right triangle: two equal legs, a right angle, and a hypotenuse that is always the leg times √2.Geometry CalculatorsPerimeter Formula Calculator – Calculate Perimeter of Any Shape InstantlyGive this calculator a shape and its dimensions and it returns the perimeter with the formula written out and your numbers substituted, so you can follow every step.Geometry CalculatorsParallel Or Perpendicular CalculatorAre two lines parallel, perpendicular, or neither?Geometry Calculators30 60 90 Calculator: Solve Any Triangle FastA 30-60-90 triangle locks its sides into the ratio 1: √3: 2, so a single known value fixes the whole triangle.Geometry CalculatorsSin Calculator: Free Trigonometry Tool OnlineA sin calculator should do more than one ratio.Geometry CalculatorsGeometric Formula CalculatorSix shapes account for most geometry homework and most job-site measurement questions: rectangle, circle, triangle, square, sphere and cylinder.

We use cookies to analyze traffic. You can accept or decline cookies below. Learn more

calculatorzilo

CalculatorZilo

Free calculators for everyday life. No signup, no cost, just answers.

Categories

Finance Math Health & Fitness Education Science Real Estate Chemistry Browse all calculators

Popular tools

Mortgage Payment Calculator BMI Walking Calculator Salary Per Minute Calculator Percentage Off Calculator

Company

About Us Contact Us Privacy Policy Terms and Conditions
Disclaimer Cookie Policy DMCA Policy Affiliate Disclosure FAQ Accessibility Statement

© 2026 CalculatorZilo • Free calculators for everyone

  • Home
  • Calculators
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
Search