Favorite places of your favorite city
Home
Add to preferred sources on Google

Pythagorean Theorem Calculator

Find the missing side of a right triangle or check whether three lengths form one.

Triangle sides

Use the same unit for all sides. Enter positive lengths up to 1,000,000 with at most six decimal places.

Result

Enter the two known lengths to find the missing side.

Your lengths stay in this tab. Reloading clears them.

Find or check a side

  1. Choose the missing side and enter the two known lengths in the same unit.
  2. Select Calculate to see the length and open the details for the steps.
  3. To check a triangle, switch to Check three sides and enter all three lengths.

How the theorem works

The legs touch the right angle. The hypotenuse is the side opposite it.

Add the squares of the legs to find the square of the hypotenuse.

When finding a leg, subtract the known leg’s square from the hypotenuse’s square before taking the square root.

Examples

Legs of 3 and 4 give a hypotenuse of 5 because 9 + 16 = 25.

Two legs of 1 give the exact length √2, approximately 1.414214.

Input limits

Enter positive lengths up to 1,000,000, with up to six decimal places.

The check treats entered lengths as exact. Rounded measurements may fail the equality.

Local calculation

Your lengths are processed in this tab. Reloading clears the workspace.

Right triangle questions

It lies across from the right angle and is the longest side of a right triangle.

The two shorter lengths add up to the longest length. They meet in a straight line.

Convert them to the same unit first. The missing length uses that unit too.

Yes. Copy exact length gives a decimal when exact or a square-root expression such as sqrt(2).

Sources

The calculation follows the Pythagorean theorem for right triangles.

The calculator tests equality using the exact lengths you enter.

Number Base Converter

Convert signed integers between any bases from 2 to 36 with exact complete results and readable steps.

Open tool — Number Base Converter

Roman Numeral Converter

Convert numbers and Roman numerals in either direction, one value or a list at a time.

Open tool — Roman Numeral Converter

Number to Words

Spell whole numbers and exact decimal digits in your chosen language.

Open tool — Number to Words

Significant Figures Calculator

Count significant figures and round a written number to a chosen precision.

Open tool — Significant Figures Calculator

Scientific Calculator

Evaluate real expressions with powers, roots, logs and degree/radian trigonometry, with explicit precedence and clear numerical limits.

Open tool — Scientific Calculator

Percentage Change Calculator

Compare an original and new value to find the percentage increase or decrease and the numeric change.

Open tool — Percentage Change Calculator

Average Calculator

Find the arithmetic mean of a number list, with a clear decimal-format choice, count and sum.

Open tool — Average Calculator

Percentage Calculator

Find a percentage of a number, one number as a percentage of another, or the whole from a known amount and percentage.

Open tool — Percentage Calculator

Weighted Average Calculator

Calculate an average from values and their relative weights. Check total weight and copy an explained result.

Open tool — Weighted Average Calculator

Slope Calculator

Find the exact slope and line through two points and check a third point.

Open tool — Slope Calculator

Quadratic Formula Calculator

Solve for exact real or complex roots using the quadratic formula.

Open tool — Quadratic Formula Calculator

Decimal to Fraction Calculator

Convert a decimal to a reduced fraction and see what changes if digits repeat.

Open tool — Decimal to Fraction Calculator

Fraction Calculator

Calculate with fractions and mixed numbers, or simplify one fraction to lowest terms.

Open tool — Fraction Calculator

Standard Deviation Calculator

Calculate sample and population standard deviation from one list.

Open tool — Standard Deviation Calculator

Median Calculator

Find the median of a number list, with the middle values and a sorted preview.

Open tool — Median Calculator

Rectangle Area Calculator

Find the area of a rectangle or square from two measurements, including mixed units and feet and inches.

Open tool — Rectangle Area Calculator

GCF Calculator

Find the largest positive integer that divides every number in your list.

Open tool — GCF Calculator

Ratio Calculator

Simplify or scale ratios and solve a proportion with a missing term.

Open tool — Ratio Calculator

LCM Calculator

Find the exact least common multiple of 2–20 positive whole numbers, with the GCD and optional steps.

Open tool — LCM Calculator

Circle Area & Circumference Calculator

Find circle area and circumference from a radius or diameter, with metric and imperial unit conversion.

Open tool — Circle Area & Circumference Calculator

Scale Calculator

Convert drawing or model lengths to real dimensions, work backwards, or find the scale from matching lengths.

Open tool — Scale Calculator

Prime Number Checker

Check whether numbers are prime and see a factor pair for each composite.

Open tool — Prime Number Checker

Factor Calculator

List the divisors, factor pairs and prime factorization of an integer.

Open tool — Factor Calculator

Square Root Calculator

Simplify a square root exactly and check its decimal approximation.

Open tool — Square Root Calculator
View all tools in this category