Omnikit
DevFilesMoneyAll toolsExams
Ctrl K
Dev toolsFile toolsMoney calculatorsAll toolsExams
HomeMoney calculatorsTriangle Calculator: Sides, Angles and Area, With StepsPythagorean Theorem Calculator (Hypotenuse and Legs)

Pythagorean Theorem Calculator (Hypotenuse and Legs)

money

Hypotenuse or a missing leg from a² + b² = c², as an exact surd and a decimal

Runs in your browser. Nothing you type is sent anywhere. Checked against sources on 22 Nov 2026.

The Pythagorean theorem says that in a right triangle the square on the hypotenuse equals the sum of the squares on the other two sides: a² + b² = c². Type any two sides and the calculator finds the third, as an exact square root in simplest form (√50 = 5√2) and as a decimal. Nothing is uploaded.

What this does
Hypotenuse or a missing leg from a² + b² = c², as an exact surd and a decimal.
What it does not do
It does not need an account or a sign-in.
What leaves your browser
Nothing you type or open leaves your device. The page sends only a usage count: the tool’s name and the action, never the content.

Checked against the tool’s code on 18 November 2026. Figures read from their sources on 22 November 2026. What we collect

Nothing is uploaded: this runs in your browser.

Next:
  • CGPA to Percentage Calculator CGPA to percentage with the multiplier your own university publishes, not a fixed 9.5
  • SGPA to CGPA Calculator CGPA from each semester SGPA, averaged plainly or weighted by credits
  • GPA Calculator Semester and cumulative GPA on the 4.0 scale, using your school's own grade table

How to find the hypotenuse with Pythagoras

1

Type the two legs, a and b, and leave the hypotenuse c empty; 3 and 4 are already there.

2

Square and add them: 3² + 4² = 9 + 16 = 25.

3

Take the square root: c = √25 = 5. For a missing leg, subtract instead: b² = c² − a².

4

The calculator shows each line, the exact surd and both angles.

How do you find the angles of a triangle from three sides?

It also gives both acute angles, the area, the perimeter and the steps, and the other modes solve triangles that have no right angle.

Use the law of cosines once for each angle: cos A = (b² + c² − a²) / 2bc. For sides 5, 6 and 7, cos A = (36 + 49 − 25) / 84 = 0.7143, so A = 44.42°; the same rule gives B = 57.12°, and C = 180° − A − B = 78.46°. The three angles of every triangle add up to 180°.

Which method for which measurements

  • Three sides (SSS): the law of cosines for the angles and Heron's formula for the area.
  • Two sides and the angle between them (SAS): the law of cosines for the third side, c² = a² + b² − 2ab·cos C.
  • Two angles and any side (ASA or AAS): the third angle is 180° minus the two, then the law of sines, a / sin A = b / sin B = c / sin C.
  • Two sides and an angle that is not between them (SSA): the law of sines, which can give no triangle, one, or two.
  • A right triangle: Pythagoras, a² + b² = c², with c the hypotenuse.

The ambiguous case (SSA)

Given sides a and b and the angle A opposite a, sin B = b·sin A / a. If that is more than 1, side a is too short to reach and there is no triangle. If it is exactly 1, there is one right triangle. Otherwise B can be that angle or 180° minus it, and both fit when a is shorter than b; the calculator then shows both triangles.

The rest of the article, and all 5 questions about Triangle Calculator: Sides, Angles and Area, With Steps, are on the Triangle Calculator: Sides, Angles and Area, With Steps page.

Frequently asked questions

How do I find the third side of a triangle?

With two sides and the angle between them, use the law of cosines: c² = a² + b² − 2ab·cos C. For sides 8 and 5 with 60° between them, c² = 64 + 25 − 40 = 49, so c = 7. In a right triangle use Pythagoras: c² = a² + b².

How do I find the area of a triangle with three sides?

