American Workshop Geometry & Rafter Framing

Triangle Calculator — Right Triangle, Hypotenuse & Area

Solve right and oblique triangles with our free triangle calculator. Calculate sides, angles, area, and hypotenuse with the Pythagorean theorem and Heron's formula.

Hypotenuse (C) & Area (cm)10.000 cm • 24.00 cm²
Select Triangle / Wedge Type
Measurement Unit
cm
cm
cm
°
°
° (90°)

Triangle Calculator (US)

Hypotenuse (C) & Area (cm)10.000 cm • 24.00 cm²
Right Angle Calculator (Side A, B, C & Angles Y, Z)
Right Triangle
A = 6 cmB = 8 cmC = 10 cmX: 90.0°Y: 53.1°Z: 36.9°
Side A (Vertical Leg):6 cm
Side B (Horizontal Base):8 cm
Side C (Hypotenuse):10 cm
Angle X (Right Angle):90.0°
Angle Y (Apex Angle):53.13°
Angle Z (Base Angle):36.87°
Area:24 cm²
Perimeter:24 cm
  • Side A (Vertical Leg)6.000 cm
  • Side B (Horizontal Base)8.000 cm
  • Hypotenuse (c)10.000 cm
  • Angle X (Right Angle)90.00°
  • Angle Y (Apex Angle)53.13°
  • Angle Z (Base Angle)36.87°
  • Area24.000 cm²
  • Perimeter24.000 cm
  • Trig Ratios (Y)sin=0.800 cos=0.600 tan=1.333
  • Trig Ratios (Z)sin=0.600 cos=0.800 tan=0.750
  • ClassificationRight Triangle
  • Solved FromLegs A and B (Pythagorean theorem)
Disclaimer: Calculations and projections are for educational and illustrative purposes only and do not constitute certified financial, tax, or investment advice.

Triangle Geometry Guide: Right Triangles, Heron's Formula and Construction Pitch

The triangle is the foundational geometric structure of civil engineering and carpentry. Unlike four-sided quadrilaterals that deform into parallelograms under lateral pressure, a triangle cannot change shape without physically altering the length of its perimeter sides. Because of this natural rigidity, triangular geometry governs bridge trusses, timber roof framing, aerospace bulkheads, and surveying baselines across the United States.

Right Triangle Trigonometry and the Pythagorean Theorem

A right triangle features one interior ninety-degree angle. The two perpendicular legs form the base and height, while the opposite side represents the hypotenuse. The geometric relationship between these three lengths follows the timeless Pythagorean theorem:

a² + b² = c²

Solving for the hypotenuse yields the square root of the sum of the squared legs:

c = √(a² + b²)

Right triangles also establish the foundation of classical trigonometry. For any acute angle, three primary ratios define side relationships:

The sine ratio equals the opposite leg divided by the hypotenuse. The cosine ratio equals the adjacent leg divided by the hypotenuse. The tangent ratio equals the opposite leg divided by the adjacent leg. In Euclidean geometry, the interior angles of any flat planar triangle always total exactly 180 degrees. Therefore, in a right triangle where one angle is 90 degrees, the two remaining acute angles are complementary, meaning they always sum to 90 degrees.

Area Formulas: Base and Height, Heron's SSS, and SAS

Depending on which measurements you have on hand, three distinct mathematical formulas calculate triangle surface area:

The standard method applies when you know a horizontal base and its perpendicular altitude:

Area = ½ × Base × Height

When you know all three side lengths but lack an explicit interior height measurement, Heron's formula solves the area using the semi-perimeter:

Semi-perimeter (s) = (a + b + c) / 2

Area = √[s × (s - a) × (s - b) × (s - c)]

Heron's formula is invaluable for land surveyors calculating acreage from boundary markers. Finally, when you know two adjacent sides and their included interior angle, the Side-Angle-Side formula calculates area without requiring perpendicular heights:

Area = ½ × a × b × sin(C)

The 3-4-5 Rule in American Carpentry and Framing

On residential construction jobsites across the United States, framing carpenters, concrete contractors, and masons rely on the 3-4-5 rule to ensure walls and foundation footings meet at exact 90-degree right angles.

The rule relies on the simplest whole-number Pythagorean triple: 3 squared (9) plus 4 squared (16) equals 5 squared (25). A carpenter measures 3 feet along one wall plate and marks the lumber. Next, they measure 4 feet along the perpendicular wall plate and make a second mark. Finally, they measure the diagonal distance between the two pencil marks. If the diagonal measures exactly 5 feet, the corner is perfectly square.

For larger layouts like house foundations or detached garages, builders scale this ratio upward to increase measurement precision. Common multiples include 6-8-10 feet, 9-12-15 feet, and 12-16-20 feet. Checking diagonal cross-measurements on rectangular subfloors uses the identical right-triangle principle: if both diagonal measurements are identical, the entire building outline is square.

Roof Pitch Engineering and Rafter Calculations

American residential architecture specifies roof slopes as pitch, expressed as inches of vertical rise per 12 inches of horizontal run:

A 4:12 pitch rises 4 inches vertically for every 12 inches of horizontal span, producing a slope angle of 18.43 degrees. A 6:12 pitch represents the most common residential roof profile, yielding a 26.57-degree slope. An 8:12 pitch rises 8 inches per foot (33.69 degrees), providing rapid drainage in heavy snow climates. A 12:12 pitch creates a steep 45-degree angle characteristic of Cape Cod and Gothic Revival architecture.

To calculate the structural rafter length, carpenters treat the roof profile as a right triangle. The horizontal run represents one leg, the total vertical rise represents the second leg, and the rafter body represents the hypotenuse:

Rafter Length = √(Rise² + Run²) + Overhang

Carpenters deduct half the thickness of the center ridge beam before cutting plumb angles. They also notch out the birdsmouth seat where the rafter rests upon the exterior bearing wall top plate. When ordering plywood sheathing or siding for triangular gable walls, contractors multiply the full gable width by the vertical rise and divide by two. They typically order a 10 to 15 percent scrap allowance to compensate for diagonal angle waste cuts.

Frequently Asked Questions

How does the Pythagorean theorem solve a right triangle?

For any right triangle with perpendicular legs $a$ and $b$, the hypotenuse $c$ is calculated as $c = \sqrt{a^2 + b^2}$. If the hypotenuse and one leg are known, the missing leg is $a = \sqrt{c^2 - b^2}$.

How do you calculate the area of any triangle when only the three sides are known?

Use Heron's formula: first calculate the semi-perimeter $s = (a + b + c) / 2$, then the area equals $\text{Area} = \sqrt{s(s - a)(s - b)(s - c)}$. No height measurement is needed.

What is the sum of angles in any planar triangle?

The interior angles of any planar triangle on a Euclidean surface always sum to exactly 180 degrees ($\alpha + \beta + \gamma = 180^\circ$). If two angles are known, the third is $180^\circ - (\alpha + \beta)$.

What is the 3-4-5 triangle rule in construction and layout?

A triangle with side lengths 3, 4, and 5 forms a true right-angle triangle ($3^2 + 4^2 = 9 + 16 = 25 = 5^2$). Builders use this ratio to square corners accurately when framing foundations, decks, and walls.