Triangle Solver (Full)

Solve any triangle given any three of {a, b, c, A, B, C} including SSS, SAS, ASA, AAS, and the ambiguous SSA case. Reports both solutions when SSA admits two valid triangles. Distinct from the right-triangle-solver (which assumes a 90° angle).

c = 5.000a = 4.000b = 3.000A 53.1°B 36.9°C 90.0°Vertex A is anchored — drag B or C to change the triangleDrag horizontally to change side c (and recompute side a)Drag freely to change sides a and b togetherarea ≈ 6.000 · perimeter ≈ 12.000 · (placeholder — provide 3 of {a,b,c,A,B,C})
Drag vertex B (horizontal) or vertex C (free) to change the triangle. Vertex A stays anchored. Dragging clears any angle inputs and writes a fresh SSS triple — re-enter angles after dragging if you want to switch to SAS / ASA / AAS / SSA.

Limitations: Three angles alone do NOT fix a unique triangle (similar triangles share angles) — provide at least one side. SSA queries with a side too short to span the opposite angle's reach return "no triangle". The visualizer is a read-only preview that re-renders as you change inputs.

What to do next: Convention: side a is opposite angle A, side b opposite B, side c opposite C. For a familiar example, try a = 3, b = 4, c = 5 (right triangle, expect angles 90°, 53.13°, 36.87°). For SSA ambiguity, try a = 5, b = 7, A = 40°.