Shop Floor Trigonometry & Geometry

Triangle Calculator

Free online Triangle Calculator with live interactive diagram. Calculate right angle, isosceles, scalene, obtuse & general triangles. Solve sides, angles, area and perimeter in cm, m, mm, inch, ft, yard.

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

Triangle Calculator

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 Calculator: Practical Workshop Geometry, Right Angles & Oblique Solvers

Measuring triangles on paper is simple. You draw three neat lines, write down a few degrees, and calculate the answer with a pocket scientific calculator.

On an actual job site, paper math falls apart fast.

Try holding a plastic protractor against a six-meter steel beam in the middle of a windy afternoon. You will get two degrees of play. Over that span, two degrees throws your cut off by more than two hundred millimeters. That is why carpenters, sheet metal fabricators, machinists, and civil engineers avoid measuring raw angles whenever they can. They measure straight lines instead. Triangles don't lie.

This calculator handles both worlds. If you have clean angles and side lengths from an architectural drawing, you can punch them in under the standard trigonometric modes (SSS, SAS, ASA). If you are standing on a concrete floor with a chalk line and a steel tape measure, you can use datum measurements (height, base span, and horizontal offset) to nail the exact shape without guessing.

1. Right-Angled Triangles: The Backbone of Framing and Machining

Every corner of a house, machine chassis, or rectangular duct starts as a right triangle. One angle is fixed at exactly ninety degrees. That fixed corner simplifies everything.

You only need two known numbers to lock down the entire shape. If you enter two perpendicular legs (A and B), the hypotenuse is C = √(A² + B²). Your acute angles come from standard inverse tangents: Y = arctan(A / B) and Z = 90° - Y. When you start with one leg and the hypotenuse, your missing leg is A = √(C² - B²). And if you know one leg plus an acute angle, the hypotenuse is C = A / sin(Y), while the adjacent leg is B = A / tan(Y).

You do not need a calculator to check if two walls meet at ninety degrees on site. Builders across India and worldwide use the 3-4-5 rule daily. It is the smallest integer Pythagorean triple where three squared plus four squared equals five squared.

Mark three feet (or three meters) along your baseline wall. Next, mark four feet along the perpendicular partition. Measure the diagonal distance between your two pencil marks with your tape. If that diagonal is five feet on the dot, your corner is square.

When the tape reads less than five feet, your corner is acute and choked under ninety degrees. When it reads more, the corner is kicked out past ninety degrees. You can scale the numbers up for bigger layouts: 6-8-10, 9-12-15, or 12-16-20.

2. Isosceles Triangles: Rafter Peaks, Gables, and Symmetrical Brackets

An isosceles triangle has two sides of identical length and two matching base angles. You see them on A-frame roof trusses, gables, church steeples, and symmetrical shelf brackets.

Because the shape is mirrored down the center, you can drop a vertical line from the peak straight to the base. That altitude line splits the shape into two back-to-back right triangles.

Each half-base measures C / 2. Both equal slanted legs equal √((C / 2)² + H²). Base angles equal arctan((2 × H) / C), while the apex angle at the top is 180° - 2 × base angle. Total surface area is simply half the base multiplied by the height (0.5 × C × H).

Take roof framing. Say you have a shed span of four meters (C = 4.0 m) and want a central ridge rise of one and a half meters (H = 1.5 m). Each half-span is two meters. The rafter length from eave to ridge is √(2.0² + 1.5²) = √(4 + 2.25) = √6.25 = 2.50 meters. Your saw bevel for the top plumb cut is arctan(2.0 / 1.5) ≈ 53.13° from horizontal, or 36.87° off vertical. No protractor needed.

3. Scalene and Obtuse Triangles: Why the Datum (H-C-W) Method Wins

A scalene triangle has three different sides and three different angles. An obtuse triangle has one wide interior angle greater than ninety degrees.

Most online tools force you to measure the angles with a protractor first. That works in high school geometry homework. It fails in a structural welding bay.

Instead of measuring angles across rough plate steel, take three tape measurements. First, measure the baseline (C), which is the horizontal distance between both bottom corners. Second, measure the perpendicular height (H) dropped from the peak down to the horizontal baseline. Third, measure the horizontal offset or overhang (W), which tracks where the peak sits relative to the left corner.

