Pythagorean Theorem Calculator

Solve right triangles by finding a, b, or c with instant formulas, step-by-step solutions, simplified radicals, Pythagorean triple detection, and a dynamic labeled triangle diagram.

Last Updated: April 9, 2026

Use the two legs of a right triangle to calculate the hypotenuse with \(c = \sqrt{a^{2} + b^{2}}\).

Example Generator

Tap a preset to load a practice problem instantly.

Enter one leg of the right triangle.

Enter the other leg of the right triangle.

Final Answer

Review the answer, the active formula, and the exact under-the-root value.

Live result

Solved Side

c = —

Formula Used

Decimal Result

Simplified Radical

No simple radical form

Radicand

Triple Check

\(a^{2}\)

\(b^{2}\)

\(c^{2}\)

Formula substitution

Enter values to see the substitution step.

The calculator squares the known sides first, then adds or subtracts based on the mode, and finally takes the square root to reveal the missing side.

Right Triangle Diagram

The highlighted edge is the side being solved.

Solve c
a = 3b = 4c = 5

Side a

3

Side b

4

Side c

5

Step-by-Step Solution

Follow the substitution, squaring, arithmetic, and square-root steps in order.

5 clear steps
  1. Enter valid right-triangle side lengths to generate the full solution path.

Geometry Learning Notice

This calculator is designed for education, homework checking, and practical estimation. It assumes a right triangle and standard Euclidean geometry. For regulated engineering, surveying, or safety-critical work, confirm dimensions and methods with the standards and tools required by your institution or project.

Reviewed For Methodology, Labels, And Sources

Every CalculatorWallah calculator is published with visible update labeling, linked source references, and founder-led review of formula clarity on trust-sensitive topics. Use results as planning support, then verify institution-, policy-, or jurisdiction-specific rules where they apply.

Reviewed By

Jitendra Kumar, Founder & Editorial Standards Lead, oversees methodology standards and trust-sensitive publishing decisions.

Review editor profile

Topic Ownership

Sales tax and tax-sensitive estimate tools, Education and GPA planning calculators, Health, protein, and screening-formula pages, Platform-wide publishing standards and methodology

See ownership standards

Methodology & Updates

Page updated April 9, 2026. Trust-critical pages are reviewed when official rates or rules change. Evergreen calculator guides are checked on a recurring quarterly or annual cycle depending on topic volatility.

How to Use This Calculator

Start with the question, not the formula. If your problem asks for the longest side of a right triangle, use the hypotenuse tab. If your problem already gives the hypotenuse and one leg, switch to the matching leg tab. That sounds obvious, but it prevents the most common classroom mistake: using addition when the problem actually needs subtraction.

Next, type the known sides exactly as they appear in the problem. Decimals are supported, so you can use classroom examples, coordinate-geometry values, or measured lengths from design, construction, or mapping work. In the leg modes, the calculator checks that c is the largest side because the hypotenuse must always be opposite the right angle.

After that, read the formula substitution panel before you jump to the answer. That panel exposes whether the tool is using \(c = \sqrt{a^{2} + b^{2}}\), \(a = \sqrt{c^{2} - b^{2}}\), or \(b = \sqrt{c^{2} - a^{2}}\). If the substitution does not match your expectation, the issue is usually labeling rather than arithmetic.

Finally, use the extra context instead of stopping at one number. The squared values help you see the structure of the theorem. The simplified radical helps when your teacher wants an exact form. The triple detector helps you spot common integer patterns. The diagram and worked steps make the result easier to understand than a black-box answer ever could.

  1. Step 1: Choose what you want to solve

    Select Find Hypotenuse, Find Leg a, or Find Leg b so the calculator exposes only the inputs that matter for that right-triangle question.

  2. Step 2: Enter the known side lengths

    Type decimals or whole numbers. In the leg-finding modes, enter the hypotenuse as c and make sure it is longer than the known leg.

  3. Step 3: Let the calculator square the values

    The tool immediately computes the squared values for sides a, b, and c so you can see the theorem in squared form before the root is taken.

  4. Step 4: Review the substituted formula

    Check the exact formula with your numbers inserted. This is the fastest way to verify that you picked the correct mode and labeled c correctly.

  5. Step 5: Follow the step-by-step solution

    Use the guided steps to see the squaring, addition or subtraction, and the final square-root step in order.

  6. Step 6: Use the diagram and examples

    The triangle diagram highlights the side being solved, and the example generator gives you quick practice problems on mobile or desktop.

