Trigonometry Calculator

Right Triangle Calculator

Enter two perpendicular legs to calculate hypotenuse, area, perimeter, acute angles, sine, cosine, tangent, and converted length or area units.

Live calculator

Right triangle inputs

Enter perpendicular legs to calculate hypotenuse, area, perimeter, acute angles, and basic trig ratios.

cm
cm

Hypotenuse

5 cm

Area

6 cm²

Perimeter

12 cm

Angle A

36.8699 deg

Angle B

53.1301 deg

Hypotenuse in other units

UnitConverted valueMeaning
nm50,000,000Nanometers
um50,000Micrometers
mm50Millimeters
cm5Centimeters
dm0.5Decimeters
m0.05Meters
dam0.005Decameters
hm0.0005Hectometers
km0.0001Kilometers
mil1,968.5039Mils
in1.9685Inches
ft0.164Feet
yd0.0547Yards
mi0Miles
nmi0Nautical miles
pt141.7323Points
pc11.811Picas

Area in other units

UnitConverted valueMeaning
nm²600,000,000,000,000Square nanometers
um²600,000,000Square micrometers
mm²600Square millimeters
cm²6Square centimeters
dm²0.06Square decimeters
0.0006Square meters
dam²0Square decameters
hm²0Square hectometers
km²0Square kilometers
mil²930,001.86Square mils
in²0.93Square inches
ft²0.0065Square feet
yd²0.0007Square yards
mi²0Square miles
nmi²0Square nautical miles
pt²4,821.1296Square points
pc²33.4801Square picas

Trig ratios for angle A

sin A

0.6

cos A

0.8

tan A

0.75

Inputs

2 Legs

Angles

Both Acute Angles

Ratios

sin, cos, tan

No sign-upFormula shownPrint-friendly
What Can You Create?

Calculate right-triangle measurements

Side lengths

Find the hypotenuse from the two perpendicular legs using the Pythagorean theorem.

Area and perimeter

Calculate one-half leg product for area and add all sides for perimeter.

Angles and ratios

Connect side ratios to acute angles, sine, cosine, and tangent.

Formula

Right triangle formulas used on this page

The calculator uses leg lengths to calculate geometry values and basic trigonometry ratios.

Working formulas

Hypotenuse

c = sqrt(a^2 + b^2)

The hypotenuse is opposite the right angle.

Area

A = (a x b) / 2

The perpendicular legs act as base and height.

Tangent

tan(A) = opposite / adjacent

For angle A, this page treats leg a as opposite and leg b as adjacent.

Symbols

a, b - legs
The two sides that meet at the right angle.
c - hypotenuse
The longest side, opposite the 90 degree angle.
A - acute angle
One non-right angle used for sine, cosine, and tangent ratios.
Why Users Love This Tool

Right-triangle outputs that connect geometry to trig

Formula-backed trig basics

  • The calculator starts with the values users already know before moving into lesson notes.
  • Results keep squared terms, side labels, angles, and trig ratios visible for checking.
  • Inputs support decimal measurements for practical right-triangle and layout problems.
  • Copy and print controls help students and teachers move results into notes or worksheets.

Right-triangle guardrails

  • Missing-leg calculations require the hypotenuse to be longer than the known leg.
  • Angle outputs are calculated from the leg ratio and displayed in degrees for classroom readability.
  • Related links connect theorem, right-triangle, unit-circle, converter, and guide content.
  • FAQ sections explain common mistakes such as mixing legs with hypotenuse or mixing degrees with radians.
Perfect For

Right-triangle support for formulas and lessons

Students

Check right-triangle homework while seeing the formula path that produced the result.

Teachers

Create examples for theorem lessons, trigonometry introductions, and unit circle prep.

Worksheet builders

Print results and supporting notes for answer keys, examples, and review sheets.

How It Works

How it works in three quick steps.

1

Enter leg a and leg b

Use the two sides that meet at the right angle.

2

Read side and area results

Use the hypotenuse, perimeter, and area outputs for geometry checks.

3

Review angles and trig ratios

Use acute angle and sine, cosine, tangent outputs to connect geometry to trigonometry.

Download & Print

Save or print right-triangle calculations

Copy the result

Copy sides, angles, formulas, and output values into notes or lesson documents.

Print the page

Print calculator inputs, result cards, formulas, FAQs, and related links.

Compare values

Change one side length at a time to see how hypotenuse, area, and angles respond.

FAQ

Frequently Asked Questions

What inputs does the right triangle calculator need?
This calculator needs the two perpendicular legs of a right triangle. Those legs meet at the 90 degree angle. From those two values, the calculator can find the hypotenuse, area, perimeter, acute angles, and basic sine, cosine, and tangent ratios.
How are the acute angles calculated?
The calculator uses the arctangent relationship between the two legs to calculate one acute angle, then subtracts that angle from 90 degrees to find the other acute angle. This works because every right triangle has one 90 degree angle and the three interior angles total 180 degrees.
What do sine, cosine, and tangent mean here?
Sine, cosine, and tangent are ratios between sides of a right triangle. For the angle labeled A on this page, sine compares opposite side to hypotenuse, cosine compares adjacent side to hypotenuse, and tangent compares opposite side to adjacent side. The ratios help connect side lengths to angle measure.
Can this solve non-right triangles?
No. This calculator assumes the two entered sides are perpendicular legs of a right triangle. Non-right triangles require different formulas such as the law of sines, law of cosines, or general triangle area methods. Use the triangle calculator for non-right side checks and basic area comparisons.
Why is area one-half leg a times leg b?
The two perpendicular legs of a right triangle can act as the base and height of a rectangle. The triangle covers exactly half of that rectangle, so its area is one-half of the product of the legs. This is the same base-height area idea used by the triangle calculator.
About This Tool

About this right triangle calculator

Toolarithm's Right Triangle Calculator builds on the Pythagorean theorem and introduces the side ratios used in trigonometry. With two perpendicular legs, it calculates the hypotenuse, area, perimeter, acute angles, sine, cosine, and tangent. The calculator is intentionally focused on right triangles so the assumptions stay clear.

The page is useful as a bridge between geometry and trigonometry. Students can see how side lengths create a hypotenuse, how the same legs form area, and how ratios become angle relationships. Unit tables separate linear outputs from square-unit area outputs, while related links connect the calculator to the Pythagorean theorem, unit circle values, and degrees-to-radians conversion.

Editorial Transparency

Who maintains this page

Ownership and review

Written and maintained by the Toolarithm editorial team. No review date is shown without a maintained editorial record. No independent professional review is claimed.

Methodology

Equations are checked by substituting worked examples into the stated relationship and comparing the result with the interactive implementation.

Read the editorial methodology

Dates and sources

Review dates change only after a substantive method or content check.

Keep building

Explore more math tools

Math calculators