Everyday Math Essentials
Cover quick calculations for percentages, fractions, averages, and ratios used in school, shopping, and spreadsheets.
Calculate missing side of a right triangle
a² + b² = c²
where c is the hypotenuse
The Pythagorean theorem is a fundamental principle in geometry that describes the relationship between the sides of a right triangle. It states that in a right triangle, the square of the length of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the lengths of the other two sides.
The theorem is expressed as: a² + b² = c²
Where:
While named after the ancient Greek mathematician Pythagoras (c. 570-495 BCE), the theorem was known to earlier civilizations including the Babylonians and Indians. Pythagoras is credited with providing one of the first known proofs of the theorem, though hundreds of different proofs have been discovered since.
A Pythagorean triple is a set of three positive integers a, b, and c that satisfy the Pythagorean theorem. Common examples include:
Any multiple of a Pythagorean triple is also a Pythagorean triple. For example, 6-8-10 (double of 3-4-5) and 9-12-15 (triple of 3-4-5) are also valid triples.
No, the Pythagorean theorem only works for right triangles (triangles with one 90-degree angle). For other triangles, you need to use different formulas like the Law of Cosines or the Law of Sines.
The hypotenuse is always the longest side of a right triangle and is always opposite the right angle (90-degree angle). The other two sides are called legs and they form the right angle.
Yes! The theorem extends to three dimensions. To find the distance between two points in 3D space, use: d² = x² + y² + z², where x, y, and z are the differences in coordinates along each axis. This is essentially applying the theorem twice.
If your triangle doesn't have a right angle, you cannot use the Pythagorean theorem. Instead, use the Law of Cosines: c² = a² + b² - 2ab·cos(C), where C is the angle opposite side c. When C = 90°, cos(C) = 0, and this reduces to the Pythagorean theorem.
Our calculator uses JavaScript's built-in Math functions which provide double-precision floating-point arithmetic. Results are accurate to many decimal places, though we typically display results rounded to 2 decimal places for practical use.
You can use any units of length (inches, feet, meters, centimeters, etc.) as long as all measurements use the same unit. The result will be in the same unit as your inputs. For example, if you enter sides in meters, the result will be in meters.
Common examples include: calculating the length of a ladder needed to reach a certain height, finding the diagonal of a TV or monitor screen, determining the distance across a rectangular field, checking if a corner is square in construction, and calculating the shortest path between two points on a grid.
These grouped paths are designed to help you continue with the most common follow-up calculations in this category.
Cover quick calculations for percentages, fractions, averages, and ratios used in school, shopping, and spreadsheets.
Move from powers and logarithms into more advanced solving tools when the problem gets more complex.
Calculate dimensions, area, and triangle relationships using a connected geometry workflow.