Right Triangle Calculator

Instantly solve for missing sides, hypotenuse, angles, area, and perimeter using the Pythagorean theorem.

Powered by Pythagorean Mathematics
Enter Known Values
To solve the triangle, enter exactly two values. At least one value must be a side length. Leave the other fields blank.
°
°
a (Base) b (Height) c (Hypotenuse) α β
Reference Guide for Inputs
Triangle Solved Successfully
-- Side a (Base)
-- Side b (Height)
-- Hypotenuse (c)
Angle α (Alpha)
--°
Opposite to Side a
Angle β (Beta)
--°
Opposite to Side b
Total Area
--
Square units
Perimeter
--
Linear units

Proportional Geometric Shape

A physically accurate 2D drawing of your calculated right triangle.

Side Length Comparison

Interior Angle Distribution

Step-by-Step Mathematical Solution

How the calculator derived your missing values based on your inputs.

Area Calculation
Area = (a × b) ÷ 2
The area of a right triangle is exactly half the area of a rectangle formed by its base and height.
--

What is a Right Triangle Calculator?

A right triangle calculator is an advanced digital geometry tool designed to instantly solve for the missing dimensions of any right-angled triangle. Whether you are a student checking homework, a carpenter cutting rafters, or an engineer calculating structural loads, finding the exact lengths and angles is crucial.

A right triangle (or right-angled triangle) is a geometric shape characterized by having exactly one internal angle that measures precisely 90 degrees (a right angle). The side directly opposite to this 90-degree angle is always the longest side, known as the hypotenuse. Because the fundamental properties of this shape are so rigidly defined by mathematics, if you know the measurement of any two distinct elements (provided at least one is a side length), you can reliably calculate all the other missing elements.

How to Use the Calculator to Find Missing Values

To use our pythagorean theorem calculator accurately, you do not need to know advanced calculus or trigonometry. The tool handles the complex math behind the scenes. Here is the foolproof step-by-step method:

  1. Identify what you know: Look at your problem or physical space. Do you have the length of two sides? Or do you have the hypotenuse and one acute angle?
  2. Enter exactly two variables: Input the two values you possess into the corresponding fields in the calculator above. Remember, you must input at least one side length. Two angles alone dictate the shape of the triangle, but not its physical size.
  3. Leave the rest blank: Do not guess or estimate the missing fields. The algorithm requires empty fields to understand what it needs to solve.
  4. Calculate: Click "Solve Triangle." The engine will instantly execute the necessary geometric and trigonometric functions to fill in the missing sides, angles, area, and perimeter.

You can use any unit of measurement (inches, centimeters, miles, meters) as long as you remain consistent. The hypotenuse calculator will output the missing lengths in the same implicit unit you provided.

The Pythagorean Theorem Explained

If you are trying to find the side of a right triangle and you already know the other two sides, the calculator utilizes the most famous theorem in mathematics: The Pythagorean Theorem. Attributed to the ancient Greek philosopher Pythagoras, it states that the square of the hypotenuse is equal to the sum of the squares of the other two sides.

The Universal Formula:
a2 + b2 = c2

Where 'c' is the hypotenuse, and 'a' and 'b' are the shorter legs (base and height).

Depending on what you are missing, the formula is algebraically rearranged by our solver:

  • To find the Hypotenuse (c): c = √(a2 + b2)
  • To find the Base (a): a = √(c2 - b2)
  • To find the Height (b): b = √(c2 - a2)

SOH CAH TOA: Using Trigonometry for Angles

What if you only know one side, but you have the measurement of one of the sharp, acute angles? This is where the Pythagorean theorem fails, and trigonometry steps in. Our angle of right triangle calculator uses trigonometric sine, cosine, and tangent functions, commonly memorized via the mnemonic SOH CAH TOA.

The Trigonometric Ratios:

  • Sine (SOH): sin(θ) = Opposite Side ÷ Hypotenuse
  • Cosine (CAH): cos(θ) = Adjacent Side ÷ Hypotenuse
  • Tangent (TOA): tan(θ) = Opposite Side ÷ Adjacent Side

Conversely, if you input two sides and want the tool to find the missing angle, the calculator uses the inverse trigonometric functions (arcsin, arccos, arctan) to extract the exact degree measurement.

Area, Perimeter, and Altitude Formulas

Beyond sides and angles, understanding the total dimensional footprint of the space is often necessary for material estimation or physics.

  • Area: Calculating the area is remarkably simple. Since a right triangle is exactly half of a rectangle, the formula is Area = (a × b) / 2.
  • Perimeter: The perimeter is the total continuous distance around the outside edge. The formula is simply the addition of all sides: Perimeter = a + b + c.
  • Altitude to the Hypotenuse: If you were to drop a line perfectly straight down from the 90-degree corner to the hypotenuse, creating two smaller right triangles inside, that line is the altitude (h). The formula is h = (a × b) / c.

Standard Pythagorean Triples Chart

A "Pythagorean Triple" is a set of three positive whole numbers that perfectly satisfy the a2 + b2 = c2 equation. Builders and carpenters memorize these to ensure walls are perfectly square without needing a complex solve right triangle online tool on the job site.

Base (a) Height (b) Hypotenuse (c) Multiplier Family
345The 3-4-5 Base
68103-4-5 (x2)
912153-4-5 (x3)
51213The 5-12-13 Base
1024265-12-13 (x2)
81517The 8-15-17 Base
72425The 7-24-25 Base