Use Heron’s formula. Halve the perimeter to get s, then area = √(s(s − a)(s − b)(s − c)). For sides 5, 6 and 7, s = 9 and the area is √(9 × 4 × 3 × 2) = √216 = 6√6, about 14.697.

Why does the calculator show two triangles?

Two sides and an angle that is not between them (SSA) can fit two different triangles: the side opposite the angle can swing to meet the third side in two places. With a = 6, b = 8 and A = 40°, angle B is 58.987° or 121.013°. Both are shown; a drawing or one more measurement tells which is meant.

Is the answer exact?

In the right-triangle mode, whole-number sides give the exact square root in simplest form, such as 2√6, next to the decimal. Every other result is computed in double precision and shown to 4 decimal places.

Sources

  • Wolfram MathWorld, Law of Cosinesc² = a² + b² − 2ab cos C, for the third side (SAS) and the angles (SSS)
  • Wolfram MathWorld, Law of Sinesa / sin A = b / sin B = c / sin C, for two angles and a side, and the two-triangle (SSA) case
  • Wolfram MathWorld, Heron’s FormulaArea = √(s(s − a)(s − b)(s − c)) with s the semiperimeter
  • Wolfram MathWorld, Pythagorean Theorema² + b² = c² for a right triangle with hypotenuse c

Last verified 22 November 2026.

Figures from Wolfram MathWorld, Law of Cosines and 3 other sources listed above, read 22 November 2026. Built by Saifuddin, Omnikit.

Rates and rules change; check the source before you rely on a figure.

Still stuck? Ask about Triangle Calculator: Sides, Angles and Area, With Steps and anybody who knows can answer. No account needed.

More ways to use Triangle Calculator: Sides, Angles and Area, With Steps

  • Triangle Calculator: Sides, Angles and Area, With StepsAny triangle from 3 sides, 2 sides and an angle, or 2 angles and a side, plus Pythagoras

Same job, other tools: Percentage to CGPA Calculator – Percentage back to a CGPA on a 10-point scale, with an editable divisor.

On the related tools: CBSE Percentage Calculator (Best of Five) – Class 10 or 12 percentage over your best five subjects, with the 33% pass mark in each.

Related tools

All money calculators
CGPA to Percentage CalculatorCGPA to percentage with the multiplier your own university publishes, not a fixed 9.5SGPA to CGPA CalculatorCGPA from each semester SGPA, averaged plainly or weighted by creditsGPA CalculatorSemester and cumulative GPA on the 4.0 scale, using your school's own grade tableMarks Percentage CalculatorPercentage from marks for one exam or every subject, with best of five and pass marksAttendance Percentage CalculatorAttendance so far, classes needed to reach 75% and how many you can still missGrade CalculatorCourse grade from weighted categories, and the score you need on the final examScientific CalculatorFree online scientific calculator with sin, cos, tan, log, powers, roots, nCr and historyFraction CalculatorAdd, subtract, multiply and divide fractions and mixed numbers, simplified, with steps
Was this tool helpful?
Omnikit

Small jobs, done in your browser. Free, fast and private. Files are never uploaded.

Files

  • Compress Image
  • Image to PDF
  • Merge PDF
  • Compress PDF
  • PDF to Word
  • Word to PDF

Dev

  • JSON Formatter & Validator
  • Base64 Encode & Decode
  • JWT Decoder, Verifier & Encoder
  • Password Generator
  • UUID Generator
  • Unix Timestamp Converter

Money

  • SIP Calculator
  • EMI Calculator
  • GST Calculator
  • FD Calculator
  • PPF Calculator
  • Lumpsum Calculator

Site map: Files · Dev · Money

GuidesQuestionsAboutHow we checkLaw library (beta)PrivacyTermsDisclosureContactMore: Exam practice (UGC NET, MH-SET, PhD entrance, CSIR NET)Runs in your browser. Nothing is uploaded. © 2026 Omnikit (theomnikit.com)