Pythagorean Theorem Calculator Find a, b & c

Pythagorean Theorem Calculator & Converter that calculates the missing side of a right triangle. Enter any two sides of a right triangle to calculate the third side using the Pythagorean theorem: a² + b² = c² (where c is the hypotenuse).

               /|
              / |
           c /  | b
            /   |
           /____|
             a
            

a² + b² = c²

c = √(a² + b²)
a = √(c² – b²)
b = √(c² – a²)

Result:

How To use this calculator?

1. Enter any two known sides of a right triangle.
2. Click “Calculate Missing Side”.
3. View the calculated result with the formula used.

Features of this Pythagorean Theorem Calculator

Interactive Input

Fields for all three sides of a right triangle (a, b, c).
Calculates the missing side when any two sides are provided.

Comprehensive Calculations

Calculates hypotenuse when both legs are provided.
Calculates either leg when one leg and hypotenuse are provided.
Verifies if three provided sides form a valid right triangle.

Error Handling

Validates input values.
Checks triangle inequality (hypotenuse must be longest side).
Ensures positive side lengths.
Provides clear error messages.

Visual Elements

ASCII art triangle diagram.
Displays the Pythagorean formula.
Shows step-by-step calculation.

User Friendly Design

Clean, responsive layout.
Clear labels and instructions.
Immediate feedback with results.