How This Calculator Works

The calculator separates the theorem into the three workflows people actually use: finding the hypotenuse, finding leg a, and finding leg b. That matters because each workflow has a different rearranged formula even though all three come from the same core relationship \(a^2 + b^2 = c^2\).

When you enter values, the calculation engine validates that the inputs are numeric and positive. In the leg-finding modes it also checks that the hypotenuse is larger than the known leg, because otherwise the problem does not describe a valid right triangle. The math is then handled with precise decimal arithmetic so classroom and measurement inputs stay stable.

The result panel exposes more than the final side length. It shows the exact formula used, the substituted expression, the square values, the radicand under the root, the decimal result, and a simplified radical when the answer can be expressed neatly. That makes the calculator useful for both exact-form learning and quick applied work.

The visualization layer then labels the triangle and highlights the solved side, while the step-by-step section lays out the method in order: write the theorem, substitute values, square the known sides, combine the squared values, and take the square root. Integer-result detection and triple detection add one more educational layer by helping you recognize common right-triangle patterns.

What You Need to Know

What Is the Pythagorean Theorem?

The Pythagorean theorem is one of the most important relationships in elementary mathematics. It says that for a right triangle, the sum of the squares of the two legs equals the square of the hypotenuse. In symbols, that means \(a^{2} + b^{2} = c^{2}\). The theorem turns geometry into arithmetic: once you know any two relevant side lengths of a right triangle, you can solve the third side with a reliable, repeatable process.

Its importance comes from how often right triangles appear. A rectangle cut across the diagonal creates two right triangles. A ladder leaning against a wall creates one. A map grid, a coordinate plane, a roof pitch, a staircase, a navigation problem, a game-world diagonal, or the direct-line distance between two points all reduce to the same pattern. That is why a pythagorean theorem calculator has broad value for students, teachers, builders, and anyone dealing with distance.

The theorem is also a bridge between mathematical topics. In basic geometry, it helps you solve missing sides. In trigonometry, it supports the unit circle and right-triangle ratios. In algebra, it becomes an equation to simplify or rearrange. In analytic geometry, it powers the distance formula. In three dimensions, it extends to diagonals through boxes, rooms, and coordinate space. Few formulas travel across as many classrooms and real-life tasks as this one.

A good solver therefore does more than output a number. It should show why the formula works, when it applies, what the side labels mean, and what the answer looks like in exact and decimal form. That is the point of this page: the calculator handles the arithmetic quickly, while the content around it helps you learn the structure well enough to recognize the theorem anywhere it appears.

Formula Breakdown

The standard statement is \(a^{2} + b^{2} = c^{2}\). Here, \(a\) and \(b\) are the two legs that meet at the right angle, and \(c\) is the hypotenuse, the longest side. Squaring a length means multiplying it by itself. So if \(a = 3\), then \(a^{2} = 9\). The theorem is therefore not adding raw lengths together. It is adding squared lengths, which is why the process must always start with the squaring step.

One useful way to understand the theorem is as an area statement. Imagine a square built on each side of the triangle. The area of the square on side \(a\) is \(a^{2}\), the area on side \(b\) is \(b^{2}\), and the area on side \(c\) is \(c^{2}\). The theorem says the two smaller square areas add up exactly to the largest square area. That is why many classic proofs cut shapes apart and rearrange them rather than relying only on symbolic algebra.

