Find the missing side of a right triangle.
A Pythagorean theorem calculator finds the missing side of a right triangle using the relationship a² + b² = c², where c is the hypotenuse (the longest side, opposite the right angle) and a and b are the two legs. Enter any two sides, and the calculator instantly solves for the third.
The tool provides both exact answers (in simplified radical form) and decimal approximations, making it useful for math homework requiring exact expressions and practical applications needing measurement-ready numbers.
When solving for the hypotenuse (c), the calculator squares both legs, adds them together, and takes the square root: c = the square root of (a² + b²). When solving for a leg (a or b), it rearranges the formula: a = the square root of (c² - b²). The operation changes from addition to subtraction.
The calculator checks that the inputs form a valid right triangle. The hypotenuse must always be the longest side. If you enter two sides where the supposed hypotenuse is shorter than or equal to a leg, the triangle is impossible and the calculator will flag the error.
Legs: a = 5, b = 12. Find the hypotenuse c.
c² = 5² + 12² = 25 + 144 = 169. c = the square root of 169 = 13. This is a Pythagorean triple (5-12-13), so the answer is an exact integer.
A Pythagorean triple is a set of three positive integers that satisfy a² + b² = c². Common examples include 3-4-5, 5-12-13, 8-15-17, and 7-24-25. Multiples of these also work: 6-8-10 is just 2 times the 3-4-5 triple. These are useful shortcuts for quick mental math.
No. It only works for right triangles (triangles with one 90-degree angle). For non-right triangles, you need the Law of Cosines: c² = a² + b² - 2ab cos(C). However, you can use the Pythagorean theorem to test whether a triangle is right-angled by checking if a² + b² equals c².
The hypotenuse is always the side opposite the right angle and is always the longest side of a right triangle. In a diagram, it's typically the slanted side. If you're given three sides and asked to verify a right triangle, the largest number is the candidate for c.
Yes, by applying the theorem twice. First find the diagonal across the base (using two dimensions), then use that diagonal and the height as the two legs to find the 3D diagonal. The formula becomes d = the square root of (x² + y² + z²).
Some answers remain as irrational numbers in radical form. For example, the hypotenuse of a triangle with legs 2 and 3 is the square root of 13, which cannot be simplified further. In these cases, the decimal approximation (approximately 3.6056) is the practical answer.
Builders use the 3-4-5 method to verify right angles. Measure 3 feet along one wall and 4 feet along the adjacent wall. If the diagonal between those points is exactly 5 feet, the corner is perfectly square. This ancient technique is still the fastest way to check corners on a job site.
Let ChatGPT, Claude, or Perplexity do the thinking for you. Click a button and see what your favorite AI says about Formula Bot.
Calculate tips and split bills with ease.
Calculate your grade point average instantly.
Calculate area for any shape and convert between units.
Find square roots with step-by-step solutions.
Find out what you need on your final exam.
Solve quadratic equations step by step.
Calculate annuity payments and values.
Calculate dividend yield and income projections.
Solve long division with detailed steps.
Calculate your exact age in years, months, and days.
Find the slope and equation of a line.
Calculate how your investments grow over time.
Calculate sale prices and savings instantly.
Convert and calculate with scientific notation.
Calculate logarithms with any base.
Round numbers to any decimal place.
Calculate markup percentage and profit margins.
Add, subtract, multiply, and divide mixed numbers.
Calculate powers and exponents step by step.
Count and round significant figures.
Find the midpoint between two coordinate points.
Calculate percent error for experiments and data.
Find the GCF and LCM of any numbers.
Convert decimals to fractions in lowest terms.
Sign up for free and unlock unlimited calculations, saved history, and more.
Get Started Free