Area of a Right Triangle Calculator

Enter the two legs (base and height) of a right triangle to get the area, hypotenuse, and perimeter instantly with a visual diagram.

Enter the Two Legs

units
units

Formulas

Area (b × h) / 2
Hypotenuse √(b² + h²)
Perimeter b + h + hypotenuse

Enter both legs on the left to see results

Copied!

Summary

Enter the two legs (base and height) of a right triangle to get the area, hypotenuse, and perimeter instantly with a visual diagram.

How it works

  1. Enter the length of the base (horizontal leg) in the first field.
  2. Enter the length of the height (vertical leg) in the second field.
  3. The area, hypotenuse, and perimeter are calculated instantly.
  4. The SVG diagram updates to reflect the proportions of your triangle.
  5. Click "Copy Result" to copy the area value to your clipboard.

Use cases

  • Calculate the floor area of a triangular corner room or alcove.
  • Find the material needed for a right-triangle roof section or gable.
  • Solve geometry homework involving right triangles.
  • Verify Pythagorean theorem results by checking the hypotenuse.
  • Estimate fabric or tile cuts for diagonal right-triangle shapes.
  • Determine land area of triangular plots with a right-angle boundary.
  • Check engineering calculations for ramps and sloped structures.
  • Teach or learn the relationship between legs, hypotenuse, and area.

Frequently Asked Questions

Last updated: 2026-06-09 · Reviewed by Nham Vu