Rearranging the formula is straightforward once the side labels are correct. To find the hypotenuse, you add the leg squares and take the square root. To find a missing leg, you subtract the known leg square from the hypotenuse square and then take the square root. The square root is the final step because it undoes the square. Skipping directly to a raw subtraction or addition of side lengths misses the whole structure of the theorem.

This calculator keeps that structure visible. It shows the formula, the substitution with your values, the squared numbers, the radicand under the root, and the final decimal answer. That matters because many learners can reproduce the formula from memory but still lose track of where the square or the square root belongs. A transparent step chain fixes that problem quickly.

Use caseFormulaWhy it matters
Find hypotenuse\(c = \sqrt{a^{2} + b^{2}}\)Use this when both legs are known and you need the longest side.
Find leg a\(a = \sqrt{c^{2} - b^{2}}\)Use this when the hypotenuse and side b are known.
Find leg b\(b = \sqrt{c^{2} - a^{2}}\)Use this when the hypotenuse and side a are known.
Area view\(a^{2} + b^{2} = c^{2}\)Think of the theorem as an area relationship, not only as a side-length rule.

Historical Journey

Although the theorem is named after Pythagoras, the underlying relationship is much older than the Pythagorean school. Ancient Babylonian evidence shows that people were already working with right-triangle relationships and integer triples long before classical Greece. Tablets such as Plimpton 322 are often discussed because they suggest systematic knowledge of number patterns connected to right triangles rather than isolated lucky examples.

Egyptian rope-stretching traditions are also part of the story. Historians often mention the practical use of triangles in surveying and land measurement, especially when straight lines and right angles had to be built in the field. Even when the exact documentary evidence is debated, the broader point is clear: the need to measure land, buildings, and distances pushed many cultures toward the same geometric insights.

In India, the Sulba Sutras include statements that reflect the theorem and its use in altar construction. These texts show that the right-triangle relationship was not only abstract knowledge. It was tied to ritual layout, measurement, and practical geometry. That is a pattern repeated across history: mathematics grows when people need exact shapes in the real world.

Chinese mathematics provides another major chapter. The Nine Chapters and later commentary by Liu Hui include problems and proofs related to the theorem. Chinese presentations often emphasize cutting and rearranging shapes, which makes the geometric meaning of the theorem especially vivid. This is one reason the theorem has so many proof traditions around the world: the relation is simple enough to rediscover, yet deep enough to invite many forms of explanation.

Pythagoras and the Pythagorean tradition still matter because Greek mathematics pushed the move from useful rule to formal proof. Even if earlier cultures knew the relationship, the Greek tradition helped frame mathematics as a system of reasons, not just results. That intellectual shift shaped how later generations learned geometry.

Euclid then gave the theorem its most famous classical home in Book I, Proposition 47 of the Elements. In Euclid, the theorem becomes part of a logical sequence built from definitions, postulates, and earlier results. That placement helped make the theorem a permanent fixture of geometry education. So the history is best understood as layered: Babylon, Egypt, India, and China show deep prehistory; Pythagoras symbolizes the Greek tradition; Euclid gives the theorem durable textbook form.

How to Use This Calculator

The interface is split into three tabs because students do not always ask the same question. Some problems say “find the hypotenuse.” Others say “find the missing leg.” By separating those workflows, the calculator removes the need to mentally rearrange the theorem first. That reduces errors, especially on phones where you want the form to be obvious immediately.

When you enter values, the solver recalculates in real time. That makes it useful for practice and for intuition. Change a leg from 4 to 5 and you instantly see how the hypotenuse changes. Change a known leg while solving for the other leg and you see how the radicand under the square root changes. Small adjustments build a better feel for the theorem than static worksheet answers do.

The worked steps are especially useful when you are checking homework. Instead of only seeing the final number, you can compare your own notebook steps against the calculator. Did you square first? Did you subtract the smaller square from the hypotenuse square? Did you take the square root at the end? The step panel makes those checks almost mechanical.