In an acute scalene triangle, the peak sits between both corners, so W falls between zero and C. The left slanted side equals √(W² + H²). The right slanted side equals √((C - W)² + H²). Left and right base angles derive from arctan(H / W) and arctan(H / (C - W)).

In an obtuse triangle, the peak overhangs outside the base footprint. Because that vertical altitude drops straight into empty air, W extends past the obtuse corner. That makes your long top edge √((W + C)² + H²). Meanwhile, the short left leg equals √(W² + H²), and your obtuse interior corner is 180° - arctan(H / W).

Cavalieri's principle confirms that the area is always 0.5 × C × H. The horizontal overhang W leans the triangle over, but it never alters the internal area by a single square millimeter.

4. General Triangles: Solving SSS, SAS, and ASA

When working from a technical drawing or a surveyor land plot, you might not have datum coordinates. You might only have boundary lengths or boundary bearings.

Under SSS (three known sides), first check the triangle inequality rule. The sum of any two sides must strictly exceed the third side. If someone hands you lengths of 5, 8, and 15, you cannot build that triangle. Five plus eight equals thirteen, which cannot bridge a gap of fifteen.

When the sides are valid, the tool uses Heron's formula for area. Calculate semi-perimeter s = (a + b + c) / 2, then find Area = √(s(s - a)(s - b)(s - c)). Internal angles follow directly from the Law of Cosines: cos(C) = (a² + b² - c²) / (2ab).

For SAS (two sides and the included angle), calculate the missing third side with the Law of Cosines: c = √(a² + b² - 2ab × cos(C)). Once side c is locked down, use the Law of Sines to find the remaining angles.

For ASA (two angles and one side), the calculation is straightforward. The third angle is always 180° - A - B. From there, the Law of Sines gives both missing sides in one step: a / sin(A) = b / sin(B) = c / sin(C).

5. Right Trapezoids and Taper Wedges: Ductwork, Hoppers, and Lathe Turning

Not every angled cut forms a pointed triangle. In sheet metal fabrication, ventilation ducts often taper down from a large air handler to a smaller branch line. Machinists turn conical tapers on a lathe. Civil engineers design battered concrete retaining walls.

These shapes are right-angled trapezoids. You can think of them as a right triangle sitting on top of a flat rectangle.

Your inputs are vertical height (H), top flat base (a), and bottom flat base (b). The base difference is Δ = |b - a|. The slanted side equals √(Δ² + H²). Your taper angle is arctan(Δ / H). Cross-sectional area is 0.5 × (a + b) × H, and the total perimeter is H + a + b + Slant.

Consider an air duct transition with a top width of 250 mm, a bottom width of 400 mm, and a length of 500 mm. The horizontal offset is 400 - 250 = 150 mm. The diagonal sheet cut length is √(150² + 500²) = √(22500 + 250000) = √272500 ≈ 522.02 mm. That gives your sheet metal shear operator the exact line to cut without wasted sheet stock.

6. Practical Field Advice and Common Traps

Geometry looks foolproof until you pick up real materials. Keep these hard-learned rules in mind.

Do not round intermediate numbers. When calculating angles from trigonometric ratios, keep at least four decimal places in your intermediate steps. Rounding an angle to the nearest whole degree early can shift a roof rafter tail by ten to fifteen millimeters on long spans.

Beware the ambiguous SSA case. If you only have two sides and an angle that is not between them (Side-Side-Angle), two completely different triangles can often share those exact measurements. Use SSS, SAS, or H-C-W modes to guarantee a unique, deterministic result.

Keep your units aligned. Mixing millimeters with centimeters on a quick notepad sketch is the number one cause of scrapped raw materials in workshops. Use our built-in unit switcher (cm, m, mm, inch, ft, yard) to convert your numbers before cutting.

Clear single fields quickly. If you make a typing slip on a single number, click the small circular (✕) clear icon inside that input box to wipe just that value instead of clearing your entire calculation.

Frequently Asked Questions

How do I calculate the missing sides and angles of a right triangle?

