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.