The page also connects naturally to other math tools. If your next move is a trig ratio or a coordinate computation, continue to the scientific calculator. If the theorem is only one part of a larger symbolic rearrangement, the math equation solver can help. If you need a geometry follow-up after finding side lengths, browse the geometry tools and the wider math calculators hub.

Worked Examples

Worked examples are where the theorem becomes reliable rather than symbolic. The four cases below cover the most common classroom and real-world patterns: basic hypotenuse solving, missing-leg solving, an applied ladder example, and a decimal-measurement case.

Worked Example 1: Basic Hypotenuse

A right triangle has legs 6 and 8. Find the hypotenuse.

\[c = \sqrt{6^{2} + 8^{2}}\]
\[c = \sqrt{36 + 64} = \sqrt{100}\]

Answer: c = 10

This is a scaled 3-4-5 triangle. It shows how quickly the theorem confirms a familiar pattern and gives an exact integer result.

Worked Example 2: Missing Leg

A right triangle has hypotenuse 13 and one leg 5. Find the other leg.

\[b = \sqrt{13^{2} - 5^{2}}\]
\[b = \sqrt{169 - 25} = \sqrt{144}\]

Answer: b = 12

This example highlights the subtraction mode. When the hypotenuse is known, you remove the known leg square and then take the root.

Worked Example 3: Real-World Ladder

A ladder reaches 12 feet up a wall and its base is 5 feet from the wall. Find the ladder length.

\[c = \sqrt{12^{2} + 5^{2}}\]
\[c = \sqrt{144 + 25} = \sqrt{169}\]

Answer: c = 13 feet

Real objects often hide textbook triples. Construction and safety checks use the same geometry as classroom exercises.

Worked Example 4: Decimal Measurement

A rectangle corner-to-corner path uses legs 2.5 m and 6 m. Find the diagonal.

\[c = \sqrt{2.5^{2} + 6^{2}}\]
\[c = \sqrt{6.25 + 36} = \sqrt{42.25}\]

Answer: c = 6.5 m

Decimal inputs are common in measurement work. The theorem still behaves the same way, and exact-looking answers can still appear.

Pythagorean Triples

Pythagorean triples are whole-number side lengths that satisfy the theorem exactly. The best-known example is 3-4-5 because \(3^{2} + 4^{2} = 9 + 16 = 25 = 5^{2}\). Triples matter because they make right-triangle work fast and clean. If a problem fits a known triple or a scaled version of one, you can often recognize the answer before you even reach for a calculator.

A primitive triple is a triple whose three numbers share no common factor greater than 1. The triple 3-4-5 is primitive. The triple 6-8-10 is not, because every term is just 2 × (3-4-5). This calculator marks primitive and non-primitive integer triples separately because that distinction is useful in number theory and in classroom pattern recognition.

One classical way to generate primitive triples is Euclid’s formula. If \(m\) and \(n\) are whole numbers with \(m > n\), then \(a = m^{2} - n^{2}\), \(b = 2mn\), and \(c = m^{2} + n^{2}\) produces a Pythagorean triple under the usual conditions on \(m\) and \(n\). This is a beautiful example of algebra creating geometry. It also shows that the theorem is not just a one-problem tool. It opens the door to families of exact solutions.

Triples are useful mentally because they train your eye. When you see legs 8 and 15, experienced students often suspect 17 immediately. When you see 5 and 12, you should think 13. That recognition speeds up exam work, construction checking, and estimate-heavy problem solving. Even when the values are decimals, the habit of looking for a nearby triple helps you judge whether a result is reasonable.

Converse Theorem

The converse of the Pythagorean theorem flips the usual direction of reasoning. The original theorem says: if a triangle is right, then its side lengths satisfy \(a^{2} + b^{2} = c^{2}\). The converse says: if a triangle’s side lengths satisfy \(a^{2} + b^{2} = c^{2}\), then the triangle must be right. This is extremely useful when the angle is not drawn or labeled clearly.