Enter any two known values (such as two sides, or one side and one acute angle) into the Right Angle Triangle mode. The calculator automatically applies the Pythagorean theorem (a² + b² = c²) and trigonometric functions (sin, cos, tan) to solve the hypotenuse, both legs, acute angles Y and Z, area, and perimeter with step-by-step clarity.

What is the formula to find the hypotenuse of a right angle triangle?

The hypotenuse (C) is calculated using the Pythagorean theorem: C = √(A² + B²), where A and B are the two perpendicular legs. If one leg and an acute angle are known, the hypotenuse is found using trigonometry: C = A / sin(Y) or C = B / cos(Y).

How do you calculate the height, apex angle, and area of an isosceles triangle?

In an isosceles triangle with two equal legs A = B and base C, the vertical height dropped to the base is H = √(A² - (C/2)²). The base angles are b° = c° = arccos((C/2) / A), the apex angle is a° = 180° - 2b°, and total area is Area = 0.5 × C × H.

How does this triangle calculator solve a triangle with three known sides (SSS)?

Under the General Triangle (Any 3 Values) mode with SSS, the tool first verifies the triangle inequality theorem (a + b > c). It then calculates the area using Heron's formula: Area = √(s(s-a)(s-b)(s-c)) where semi-perimeter s = (a+b+c)/2, and solves all internal angles using the Law of Cosines: cos(C) = (a² + b² - c²) / (2ab).

How do you solve a triangle with Side-Angle-Side (SAS) or Angle-Side-Angle (ASA)?

For SAS (two sides and their included angle), the third side is found via the Law of Cosines: c = √(a² + b² - 2ab·cos(C)), followed by the Law of Sines for remaining angles. For ASA (two angles and included side), the third angle is 180° - A - B, and unknown sides are calculated directly using the Law of Sines: a / sin(A) = b / sin(B) = c / sin(C).

What is the H-C-W method for scalene and obtuse triangles in workshop fabrication?

The H-C-W method solves non-right triangles using linear workshop measurements: vertical altitude (H), base span (C), and horizontal overhang or offset (W). This avoids inaccurate protractor readings on job sites and accurately derives all three side lengths, internal angles, perimeter, and surface area.

What is the difference between an acute, right, and obtuse triangle?

In an acute triangle, all three interior angles are strictly less than 90° (c² < a² + b²). In a right triangle, exactly one angle is 90° (c² = a² + b²). In an obtuse triangle, one angle is strictly greater than 90° (c² > a² + b²), and its perpendicular height often falls outside the physical base.

Can I calculate triangle dimensions using millimeters, centimeters, meters, inches, or feet?

Yes. The calculator features an instant unit switcher supporting cm, m, mm, inch, ft, and yard. Changing the unit selector automatically converts all entered measurements and calculated outputs into the selected unit in real time without wiping your inputs.

How does the Right Trapezoid (Trunk / Duct Taper) mode work?

The Right Trapezoid mode calculates sheet-metal duct transitions, hopper tapers, and earthwork embankments. Given top base width (a), bottom base width (b), and vertical height (h), it computes the slanted hypotenuse leg (c = √(h² + (b - a)²)), the taper bevel angle, perimeter, and cross-sectional area (Area = 0.5 × (a + b) × h).

How is the area of an obtuse triangle calculated when the height falls outside the base?

The area is calculated using the standard formula: Area = 0.5 × Base (C) × Height (H). Even though the apex overhang W shifts the top vertex past the edge of the base, the vertical distance between the baseline and apex remains H, so the area is completely independent of the horizontal offset W.

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

The 3-4-5 rule is the simplest Pythagorean triple (3² + 4² = 9 + 16 = 25 = 5²). In masonry, framing, and carpentry, marking perpendicular legs of 3 and 4 units and verifying a hypotenuse of exactly 5 units guarantees a true 90-degree square right angle with acute angles of approximately 36.87° and 53.13°.

How do the individual Clear (✕) and Reset buttons work on this calculator?

Each input box includes an inline circular '✕' button that allows you to clear and re-enter a single value without erasing the rest of your work. Clicking 'Clear All' or 'Reset' clears all input boxes and recalculates the default state instantly.