All tools · 📊 Math

📐 Triangle Calculator

Enter any 3 known parts of a triangle (sides and/or angles). We solve the remaining parts using the law of sines, law of cosines, or Pythagoras. Also computes area, perimeter, and triangle type.

Loading tool…

Examples

Classic 3-4-5 right triangle
InputSSS: 3, 4, 5
OutputAngles 36.87°, 53.13°, 90° · Area 6 · Right + Scalene
Two sides + included angle (SAS)
Inputb=5, A=60°, c=7
Outputa ~ 6.24 · Area ~ 15.16
Two angles + side (ASA)
InputB=45°, a=10, C=60°
Outputb ~ 8.16 · c ~ 9.66

Frequently asked questions

What are SSS, SAS, ASA?

Combinations of known parts. SSS = three sides; SAS = two sides + included angle; ASA = two angles + included side. Each uniquely determines a triangle (up to reflection).

When does Pythagoras apply?

Only right triangles: a² + b² = c² where c is the hypotenuse. For non-right triangles use the law of cosines: c² = a² + b² − 2ab·cos(C).

Why might my triangle be "impossible"?

The triangle inequality: any one side must be less than the sum of the other two. If you enter 1, 1, 10 — there is no such triangle.

About this tool

Triangle Calculator runs entirely in your browser using standard Web APIs. No data is sent to any server. The source for this tool is in our public GitHub repository.

Related tools

← All 96 tools

Why this tool

vs typical free web-tool sites

1vwTypical free site
PriceFreeFree
Signup requiredNoOften (for premium features)
Ads inside the toolNoYes (banner + video)
Data sent to serverNo (browser-only)Yes (inputs analyzed for ads)
Total tools96Often <20 or scattered across sites
Bookmarkable URL per toolYesMixed
Loads in under 1sYes (static)Often slow (ad tracking)
MultilingualEN / ES / PT / FR / DEUsually EN only
Open sourceYesNo