1. Converter Tools > 
  2. Calculators > 
  3. Lengths > 
  4. Pythagorean Theorem Calculator

Pythagorean Theorem Calculator

Find the third side of a right triangle from two sides. Example: a=3, b=4 → c=5. Enter any two sides. Choose which side to solve for. Copy result.

The Pythagorean theorem states that in a right triangle, the square of the hypotenuse (the side opposite the right angle) equals the sum of the squares of the other two sides: a² + b² = c². Enter any two sides and choose which side to solve for (a, b, or c). The calculator finds the third side. Use any length unit (m, ft, in) consistently. Copy the result or Copy with labels.

Loading…

Advertisement

Examples

  • a=3, b=4 → c=5
  • a=5, c=13 → b=12
  • b=8, c=10 → a=6

FAQ

What is the Pythagorean theorem?

In a right triangle, a² + b² = c² where c is the hypotenuse (side opposite the right angle).

How do I find the hypotenuse?

If you know the two legs a and b, c = √(a² + b²).

How do I find a leg if I know the hypotenuse and the other leg?

a = √(c² − b²) or b = √(c² − a²). The unknown leg must be shorter than the hypotenuse.

What units can I use?

Any length unit (meters, feet, inches). Use the same unit for all sides. The result is in that unit.

What if the sides don't form a right triangle?

For a leg, c must be greater than the other leg. Otherwise there is no real solution.

Advertisement

Related

  • Feet and Inches Calculator
  • Circle Circumference Calculator
  • Circle Area Calculator
  • Triangle Area Calculator
  • Rectangle Area and Perimeter Calculator
Ad
Converter Tools

  • Home


    • Conversions
      • Length Converter
      • Area Converter
      • Volume Converter
      • Color Converter
      • Weight Converter
      • Temperature Converter
      • Angle Converter
      • Time Converter
      • Data Size Converter
      • Energy Converter
      • Number Base Converter
    • Calculators
      • Lengths
        • Feet and Inches Calculator
        • Pythagorean Theorem Calculator
        • Circle Circumference Calculator
        • Circle Area Calculator
        • Triangle Area Calculator
        • Rectangle Area and Perimeter Calculator
      • Percentages
        • What is X% of Y Calculator
        • X is What Percent of Y Calculator
        • Percentage Change Calculator
        • Add or Subtract Percentage Calculator
      • Time
        • Age Calculator
        • Date Difference Calculator
        • Day of Week Calculator
        • Countdown Calculator
        • Week Number Calculator
      • Body indices
        • BMR Calculator
        • TDEE Calculator
        • Ideal Weight Calculator
        • Body Fat Percentage Calculator
        • Waist-to-Hip Ratio Calculator
        • Calorie Deficit Calculator
        • BMI Calculator
      • Finance
        • Tip Calculator
        • Discount Calculator
        • Simple Interest Calculator
        • Compound Interest Calculator
        • Loan Payment (EMI) Calculator
      • Math
        • Quadratic Equation Solver
        • Factorial Calculator
        • GCD and LCM Calculator
        • Prime Number Checker
    • Dev Tools
      • Base64 Encode and Decode
      • Password Generator
      • QR Code Generator
      • Regex Tester
      • UUID Generator
    • Images
      • Image Conversions
      • Image Compression
      • Image Resize
      • Image Grayscale
      • EXIF Reader
      • Image Filters
      • Edge Detection
      • Image Crop
      • Image Rotate & Flip
      • Image Format Info
      • Image Thumbnail
    • File conversions
      • CSV and Excel Converter
    • PDF editing
      • Merge PDFs
      • Split PDF
      • Extract PDF pages
      • Rotate PDF pages
      • Add watermark to PDF
      • PDF metadata
    • Cheatsheets
      • CSS
        • CSS Color Cheatsheet
        • CSS Common Properties Cheatsheet
        • CSS Flexbox Cheatsheet
        • CSS Grid Cheatsheet
      • HTML
        • HTML Cheatsheet
      • Markdown
        • Markdown Cheatsheet
      • Git
        • Git Cheatsheet
      • Regex
        • Regex Cheatsheet
      • Time
        • Unix Timestamp Cheat
    • About
    • Contact
    • Privacy Policy
    • Terms of Use

        Built with by Hugo

        We use cookies and similar technologies for ads (e.g. Google AdSense) and analytics. By continuing you consent to our Privacy Policy. You can change preferences anytime.