The converse turns side lengths into a classification test. Suppose you know the sides are 6, 8, and 10. Because \(6^{2} + 8^{2} = 36 + 64 = 100 = 10^{2}\), the triangle is right. If the sum of the smaller squares is larger than the largest square, the triangle is acute. If the sum is smaller, the triangle is obtuse. That gives you a clean side-based method for understanding triangle shape.

This classification idea matters outside textbook geometry. In design, surveying, navigation, and graphics, you often know side lengths or coordinates before you know angles. The converse lets you test whether a shape is truly square-cornered or only close. It is one more reason the theorem belongs in a practical calculator, not only in a chapter heading.

Square comparisonTriangle typeInterpretation
\(a^{2} + b^{2} = c^{2}\)Right triangleThe converse theorem confirms the angle opposite c is 90 degrees.
\(a^{2} + b^{2} > c^{2}\)Acute triangleThe longest side is still too short to create a right angle.
\(a^{2} + b^{2} < c^{2}\)Obtuse triangleThe longest side is long enough that the opposite angle opens wider than 90 degrees.

Famous Proofs

There are hundreds of known proofs of the Pythagorean theorem, and that alone tells you something important: the theorem is simple, central, and rich enough to be rediscovered from many directions. Some proofs rely on area, some on similarity, some on algebra, and some on clever rearrangement. That variety makes the theorem a favorite in both school mathematics and the history of mathematics.

Geometric rearrangement proofs are often the easiest to visualize. They place copies of the same right triangle inside a larger square in two different ways. One arrangement leaves the square on the hypotenuse exposed; the other leaves the two smaller squares exposed. Because the total outer area is the same in both pictures, the inside leftover areas must be equal, giving \(a^{2} + b^{2} = c^{2}\).

Algebraic and similarity-based proofs are equally valuable because they connect the theorem to broader reasoning styles. A similarity proof shows that dropping an altitude from the right angle creates smaller triangles similar to the original one. From those proportions, the square relationship emerges naturally. James Garfield’s famous proof uses a trapezoid and area formulas, showing that even a future U.S. president found the theorem worth revisiting.

Geometric Rearrangement Proof

Place four copies of the same right triangle inside a large square in two different arrangements. The outer area stays fixed, so the leftover interior area in one picture must equal the leftover interior area in the other. That leftover comparison becomes \(a^{2} + b^{2} = c^{2}\).

Euclid’s Proof

Euclid builds squares on the sides of the triangle and uses earlier geometric propositions to show that the square on the hypotenuse equals the sum of the two squares on the legs. It is a classical proof built from rigorous geometry rather than algebraic shorthand.

Garfield’s Trapezoid Proof

James Garfield arranged two copies of a right triangle into a trapezoid and equated the trapezoid area with the triangle areas inside it. After simplifying, the Pythagorean relationship appears. It is short, elegant, and historically memorable.

3D Extension

The theorem is not limited to flat triangles. In three dimensions, you can use it twice to find a space diagonal. For a rectangular box with length \(l\), width \(w\), and height \(h\), first find the floor diagonal with \(\sqrt{l^{2} + w^{2}}\). Then combine that floor diagonal with the height to get the full space diagonal: \(\sqrt{l^{2} + w^{2} + h^{2}}\).

This 3D extension appears in packaging, interior layout, warehouse planning, engineering models, and computer graphics. If you want to know the longest object that can fit inside a box, or the direct-line distance from one corner of a room to the opposite upper corner, you are applying a three-dimensional version of the same right-triangle idea.

Seeing the 3D extension helps students realize that the theorem is really about perpendicular directions. On a coordinate grid, horizontal and vertical movement are perpendicular. In a box, length, width, and height are perpendicular. Whenever you can break a problem into perpendicular components, the Pythagorean structure is nearby.

Real-Life Applications

The theorem survives in modern life because it solves direct-distance questions whenever two perpendicular measurements are known. The six application cards below show how the same right-triangle relationship reappears across manual work, digital systems, and technical planning.

Construction

Builders use the theorem to check square corners, estimate ladder length, lay out ramps, and confirm diagonal bracing. The classic 3-4-5 rule is really the theorem in field-friendly form.

