Skip to content
ToolUlkaa Tool
All tools

Mathematics

Percentage CalculatorFraction CalculatorEquation SolverTensorMatrix CalculatorUnit ConverterNumber Base ConverterDerivative CalculatorIntegral CalculatorLimit CalculatorAlgebra CalculatorQuadratic Formula CalculatorFactoring CalculatorLogarithm CalculatorSquare Root CalculatorLong Division CalculatorSignificant Figures CalculatorLCM and GCF CalculatorPrime Factorization CalculatorTriangle CalculatorPythagorean Theorem CalculatorSlope CalculatorArea CalculatorVolume CalculatorScientific CalculatorGraphing Calculator

Categories

AcademicTextMathematicsStatisticsMachine LearningAIData ScienceFile
All tools
Mathematics

Find Leg b Calculator

Enter leg a and the hypotenuse to solve for leg b.

What do you want to find?
Try:

The theorem: in a right triangle, a squared plus b squared equals c squared, where c is the side opposite the right angle.

Answer

b = 12 m
a²81 m²b²144 m²c²225 m²
Leg a
9 m
Leg b
12 m
Hypotenuse c
15 m
Area
54 m²
Perimeter
36 m
Angle opposite a
36.8699°
Angle opposite b
53.1301°

9, 12, 15 is a Pythagorean triple: 3 times the primitive triple 3, 4, 5.

Step by step

  1. 1Pythagorean theorem
    a2+b2=c2a^2+b^2=c^2a2+b2=c2
    ↓
    b2=c2−a2b^2=c^2-a^2b2=c2−a2
  2. 2Substitute
    b2=c2−a2b^2=c^2-a^2b2=c2−a2
    ↓
    b2=152−92=225−81=144b^2=15^2-9^2=225-81=144b2=152−92=225−81=144
  3. 3Take the square root
    b=c2−a2b=\sqrt{c^2-a^2}b=c2−a2​
    ↓
    b=144=12b=\sqrt{144}=12b=144​=12
  1. Tools
  2. Mathematics
  3. Pythagorean Theorem Calculator
  4. Find Leg b Calculator

About Find Leg b Calculator

This calculator solves for leg b when you know leg a and the hypotenuse c. The legs are interchangeable in the theorem, so the method is the same as for leg a. It is free, needs no sign-up and runs in your browser, so nothing you enter is uploaded.

Try 9 and 15: 225 − 81 = 144, so b = 12, and 9, 12, 15 is a multiple of the 3, 4, 5 triple.

How to use Find Leg b Calculator

  1. 1Choose what to find: the hypotenuse c, leg a, leg b, or check three sides.
  2. 2Type the known sides. Only the boxes you need are shown.
  3. 3Pick a length unit if you want it printed in the answer.
  4. 4Read the answer, the area, the perimeter and the two acute angles.
  5. 5Open the step-by-step working to see the squares, the subtraction or addition and the square root.
  6. 6In check mode, read the verdict and the triple note, for example whether the sides are a primitive triple.

Features

  • Find the hypotenuse, either leg, or test three sides.
  • Step-by-step working with KaTeX formulas.
  • Pythagorean triple detection, with the primitive triple and Euclid’s m and n.
  • Right, acute or obtuse verdict from the converse of the theorem.
  • A diagram with a labelled square on each side.
  • Area, perimeter and both acute angles of the triangle.
  • Clear errors, for example when the hypotenuse is not the longest side.

Leg b formula

Subtract the known leg’s square from c squared.

b = √(c² − a²)

Worked examples

  • a = 9, c = 15 → gives b = 12

    225 − 81 = 144.

Privacy: how it works

  • All the arithmetic runs in your browser tab. The sides you enter are not sent to Ulkaa or to anyone else, and there is nothing to sign in to.

Tips

  • The hypotenuse is always the longest side. If you enter a leg longer than c, the calculator refuses and says so.
  • To test a right angle on site, measure 3 units along one wall and 4 along the other. The diagonal should be 5.
  • Keep all sides in the same unit. The calculator does not convert between units for you.
  • A triple needs whole numbers. 1.5, 2, 2.5 satisfy the theorem but are not counted as an integer triple.

Frequently asked questions

Is it really free?

Yes. There is no price, no trial and no credit card. Ulkaa Tool does the work with your own device, so there is no server bill to pass on to you.

Do I need an account?

No. There is no sign-up and no login. Open the page and use it. An Ulkaa account is not needed for anything on this tool.

Does it run in my browser?

Yes. Your values are processed by code running in your browser tab, on your own device.

Is my data uploaded?

No. Your values are never sent to Ulkaa or to anyone else. You can check this yourself by watching the Network tab in your browser developer tools while you use the tool.

Does it matter which leg is a and which is b?

No. The legs swap freely in a² + b² = c²; only the labels change.

What if my result is not a whole number?

Most right triangles have an irrational side. The calculator shows a decimal and keeps the steps exact.

More Pythagorean Theorem Calculator pages

  • Pythagorean Theorem CalculatorSolve for any side of a right triangle, check whether three sides are a Pythagorean triple, and see the proof in a picture.
  • Hypotenuse CalculatorEnter the two legs and get the hypotenuse.
  • Missing Leg CalculatorEnter one leg and the hypotenuse to find the other leg.
  • 3-4-5 Triangle CalculatorSee why 3, 4 and 5 make a right angle and how to scale it.
  • Pythagorean Triples CalculatorEnter three whole numbers to test them and see the primitive triple and Euclid’s m and n.
  • Right Triangle CheckerEnter three sides in any order and see whether the triangle is right, acute or obtuse.
  • Converse of the Pythagorean Theorem CalculatorEnter three sides and apply the converse to classify the triangle.

Ulkaa Apps

  • Ulkaa
  • Calendar
  • Task
  • Note
  • Disk
  • Call
  • Contact
  • Mail
  • Finance
  • Health
  • Office
  • Work
  • Workspace
  • Halum
  • Jaal
  • Islam
  • Game
  • Weather
  • Campus
  • News
  • Developer
  • Help
  • Account
About·Privacy·Terms·© 2026 Ulkaa

What is Ulkaa Tool?

Ulkaa Tool is a free collection of fast, privacy-friendly online tools from Ulkaa Network. Calculate your GPA and CGPA, edit rich text, count words and characters, replace text and more — all in your browser.

Every tool runs entirely in your browser — no sign-up, and your data never leaves your device.

Academic

  • GPA Calculator
  • CGPA Calculator
  • Citation Generator
  • Quiz Maker

Text

  • Rich Text Editor
  • Word Counter
  • Character Counter
  • Text Replacement

Ulkaa

  • Ulkaa
  • Ulkaa News
  • Ulkaa Campus
  • Ulkaa Tool
  • Ulkaa Game
  • Ulkaa Weather
  • Ulkaa Islam

Company

  • About Ulkaa
  • Careers
  • Support
  • Help
  • Privacy Policy
  • Terms of Service
  • Disclaimer
  • Sitemap

© 2015-26, Ulkaa. All rights reserved.
Facebook PageLinkedIn CompanyX (Twitter) ProfileInstagram ProfileGitHub Account