Skip to main content
ExpertToolkit
Calculators
Health calculators
  • BMI calculator
  • BMR calculator
  • Body fat calculator
  • Ideal weight calculator
Math calculators
  • Percentage calculator
  • Circle area calculator
  • Rectangle area calculator
  • Pythagorean theorem calculator
  • Tip calculator
  • Discount calculator
Converters
Unit conversions
  • Meters to Feet
  • Kilograms to Pounds
  • Celsius to Fahrenheit
  • Kilometers/hour to miles/hour
  • Square meters to square feet
Material density
  • Concrete: 1 yd3 to tons
  • Diesel: gallons to pounds
  • Metals ranked by density
  • Steel vs aluminum 6061
Wire gauge
  • 12 AWG, 20A, 50 ft
  • 120V, 15A, 75 ft
  • 10 AWG vs 8 AWG
  • EV charger, 50A at 240V
Formulas
Health
  • BMI formula
Math
  • Percentage formula
Tables
Length tables
  • Meters to feet table
HomeCalculatemath/pythagorean-theorem

Pythagorean Theorem Calculator

Find the hypotenuse of a right triangle from its two shorter sides, using the Pythagorean theorem a² + b² = c².

Verification & transparency

Automated checks: engine-validated output
Last updated:2026-09-01
|
Calculation method:Formula-based calculation
|
Reference:hypotenuse = sqrt(legA * legA + legB * legB)
|Rounding & precision policy
Inputs Reference
  • Leg a (unit)
  • Leg b (unit)
Formula

hypotenuse = sqrt(legA * legA + legB * legB)

On This Page
  • Primary output (Hypotenuse)
  • Calculator inputs
  • Pythagorean Theorem Calculator | ExpertToolkit
ExpertToolkit

Free calculators, converters, and reference tables. Every tool shows its formula and its sources.

BIPM/NIST Standards Reviewed
Method and AccuracyStandards: reviewed units and formulasMethodologyEditorially maintainedStandards reviewed regularly

For corrections, privacy questions, or broken pages, contact support@experttoolkit.net

Content reviewed by Anoop Kumar

Imperial

Triangle legs

Hypotenuse5.00unit
Found a problem with this page? Send the URL and expected result.support@experttoolkit.net

Verified methodology

Calculations follow established definitions and are tested against reference datasets. We document how each tool works and when to use it.

Methodology

Data & accuracy

Unit conversions follow SI and common measurement standards. We use careful numeric handling to reduce rounding surprises.

Sources & standards

Privacy & ethics

We minimize data collection on tools. Read how we handle analytics, cookies, and your rights.

