Free Right Triangle Calculator

right triangle

Enter the known values of your right triangle and click Calculate to find all missing sides, angles, and area.

Understanding Right Triangles

A right triangle, also called a right‑angled triangle, is defined by a single interior angle of exactly 90°. The other two angles are necessarily acute, summing to 90° because the total of all three angles is always 180°. The side opposite the right angle is the hypotenuse—the longest side. The two sides that form the right angle are the legs (or catheti). This simple shape is the foundation of trigonometry and has countless practical applications.

The Pythagorean Theorem and Side Calculations

The Pythagorean theorem is the cornerstone of right‑triangle analysis:

a2+b2=c2,a^{2} + b^{2} = c^{2},

where cc is the hypotenuse and aa and bb are the legs. Solving for the hypotenuse gives c=a2+b2c = \sqrt{a^{2} + b^{2}}; solving for a leg gives a=c2−b2a = \sqrt{c^{2} - b^{2}}. The set of numbers (3,4,5) is a classic example of a Pythagorean triple—three integers that satisfy the equation.

A right triangle calculator automates these operations: input any two sides, and it returns the third. Many tools also compute the area and the remaining angles. For instance, a free right triangle calculator found online lets you quickly obtain missing lengths without manual calculation.

Calculating the Area

Because the legs are perpendicular, one serves as the base and the other as the height. The area is simply half their product:

Area=12×a×b.\text{Area} = \frac{1}{2} \times a \times b.

If only the hypotenuse and one leg are known, use the Pythagorean theorem to find the other leg before applying the area formula. A dedicated right triangle area calculator can handle this automatically.

Special Right Triangles

Two classes of right triangles have side ratios that are particularly easy to remember.

The 45‑45‑90 Triangle

An isosceles right triangle, where the two legs are equal. If each leg measures aa, the hypotenuse is a2a\sqrt{2}. The angles are 45°, 45°, and 90°. This triangle is half of a square divided by its diagonal.

The 30‑60‑90 Triangle

With angles of 30°, 60°, and 90°, the sides follow a fixed pattern: opposite the 30° angle is the shortest leg aa; opposite the 60° angle is the leg a3a\sqrt{3}; the hypotenuse is 2a2a. Its area is a232\frac{a^{2}\sqrt{3}}{2} and its perimeter is a(3+3)a(3+\sqrt{3}).

Such special right triangles appear frequently in geometry and trigonometry problems. A right triangle solver can quickly confirm calculations for these or any other triangle.

Slope and Perpendicularity

The concept of slope is closely tied to right triangles. For a line segment connecting two points (x1,y1)(x_1,y_1) and (x2,y2)(x_2,y_2), the slope is y2−y1x2−x1\dfrac{y_2 - y_1}{x_2 - x_1}. Two lines are perpendicular if the product of their slopes equals −1-1. This property provides a simple test for a right angle when coordinates are known.

Angle Conversion

Angles in a right triangle can be expressed in degrees or radians. To convert:

  • Radians to degrees: multiply by 180π\dfrac{180}{\pi}.
  • Degrees to radians: multiply by π180\dfrac{\pi}{180}. Many right angle triangle calculators include built‑in conversion to simplify the process.

Real‑World Applications

Right triangles are everywhere in practical problem‑solving.

Measuring Heights via Shadows

When the sun shines on a vertical object, the object, its shadow, and the line from the top of the object to the tip of the shadow form a right triangle. By measuring the shadow length and the sun’s angle of elevation, the object’s height can be calculated using tangent functions. This technique was used by Eratosthenes to estimate the Earth’s circumference.

Eratosthenes’ Earth‑Radius Measurement

Eratosthenes knew that at noon on the summer solstice, sunlight reached the bottom of a deep well in Syene (now Aswan), meaning the sun was directly overhead. He measured the shadow of a vertical pillar in Alexandria, a known distance to the north. Using the geometry of right triangles, he determined the angle between the two points at the Earth’s center and, from the arc distance, calculated the Earth’s radius—a feat that earned him a place in scientific history.

Pythagorean Triples and Number Theory

A Pythagorean triple consists of three positive integers satisfying a2+b2=c2a^{2} + b^{2} = c^{2}. Beyond (3,4,5), well‑known triples include (5,12,13) and (8,15,17). These integer solutions have fascinated mathematicians for centuries and have applications in cryptography and number theory. Fermat’s Last Theorem states that no integer triple satisfies an+bn=cna^{n} + b^{n} = c^{n} for n>2n > 2; this was proved only in 1995 by Andrew Wiles.

Using a Right Triangle Calculator

Modern online right triangle calculators offer a convenient way to handle all these computations. Whether you need a right triangle side calculator to find a missing leg, a right triangle area calculator to compute the area, or a general right triangle solver to obtain angles and side lengths, these tools save time and reduce error. Many are available for free, making geometry accessible to everyone.

FAQ

1. How do I find the hypotenuse of a right triangle?

Use the Pythagorean theorem: c = √(a² + b²), where a and b are the legs. A right triangle calculator can perform this instantly.

2. What is the area formula for a right triangle?

Area = (1/2) × base × height. In a right triangle, the two legs act as base and height, so Area = (1/2) × leg₁ × leg₂.

3. What are the side lengths of a 45-45-90 triangle?

If each leg has length a, the hypotenuse is a√2. The triangle is also isosceles, with equal legs.

4. How did Eratosthenes measure the Earth's radius using right triangles?

He measured the shadow of a vertical pole at a known distance from a point where the sun was directly overhead. Using the right triangle formed, he calculated the Earth's circumference and radius.

5. What is a Pythagorean triple? Give an example.

A Pythagorean triple is a set of three positive integers that satisfy a² + b² = c². A common example is (3, 4, 5) because 3² + 4² = 9 + 16 = 25 = 5².

How to Use

  1. Choose your mode - Select what information you know about the right triangle - two legs, leg and hypotenuse, or leg and area.
  2. Enter known values - Type the lengths and/or area of your right triangle in the input fields. Select the appropriate units from the dropdown.
  3. Calculate - Click Calculate to instantly find all missing sides, angles, area, and perimeter of the right triangle.