Triangle Solver
Math CalculatorsSolve sides and angles (SSS/SAS) with law of cosines
Triangle Solver: Solve sides and angles (SSS/SAS) with law of cosines. SSS: cos A = (b² + c² − a²) / 2bc; area = √[s(s−a)(s−b)(s−c)], s = (a+b+c)/2.
Area · Right triangle
6.000
Perimeter 12.000 · SSS
Steps
- 1cos A = (b²+c²−a²)/(2bc) → A = 36.87°
- 2cos B = (a²+c²−b²)/(2ac) → B = 53.13°
- 3C = 180° − A − B = 90.00°
- 4Heron: s = 6.00, S = √[s(s−a)(s−b)(s−c)] = 6.000
Which law to use
| Known | Tool | Ambiguity |
|---|---|---|
| SSS ← | Law of cosines + Heron | Unique |
| SAS | Law of cosines (c first) | Unique |
| ASA / AAS | Angles sum + law of sines | Unique |
| SSA | Law of sines | 0 / 1 / 2 solutions (ambiguous case) |
💡 Three independent pieces (with at least one side) determine a triangle — except SSA, the "ambiguous case": given sides a < b and angle A, you may get zero, one, or two triangles depending on whether a reaches the altitude b·sinA. Surveyors avoid SSA for exactly this reason. The 3-4-5 right triangle is the classic integer Pythagorean triple used to square corners on construction sites.
Was this tool helpful?
How to Use
- Enter values or expressions: type directly into the Triangle Solver — keyboard friendly.
- Instant results: everything computes live as you type, no button needed.
- Follow the steps: the result panel shows full working and formula substitution.
- Copy or recompute: one-click copy; change any input to recalculate instantly.
Key Points
- Triangle Solver is a free online math tool — open and use, no sign-up.
- All calculations run locally in your browser; your data never leaves the device.
- Key capability: Solve sides and angles (SSS/SAS) with law of cosines.
- Results come with formulas and reference tables so you can verify every number.
Formula & How It Works
Triangle solver (law of cosines)
FAQ
How do I use the Triangle Solver?
Are the results accurate?
Is it free? Do I need to sign up?
Does it work on mobile?
Is my data saved?
Related Tools
Basic Calculator
Add, subtract, multiply, divide with full keyboard supportHOTScientific Calculator
Trig, log, exponent, factorial · DEG/RAD modesHOTPercentage Calculator
Percent of, percentage share, and percent changeFraction Calculator
Add, subtract, multiply, divide fractions with simplificationHOTNumber Base Converter
Convert between binary, octal, decimal and hexadecimalPermutation & Combination Calculator
Permutations A(n,m) and combinations C(n,m)Random Number Generator
Custom range, integers or decimals, batch generationPrime Number Tools
Primality test, prime factorization and prime listsRelated Guides
Source & Updates
Standard mathematical formulas. All logic verified. Last updated: 2025-07
Last updated:
Formulas and content on this page are reviewed by the YiJianSuan team. For reference only — official sources prevail.
Maintained and periodically reviewed by the YiJianSuan editorial team — review process in ourEditorial Policy.
Cite this page: YiJianSuan. Triangle Solver[EB/OL]. https://www.yijiansuan.com/en/c/math/triangle-solver
Results provided by this tool are for reference only and do not constitute professional advice.