Privacy policy
Reverse solve
  • Formula and method
  • Computation graph
  • Hypotenuse decision comparison
  • Result chart
  • Common Questions
    • How does 3-4-5 square a real corner?
    • What about diagonals of rectangles and screens?
    • Does it extend beyond two dimensions?

    Core Hubs

    • Calculators
    • Converters
    • Formulas
    • Reference Tables
    • Embed widgets
    • Connect to AI

    Popular Tools

    • 12 AWG 20A check
    • EV charger wire size
    • Concrete yd3 to tons
    • Metals ranked by density
    • BMI calculator
    • Meters to feet

    Authority

    • Methodology

    © 2026 ExpertToolkit. All rights reserved.

    Release 2.5Market: United States

    Primary output (Hypotenuse)

    Hypotenuse

    5

    Computed from default inputs using graph `synth-pythagorean-theorem`.

    Calculator inputs

    Leg a
    3 unit

    Mathematical model

    hypotenuse = sqrt(legA * legA + legB * legB)

    Main equation used by this calculator. Numeric steps follow the page's precision and rounding rules.

    Term Glossary

    Leg a
    Leg a is a declared input for Pythagorean Theorem Calculator, measured in unit. Check this value and its unit before reusing the result.
    Sources & Standards
  • Rounding Policy
  • Editorial Policy
  • Corrections Policy
  • Disclaimer
  • Sitemap
  • Legal

    • Privacy Policy
    • Terms of Service
    • Contact
    • Email Support
    • Report an issue
    • Suggest a tool
    • About Us
    Leg b
    4 unit

    Pythagorean Theorem Calculator | ExpertToolkit

    For a right triangle, the square of the hypotenuse equals the sum of the squares of the legs: c = √(a² + b²). Two conditions are load-bearing and both get violated in practice: the triangle must contain a true 90° angle, and c must be the side opposite it — always the longest side. Given the hypotenuse and one leg, the rearrangement flips the sign: a = √(c² − b²).

    Reverse solve

    Solve for Leg a

    Leg a: 3.7704 for Hypotenuse 5.5

    Formula and method

    Right-triangle hypotenuse formula.

    hypotenuse=legA⋅legA+legB⋅legB hypotenuse=\sqrt{ legA\cdot legA+ legB\cdot legB}hypotenuse=legA⋅legA+legB⋅legB​

    Computation graph

    1. hypotenusesqrt(legA * legA + legB * legB)

    Hypotenuse decision comparison

    Hypotenuse decision comparison

    itemvaluenote
    Stress low4Leg a: 0
    Conservative4.59Leg a: 2.25
    Downside4.83Leg a: 2.7
    Base case5Leg a: 3
    Upside5.19Leg a: 3.3000000000000003

    Result chart

    Visual Analysis1 series8 points

    Expanded chart built from the same sensitivity run as the table, so users can read the trend and verify the numbers in one place.

    Trend
    Upward
    Min
    4
    Max
    4.5894
    Insight
    Hypotenuse shows an upward pattern, with a visible peak around 2.25 at 4.5894.
    44.14734.29474.4424.589400.32140.64290.96431.28571.60711.92862.25

    Visual response curve for Hypotenuse.

    Worked examples: the Pythagorean theorem calculator

    Will the couch fit through the stairwell turn?
    A stair opening 42 in wide with 80 in of headroom offers a diagonal of √(42² + 80²) = 90.3 in. A 96 in couch cannot pass upright or flat — but the diagonal answer says an 88 in couch clears with margin, which no amount of measuring the width alone reveals. The theorem's daily job is exactly this: converting two perpendicular limits into the real constraint.

    the Pythagorean theorem calculator — frequently asked questions

    How does 3-4-5 square a real corner?
    Mark 3 units along one edge and 4 along the other from the corner; the diagonal between the marks measures exactly 5 only when the corner is 90°. Longer multiples (6-8-10, 30-40-50 cm) improve accuracy because tape-reading error shrinks relative to the lengths. Deck framers, foundation layouts, and soccer-pitch lines all run on this one triple.
    What about diagonals of rectangles and screens?
    A rectangle's diagonal is the hypotenuse of its sides: a 16:9 screen advertised at 27 inches diagonal has width 23.5 in and height 13.2 in via this theorem. The reverse use — checking that a assembled frame's two diagonals measure equal — is the standard squareness test, again the theorem in disguise.
    Does it extend beyond two dimensions?
    Directly: the space diagonal of a box is √(l² + w² + h²) — apply the theorem twice. A 40 × 30 × 20 cm carton has a 53.9 cm internal diagonal, the longest rigid object it can hold. Each added dimension just adds another squared term.

    How to use this calculator

    Calculate the hypotenuse of a right triangle.

    Pythagorean Theorem Calculator turns Leg a and Leg b into Hypotenuse. Confirm the units and assumptions match your situation before relying on the result.

    1. Confirm the triangle has a right angle. The relation a² + b² = c² holds only when one angle is exactly 90°. Wall-to-floor, frame corners, and ladder-against-wall situations qualify; sloped or skewed layouts need the law of cosines instead.
    2. Label the hypotenuse. The hypotenuse c is the side opposite the right angle and is always the longest side. The other two sides are the legs a and b.
    3. Enter the two known sides in one unit. Convert everything to the same unit first — a run in feet and a rise in inches must both become feet (or inches) before squaring.
    4. Add or subtract, then take the square root. Finding the hypotenuse: c = √(a² + b²). Finding a leg: a = √(c² − b²) — subtract, because the hypotenuse is already the largest side.
    5. Sanity-check the result. The hypotenuse must be longer than either leg but shorter than their sum. A computed hypotenuse of 17 ft from legs of 12 ft and 5 ft (their plain sum) means the root was skipped.

    Academic performance optimization

    Important: Part-time work exceeding 20 hours/week is correlated with GPA decline (BLS data).

    Enter your values, then check the formula, scenarios, and FAQ to confirm the assumptions fit your case. For medical, financial, legal, or safety-critical decisions, treat the output as an estimate and verify it against the relevant professional standard.

    Verify this result

    This answer is computed by CalculationEngine (v1.0.0). The same inputs always produce the same figure and the same fingerprint below, so you can reproduce and cite it.

    Assumptions

    • Scenariodefault inputs
    • Methodformula-graph evaluation
    • Formulahypotenuse = sqrt(legA * legA + legB * legB)

    Inputs & outputs

    • in · legA3
    • in · legB4
    • out · Hypotenuse5

    Computation fingerprint (SHA-256)

    d5dd97ccac4575cada0b7504d064227662e765d10049f6b29abc714e50fdb2a3

    Related Tools

    Percentage CalculatorgraphAll calculatorshub

    Pythagorean Theorem Calculator context FAQ

    When is this mathematical calculation context enough?
    Use it when the result only depends on base value, comparison value, rate and no local rule changes the interpretation.
    What should I record with the result?
    Record the input values, base definition, rounding, order of operations, output unit, and rounding rule used in the calculation.
    When should I use a specialized modifier?
    Use a specialized modifier when base value, rounding precision, inverse formula, and interpretation wording materially changes how the same result should be explained.

    Common mistakes with the Pythagorean theorem calculator

    Applying it to a triangle that is not right-angled. On a 100-foot property line meeting another at 85°, the "hypotenuse" computed here is wrong by several feet. Non-right triangles need the law of cosines, which reduces to this theorem only when the angle is exactly 90°.
    Adding instead of subtracting when solving for a leg. Given a 10 ft ladder (hypotenuse) reaching a wall with its foot 3 ft out, the height is √(100 − 9) = 9.54 ft — not √109. If the computed leg comes out longer than the hypotenuse, the signs were flipped; the hypotenuse is always longest.
    Leg b
    Leg b is a declared input for Pythagorean Theorem Calculator, measured in unit. Check this value and its unit before reusing the result.
    Math Calculators
    • Percentage Calculator
    • Tip Calculator
    • Discount Calculator
    • Area of Circle
    • Pythagorean Theorem
    All Tools
    • Calculators Hub
    • Converters Hub
    • Reference Tables
    • Formulas Hub
    Method & sources

    Each calculator shows its formula and sources on the page.

    X-axis: Leg aY-axis: Hypotenuse