Navigation

When east-west and north-south travel legs are known, the straight-line displacement comes from the theorem. It is a natural first model for route planning and map-based estimation.

Architecture

Roof pitch, stair layout, framing, and diagonal supports all rely on right triangles. Architects and drafters constantly move between plans, elevations, and true lengths.

Physics

Perpendicular vector components combine through the theorem. Velocity components, force decomposition, and displacement problems often reduce to right-triangle magnitude calculations.

Gaming & Graphics

Game engines and graphics systems use right-triangle distance for collision checks, movement range, light rays, camera paths, and diagonal travel across coordinate grids.

Mapping & Surveying

Surveyors use perpendicular offsets and measured baselines to determine missing distances. The theorem remains one of the simplest and most practical field-geometry tools.

Distance Formula Connection

The distance formula in coordinate geometry is the Pythagorean theorem written in coordinate language. If two points are \((x1, y1)\) and \((x2, y2)\), the horizontal change is \(x2 - x1\) and the vertical change is \(y2 - y1\). Those two changes form the legs of a right triangle, so the straight-line distance is \(\sqrt{(x2 - x1)^{2} + (y2 - y1)^{2}}\).

This is one of the best examples of mathematical transfer. A student may first meet the theorem while solving for a missing side in a triangle diagram. Later, the same idea powers graphing, slope-distance relationships, midpoint work, vectors, and analytic geometry. The theorem does not disappear as math becomes more advanced. It simply changes clothing.

If you want to compute coordinate expressions directly, the scientific calculator can evaluate the full distance-formula expression once you know the coordinate differences. If your problem mixes angle conversion with triangle distance, the angle converter helps keep degree and radian work consistent.

Tips & Tricks

The fastest mental shortcut is triple recognition. If you see 3 and 4, think 5. If you see 5 and 12, think 13. If you see 8 and 15, think 17. The more of these you know, the more often you can estimate or check an answer instantly.

Another strong habit is to estimate before computing. If the legs are 9 and 12, the hypotenuse must be longer than 12 but shorter than 21. More tightly, because 9-12-15 is a scaled version of 3-4-5, you can expect 15 exactly. Estimation catches sign errors, wrong-mode errors, and bad calculator input before they become final answers.

A final trick is to think in squares first. Instead of immediately worrying about the root, look at the squared numbers: \(7^{2} = 49\), \(24^{2} = 576\), total \(625\), root \(25\). Many students find the theorem easier when they treat it as a square puzzle followed by one last square-root step.

Memorize small triples first

Start with 3-4-5, 5-12-13, and 8-15-17. Those three alone cover a surprising number of school and field examples.

Check the largest side before anything else

If c is not the longest side, the setup is wrong. Fix the labels before you touch the arithmetic.

Estimate the result range

A hypotenuse must be longer than either leg but shorter than their sum. A missing leg must be shorter than the hypotenuse.

Use squares as checkpoints

Sometimes it is easier to judge 169, 144, and 25 than 13, 12, and 5. The squared layer often reveals mistakes early.

Know when the theorem is not enough

If the triangle is not right, switch methods. The theorem is powerful, but it is not a universal triangle formula.

Common Mistakes

Most mistakes with the Pythagorean theorem are not deep. They are labeling mistakes, operation-order mistakes, or context mistakes. That is actually good news, because once you know what to watch for, they are easy to correct. The theorem itself is stable; the trouble usually comes from rushing through the setup.

The biggest setup rule is simple: \(c\) is always the hypotenuse. That means it is always opposite the right angle and always the longest side. If you respect that one rule, most rearrangements become automatic. If you ignore it, even good arithmetic can lead to the wrong expression.

The next rule is just as important: square first, then combine, then take the square root. Students sometimes compress those stages into one mental blur and end up adding or subtracting raw lengths. Separating the stages keeps the method accurate and also makes your written work easier to check.

