Triangle Calculator - Small Study Tools
SSS · SAS · AAS · ASA · Right Triangle

Free Triangle Calculator: Solve Any Side, Angle & Area Instantly

Solve any triangle. Enter sides, angles or area — get all missing values instantly. Pro Mode adds an animated triangle, step-by-step working, unit converter, triangle type explorer and PDF solution.

Pro Version is Free for now
✓ Animated triangle · Step-by-step · Unit converter · Type explorer · PDF unlocked
All calculations run instantly in your browser — no data sent anywhere
🔺 Solve Mode — Choose Your Known Values
Sides
units
units
units
cbaCBA
Please check your inputs — triangle inequality must be satisfied and angles must sum to 180°.
`; const blob=new Blob([html],{type:'text/html'}); const a=document.createElement('a');a.download='triangle-solution.html';a.href=URL.createObjectURL(blob);a.click(); toast('Downloaded — open and Print → Save as PDF'); }// ── HELPERS ─────────────────────────────────────────────────── function hideError(){const el=document.getElementById('errorBox');el.classList.remove('show');} function toast(msg){const t=document.getElementById('toast');t.textContent=msg;t.classList.add('show');setTimeout(()=>t.classList.remove('show'),2800);}// ── MODE ────────────────────────────────────────────────────── function setMode(mode){ isPro=mode==='pro'; document.getElementById('btnSimple').classList.toggle('active',!isPro); document.getElementById('btnPro').classList.toggle('active',isPro); document.body.classList.toggle('pro-mode',isPro); const pb=document.getElementById('proBar'); if(pb)pb.style.display=isPro?'flex':'none'; if(lastResult&&isPro){renderSteps();renderUnitConverter(lastResult.area);} try{localStorage.setItem('sst_tri_mode',mode);}catch(e){} }// ── INIT ────────────────────────────────────────────────────── try{const m=localStorage.getItem('sst_tri_mode');if(m==='pro')setMode('pro');}catch(e){}

Technical Blueprint: How to Use the Multi-Intent Triangle Calculator

Triangles appear in every field of applied measurement — from the pitch of a residential roof to the bearing calculations of a surveyor, from the load distribution of a structural engineer to the geometry problems of a STEM student on deadline. The challenge is that each of these scenarios presents a different combination of known values: a builder might know two sides and the angle between them; a student might know all three angles and one side; a surveyor might measure all three boundary lengths but have no way to drop a perpendicular for height. An adaptive triangle calculator must handle every valid input combination and apply the appropriate solving path — not just the textbook right-angle case.

Our comprehensive triangle calculator uses localised computational paths to solve missing metrics instantly from any valid three-parameter input. By filling out any three distinct measurements — two sides and an angle, all three sides, two angles and a side — the internal triangle side calculator immediately reveals every remaining dimension: all three sides, all three angles, the area, the perimeter, the height from each vertex and the medians. The solving method selected depends on which parameters you provide — the tool detects the input configuration automatically and applies the correct trigonometric or algebraic solving path without requiring you to know which law or formula applies.

Supported Input Configurations — Five Solving Paths

SSS
Three Sides Known
a, b, c → all angles + area
Uses Law of Cosines to find each angle from three known sides. Area calculated via Heron's formula. No height measurement needed.
SAS
Two Sides + Included Angle
a, b, C → c + A + B + area
Law of Cosines finds the third side. Law of Sines determines remaining angles. Area = ½ × a × b × sin(C).
ASA
Two Angles + Included Side
A, B, c → a + b + C + area
Third angle found by subtraction (A+B+C = 180°). Law of Sines resolves remaining sides. Unique solution always exists.
AAS
Two Angles + Non-Adjacent Side
A, B, a → b + c + C + area
Third angle by subtraction. Law of Sines finds remaining sides. Equivalent to ASA — unique solution guaranteed.
SSA
Two Sides + Non-Adjacent Angle
a, b, A → ambiguous case
The ambiguous case — may yield 0, 1 or 2 valid triangles. The calculator evaluates all possibilities and reports each valid solution.
90°
Right Triangle — Any Two Values
Pythagorean + inverse trig
The right triangle angle calculator applies inverse trigonometric functions (arcsin, arccos, arctan) to find angles from sides, or the Pythagorean theorem to find sides from two known values.

For tradesmen and construction professionals verifying right-angle frame alignments, the right triangle angle calculator engine is particularly valuable. When calculating roof pitch, staircase rise-to-run ratios or the diagonal of a rectangular floor plan, the tool applies inverse trigonometric functions (arctan, arcsin, arccos) to the provided side lengths and returns precise interior degree measurements. A carpenter checking whether a corner is truly square can enter the two leg lengths and the measured diagonal and immediately verify whether the calculated hypotenuse matches — confirming or refuting the 90° alignment to decimal precision.

Industrial Calculations: Converting Geometry into Exact Material Square Footage

Basic geometry platforms solve textbook problems. Construction professionals, landscape contractors and property surveyors need something more operationally direct: the ability to take real field measurements and produce the exact square footage figures needed for material ordering, cost estimation and regulatory compliance. Our built-in area of a triangle calculator modules eliminate the manual formula work entirely — enter your measurements in any supported unit and the tool returns the area in the unit system your project requires.

The most practically significant capability for field applications is the ability to calculate triangular land area or material coverage when a perpendicular height cannot be physically measured. For an irregular triangular plot bounded by three boundary fences, or a hip-roof section defined by three rafter lengths, measuring a vertical height drop is often physically impossible. Our square foot triangle calculator resolves this constraint by utilising Heron's mathematical theorem — the complete square footage of a triangle calculator system handles dimensions seamlessly using only the three boundary measurements.

Heron's Formula — Area from Three Side Lengths
s = (a+b+c)/2 and Area = √(s(s-a)(s-b)(s-c)) — Heron's Formula
s = (a + b + c) ÷ 2
Area = √(s(s−a)(s−b)(s−c))
s = semi-perimeter (half the total perimeter)  ·  a, b, c = the three side lengths of the triangle  ·  No height measurement required — only the three boundary sides. Enter measurements in feet for direct square footage of a triangle calculator output.

Heron's Formula — Worked Construction Example

🏗️ Triangular Land Parcel — Three Boundary Measurements Known
Side a (north boundary)40 ft
Side b (east boundary)50 ft
Side c (diagonal)30 ft
Semi-perimeter: s = (40 + 50 + 30) ÷ 260
s − a = 60 − 4020
s − b = 60 − 5010
s − c = 60 − 3030
Product: 60 × 20 × 10 × 30360,000
Area = √360,000600 sq ft
Exact area: 600 sq ft — no height measurement required · confirmed by Heron's theorem

The interface's built-in unit converter handles transitions between inches, feet, yards and metres automatically. A roofer working in feet who needs to verify a measurement taken in inches — or a landscape contractor specifying areas in square metres for a client accustomed to metric units — can switch between systems without manually converting inputs or applying unit conversion factors. The conversion prevents the costly material calculation errors that arise when unit inconsistencies go undetected until after materials are ordered.

Construction use cases for the square footage of a triangle calculator: Hip roof section area estimation for shingle ordering · Triangular garden bed coverage for mulch or turf · Irregular land parcel area for planning applications · Gable end area for cladding or insulation · Floor plan triangular sections for tile or flooring material quantity · Road embankment cross-section for earthworks volume estimation.

Special Right Triangle Frameworks: Deconstructing Constant Math Ratios

Beyond the general solving algorithms, our tool integrates specialised mathematical shortcuts for triangle configurations with fixed geometric properties — configurations that appear repeatedly in architecture, carpentry, structural engineering and academic STEM curricula. These special triangle types have constant angle and side ratios that allow complete dimension resolution from a single known measurement, making them significantly faster to solve than general triangles.

30-60-90°
Half-Equilateral Triangle
Ratio: 1 : √3 : 2
The 30 60 90 triangle calculator applies the constant ratio where the short leg = x, the long leg = x√3, and the hypotenuse = 2x. Knowing any one side instantly determines the other two. Appears in roof pitch calculations, ramp design and staircase geometry.
45-45-90°
Isosceles Right Triangle
Ratio: 1 : 1 : √2
Both legs are equal; the hypotenuse = leg × √2. Common in diagonal calculations for square sections, tile cutting at 45° and mitre joint verification. The special right triangle calculator resolves all dimensions from one measurement.
Isosceles
Two Equal Sides / Two Equal Angles
Base angles equal
The isosceles triangle calculator uses symmetry: the two base angles are equal, the altitude from the apex bisects the base perpendicularly, splitting the triangle into two congruent right triangles for simple height and area calculation.

30-60-90 Triangle — How the Calculator Solves From One Side

Selecting or entering parameters that form a 30-60-90 layout immediately engages a specialised 30 60 90 triangle calculator routine based on the constant ratio of 1 : √3 : 2. If a student inputs just a single known side — for example, the short leg (opposite the 30° angle) measuring 8 cm — the calculator immediately applies the ratio to determine all remaining dimensions without requiring additional inputs:

Known InputShort Leg (×1)Long Leg (×√3)Hypotenuse (×2)Area
Short leg = 888√3 ≈ 13.86168 × 13.86 ÷ 2 = 55.4 sq units
Long leg = 1010÷√3 ≈ 5.771010×2÷√3 ≈ 11.555.77 × 10 ÷ 2 = 28.87 sq units
Hypotenuse = 201010√3 ≈ 17.322010 × 17.32 ÷ 2 = 86.6 sq units

This constant-ratio shortcut saves significant time in STEM coursework where 30-60-90 triangles appear repeatedly across trigonometry, physics and engineering problem sets. A student who inputs a hypotenuse and receives all three sides, both non-right angles and the area in a single calculation can verify their manual working instantly rather than repeating the full trigonometric derivation for each step.

For the isosceles triangle calculator module, the symmetry property is equally powerful. The altitude dropped from the apex of any isosceles triangle bisects the base perpendicularly, dividing the triangle into two congruent right triangles. This means that with just two equal sides and the base measurement entered, the calculator can determine the apex angle, both base angles, the exact altitude height and the area — all by applying Pythagoras to one of the two right-triangle halves. For symmetric roof trusses, architectural gable profiles and symmetric landscape features, this single-click resolution bridges the gap between advanced algebra and practical dimensional verification.

The special right triangle calculator paths are not just academic shortcuts — they directly serve trade professionals who work with these geometric configurations daily. A carpenter cutting 30-60-90 rafters, a tiler setting 45° diagonal patterns, an electrician calculating conduit bends or a surveyor laying out right-angle lot corners all encounter these fixed-ratio configurations repeatedly. One-input resolution from a browser tool eliminates the need to carry reference tables or perform multi-step manual calculations on site.

How to Use the Triangle Calculator — Step by Step

1
Select your triangle type or input modeChoose from General Triangle, Right Triangle or Special Triangle (30-60-90, 45-45-90, Isosceles). The input fields adjust to match the selected type — only the parameters relevant to that configuration are shown, preventing invalid input combinations.
2
Enter any three known valuesFor general triangles, enter any valid combination of sides and angles (SSS, SAS, ASA, AAS or SSA). For right triangles, enter any two known values — two sides or one side and one acute angle. The calculator automatically detects the solving method needed.
3
Select your unit of measurementChoose inches, feet, yards, centimetres or metres. The built-in unit converter ensures all outputs are in your selected unit. For the square footage of a triangle calculator mode, select feet — the area output will be in square feet, ready for material estimation.
4
Read your complete triangle profileResults display all three sides, all three angles, the area, the perimeter and the height from each base — a complete dimensional profile in one calculation. For the 30-60-90 and 45-45-90 special triangle paths, the ratio-derived values appear instantly from your single input.
5
Use for material estimation or verificationFor construction applications, the area output feeds directly into material quantity calculations. For academic use, the step-by-step solving method (displayed beneath results) shows which formula was applied — Law of Sines, Law of Cosines, Heron's, Pythagorean or ratio-based — confirming the approach for coursework verification.

Frequently Asked Questions

Common questions about triangle calculations, Heron's formula and special triangle ratios

A triangle calculator solves every missing dimension — all sides, all angles, area, perimeter, height and medians — from any valid combination of three known parameters. Supported configurations: SSS (three sides), SAS (two sides + included angle), ASA (two angles + included side), AAS (two angles + non-adjacent side) and SSA (two sides + non-included angle). The tool detects your input configuration and applies the correct solving method (Law of Sines, Law of Cosines, Pythagorean theorem or Heron's formula) automatically.

The triangle side calculator applies different methods depending on inputs. For SAS (two sides + included angle): Law of Cosines — c² = a² + b² − 2ab·cos(C). For ASA/AAS (angles + one side): Law of Sines — a/sin(A) = b/sin(B) = c/sin(C). For right triangles with two sides: Pythagorean theorem — a² + b² = c². For 30-60-90 and 45-45-90 special triangles: ratio shortcuts from one known side. All calculations are client-side with instant results.

Use Heron's formula when all three side lengths are known but no perpendicular height can be measured. First calculate the semi-perimeter: s = (a + b + c) ÷ 2. Then calculate area: Area = √(s(s−a)(s−b)(s−c)). Our area of a triangle calculator applies this automatically when SSS inputs are provided — ideal for triangular land parcels, hip roof sections and any irregular field measurement where dropping a perpendicular is not physically possible.

The 30 60 90 triangle calculator applies the constant ratio 1 : √3 : 2. If the short leg (opposite 30°) = x, then the long leg (opposite 60°) = x√3 and the hypotenuse (opposite 90°) = 2x. Enter any one side and all others are determined instantly. Example: hypotenuse = 20 → short leg = 10, long leg = 10√3 ≈ 17.32. This eliminates multi-step trigonometric derivation for a configuration that appears frequently in roofing, ramp design and STEM coursework.

Yes. Our square foot triangle calculator lets you enter side lengths in feet and outputs area in square feet. Enter all three boundary measurements of any triangular section — the calculator applies Heron's formula to return the exact square footage without requiring a perpendicular height. The built-in unit converter handles inches, feet, yards, centimetres and metres, preventing unit inconsistency errors that lead to costly over-ordering or under-ordering of materials.

The SSA case (two sides and a non-included angle) is called "ambiguous" because the given measurements may produce zero valid triangles, exactly one valid triangle or two distinct valid triangles depending on the relative lengths and the angle provided. Our triangle calculator evaluates all possibilities mathematically and reports each valid solution separately — flagging when two valid triangles exist so the user can identify which configuration matches their physical situation.

The isosceles triangle calculator uses the symmetry property: two equal sides and two equal base angles. The altitude from the apex bisects the base perpendicularly, creating two congruent right triangles. From just two equal sides and the base, the calculator determines the apex angle, both base angles, the exact altitude height and the area using Pythagoras on the right-triangle halves. For symmetric architectural profiles, roof trusses or landscape features, this one-click resolution replaces multi-step manual derivation.

Yes. Our triangle calculator runs entirely client-side in your browser — all calculations happen locally with no data transmitted to any server, stored in any database or shared with any third party. Input values, unit selections and results remain on your device. No account creation, no tracking cookies and no network requests occur during use.

Lilly
Here to help you find a tool
Search tools Search blogs
Try me to find a tool! 👋