Pro Tip: If you measure 3 feet down one wall, 4 feet down the connecting wall, and the diagonal distance between those two points is exactly 5 feet, you have a perfect 90-degree corner.

Real-World Examples & Scenarios

Let's look at four practical situations where using a right angle triangle formula tool is absolutely essential.

🏠 Example 1: John the Carpenter

John is building a shed roof. The roof spans a base of 12 feet, and the peak height is 5 feet. He needs to know how long to cut the rafters (the hypotenuse).

Input a: 12 ft
Input b: 5 ft
Solution: The calculator squares 12 (144) and squares 5 (25), adding them to 169. The square root is 13. John needs to cut his rafters exactly 13 feet long.

🪜 Example 2: Maria the Painter

Maria has a 20-foot ladder (hypotenuse). For safety, the manufacturer states the ladder should form a 75-degree angle with the ground. How far up the wall will it reach?

Input c (Hyp): 20 ft
Input Angle: 75°
Solution: Using sine trigonometry, the calculator reveals the ladder will safely reach a height of 19.32 feet up the building.

🧭 Example 3: David the Hiker

David hikes 8 miles directly North, then turns 90 degrees and hikes 6 miles directly East. How far is he from his starting point in a straight line?

Input a (North): 8 miles
Input b (East): 6 miles
Solution: The calculator identifies this as a 6-8-10 Pythagorean triple. David is exactly 10 miles away from his starting camp.

📐 Example 4: Emma the Designer

Emma is designing a triangular web banner. The client specifies it must be a right triangle with a hypotenuse of 500 pixels and a base of 300 pixels. She needs the area.

Input a (Base): 300 px
Input c (Hyp): 500 px
Solution: The solver finds the missing height is 400px. It then multiplies 300 × 400 and divides by 2 to yield a total area of 60,000 square pixels.

Add This Calculator to Your Website

Do you run a math tutoring blog, an architecture site, or a DIY construction forum? Give your users the ultimate geometric tool. Add this lightning-fast Right Triangle Calculator directly onto your web pages.

👇 Copy the HTML code below to embed the widget securely:

Frequently Asked Questions (FAQ)

Expert answers to the most common questions regarding the Pythagorean theorem, trigonometric calculations, and geometric problem-solving.

What is a Right Triangle Calculator?

A Right Triangle Calculator is an online geometry tool that finds the missing sides, angles, area, and perimeter of a right-angled triangle. By inputting any two known values (with at least one being a side length), the calculator leverages the Pythagorean theorem and trigonometric formulas to instantly solve the rest.

How do I find the hypotenuse of a right triangle?

To find the hypotenuse (the longest side, directly opposite the 90-degree corner), you use the Pythagorean theorem: a2 + b2 = c2. You simply square the lengths of the two shorter sides (the base and height), add those numbers together, and then calculate the square root of that sum to find the exact length of the hypotenuse (c).

What do I need to calculate a right triangle?

To completely and mathematically solve a right triangle, you need to know the 90-degree angle (which is fundamentally assumed) and exactly two other measurements. Crucially, at least one of these two measurements must be a side length. You cannot solve a triangle's dimensions using only angles because the physical size or scale would remain unknown.

What are the rules of SOH CAH TOA?

SOH CAH TOA is a globally taught mnemonic to remember the three primary trigonometric functions. SOH means Sine = Opposite Side / Hypotenuse. CAH means Cosine = Adjacent Side / Hypotenuse. TOA means Tangent = Opposite Side / Adjacent Side. These ratios dictate how angles correlate to side lengths.

How is the area of a right triangle calculated?

The area is easily calculated by multiplying the base dimension (side a) by the height dimension (side b) and dividing the total by 2. The formula is: Area = (a × b) / 2. This works because a right triangle is geometrically equivalent to exactly half of a rectangle.

What is a Pythagorean triple?

A Pythagorean triple consists of three positive whole integers a, b, and c, such that a2 + b2 = c2. The most famous and commonly used example in construction is 3, 4, 5. Other common whole-number examples include 5, 12, 13 and 8, 15, 17.

Can the hypotenuse be shorter than the other sides?

No, mathematically and physically, the hypotenuse can never be shorter than the other sides. The length of a side corresponds to the size of the angle opposite to it. Since the right angle (90 degrees) is always the largest angle in a right triangle, the hypotenuse opposite it must inherently be the longest side.

What if my angles don't add up to 180 degrees?

In standard Euclidean flat geometry, the interior angles of any triangle must always add up to exactly 180 degrees. Since a right triangle already has one 90-degree angle, the other two acute angles must add up to exactly 90 degrees. If they do not, you have miscalculated or the shape is not a right triangle.

Does this calculator work with metric and imperial units?

Yes! Because trigonometric ratios and geometric theorems are universal constants, you can input your side values in meters, inches, miles, feet, or centimeters. The math remains identical. Just ensure you use the exact same unit for all inputs. The resulting angles will always be correctly outputted in standard degrees.

Engineered by Calculator Catalog

Designed to make complex trigonometric mathematics accessible and actionable. Our Right Triangle Calculator strictly adheres to classical Pythagorean rules, empowering students, engineers, and DIYers to calculate missing dimensions instantly with complete statistical confidence.