MistakeWhy it happensHow to fix it
Using the theorem on a non-right triangleThe formula only works when one angle is exactly 90 degrees.Confirm the right angle first or switch to another triangle method such as the Law of Cosines.
Choosing the wrong side for cStudents sometimes label the longest side as a or b and then subtract or add in the wrong place.Always assign c to the side opposite the right angle before writing the formula.
Forgetting to square the numbersPeople often add 3 and 4 to get 7 instead of squaring first.Follow the order: square, combine, square root.
Subtracting in hypotenuse modeThe missing hypotenuse is never found by \(c = \sqrt{a^{2} - b^{2}}\).Use addition for c, subtraction only for a missing leg.
Ignoring decimal accuracyRounded inputs can turn a neat exact answer into a decimal that looks slightly off.Keep enough decimal places when measurements come from real tools or coordinate data.

Pythagorean Triples Table

A reference table of common triples is more than a memorization list. It gives you checkpoints for homework, mental math, and estimation. If your computed answer is close to a known triple but not exact, that may be perfectly fine because your input was decimal or measured. If your answer is nowhere near a reasonable benchmark, it is a sign to recheck the setup.

You do not need to memorize every triple below. Start with the smallest families, notice how scaled versions behave, and use the calculator to explore how the step-by-step solution changes from one pattern to another. Recognition grows quickly with repeated exposure.

TripleUse it forQuick mental check
3-4-5Fastest classroom checkWorks for ladder, rectangle, and grid examples.
5-12-13Popular textbook setGood when one leg is much longer than the other.
7-24-25Useful for larger mental-math drillsThe numbers are bigger but still exact.
8-15-17Common engineering-style exampleOften used in trig and slope problems.
9-40-41Great for checking large trianglesShows how one short leg can still pair with a big hypotenuse.
12-35-37Nice intermediate practice setHelpful when testing subtraction mode for a missing leg.
20-21-29Near-isosceles feelingGood reminder that triples do not have to look balanced.
28-45-53Longer-form exact setUseful when you want nontrivial exact outputs.

If you want to keep practicing triangle workflows beyond missing sides, try the triangle calculator and area tools in the measurement section. For broader problem sets, return to the math calculators hub and combine this theorem page with the scientific calculator whenever you need coordinate-distance or radical-expression follow-up.

Frequently Asked Questions

The Pythagorean theorem states that in a right triangle, a^2 + b^2 = c^2, where c is the hypotenuse and a and b are the two legs.

Square both legs, add those squares, and take the square root. In formula form, c = sqrt(a^2 + b^2).

Rearrange the theorem so the missing leg is alone. For example, a = sqrt(c^2 - b^2) and b = sqrt(c^2 - a^2).

No. It works only for right triangles, which have one 90-degree angle. Non-right triangles need other tools such as the Law of Cosines.

Pythagorean triples are whole-number side lengths that satisfy the theorem exactly, such as 3-4-5, 5-12-13, and 8-15-17.

The side labeled c is the hypotenuse, which always sits opposite the right angle. In any right triangle, the hypotenuse is the longest side.

Yes. You can enter decimal side lengths and the calculator will square, add or subtract, and then take the square root using the same theorem.

The converse says that if a triangle has side lengths satisfying a^2 + b^2 = c^2, then the triangle must be a right triangle.

It is used in construction, navigation, coordinate geometry, architecture, mapping, gaming, and physics whenever a right-triangle distance must be found.

Yes. The calculator is free to use on CalculatorWallah for study, homework checking, planning, and quick geometry verification.

Related Calculators

Sources & References

  1. 1.OpenStax Precalculus - Right Triangle Trigonometry(Accessed April 2026)
  2. 2.Encyclopaedia Britannica - Pythagorean Theorem(Accessed April 2026)
  3. 3.MacTutor History of Mathematics - Pythagoras of Samos(Accessed April 2026)
  4. 4.MacTutor History of Mathematics - Euclid(Accessed April 2026)
  5. 5.David Joyce - Euclid’s Elements, Book I, Proposition 47(Accessed April 2026)