Shapes & spaces

Triangle solver for SSS SAS ASA and AAS

Solve planar triangle sides angles area perimeter and radii using four stated input configurations and an SVG sketch.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Try it, understand it

Explore the result

Change the known configuration while keeping the side and opposite-angle labels explicit.

Worked example comparison
ExampleOutputWhat to notice
3–4–5 sidesTriangle area6 square unitsThis gives area 6 and a right angle opposite side c.
Thirty sixty ninety with included side tenTriangle area21.6506350946 square unitsThe known side c lies opposite the derived right angle.
Same angles with side a fiveTriangle area21.6506350946 square unitsThe known side is opposite angle A, not the side between A and B.

Check your understanding

Can two angles sum to 180°?

No. That leaves no positive third angle in a nondegenerate triangle.

Is the sketch a unit conversion?

No. It uses the same arbitrary length unit as the side inputs.

Behind the numbers

How this calculation works

Choose the known configuration and follow the fixed side labels. SSS checks strict triangle inequalities. SAS uses sides b and c enclosing A. ASA uses A and B with the included side c; AAS uses A and B with side a opposite A. The form solves the remaining quantities and draws a numerical equal-scale sketch.

THE FORMULACosine rule a² = b² + c² − 2bc cos A; sine rule a/sin A = b/sin B = c/sin C

A worked example

Sides a = 3, b = 4 and c = 5 form a right triangle with area 6, perimeter 12 and opposite angles approximately 36.869898°, 53.130102° and 90°. Its inradius is 1 and circumradius is 2.5.

Good to know

Planar Euclidean triangles with matching side units and degree inputs only. SSS SAS ASA and AAS; no SSA ambiguous-case solver or spherical geometry. Supported positive inputs are bounded, trigonometric results are numerical, and extremely flat shapes can exceed useful sketch resolution.

Opposite side labels determine which rule applies

The side labels a, b and c are opposite angles A, B and C. They do not mean smallest, middle and largest unless the corresponding angles happen to have that order. The form names the actual measurements for every configuration, so the same letter does not silently switch meaning when you change methods. All side lengths must use one common unit.

In SSS mode, all three sides are known and the triangle must satisfy strict triangle inequalities. For example, 3, 4 and 5 work, but 1, 1 and 2 describe a flat boundary rather than a triangle with positive area. Rejecting that boundary prevents a zero-area shape from generating undefined radii or a misleading plot.

The trigonometric function grapher instead displays complete transformed sine and cosine waves, their period, phase and vertical range. Triangle ratios and a global wave graph answer different questions.

Included and opposite measurements are different inputs

In SAS mode the known sides are b and c, with included angle A between them. The cosine rule determines a. In ASA mode the known angles are A and B, with c connecting their vertices, so c is opposite the derived C. In AAS mode the known side is instead a, opposite the already known A. Using the same numeric side in those last two modes generally produces a differently scaled triangle.

The third angle is 180° minus the two supplied angles. It must be positive, and the form enforces a small positive supported minimum. Once one opposite side-angle pair is known, the sine rule scales the other sides. This page implements those four unambiguous configurations only. It does not select one branch of an SSA problem and hide a possible second triangle.

Read the sketch alongside the solved table

The equal-scale SVG sketch places A at the origin, B on the positive horizontal axis and C above that axis. Reflection would produce the same side lengths, opposite angles, area and radii. The table supplies the numerical values, while the sketch helps you inspect the correspondence between the entered measurements and the resulting shape. Very narrow triangles may appear flat at ordinary screen resolution.

For the default 3–4–5 example, area is 6 and perimeter is 12. The inradius equals twice the area divided by the perimeter, giving 1. The circumradius equals abc divided by four times the area, giving 2.5. The triangle area calculator can answer a simpler base-and-height question when those are the actual known measurements, rather than using a more elaborate solver to infer them. Trigonometric outputs are numerical approximations, not an uncertainty analysis of a measured drawing.

A few questions, answered

Are angles in degrees?

Yes. Every entered and reported angle uses degrees.

Does this solve the ambiguous SSA case?

No. It supports only the four listed SSS SAS ASA and AAS configurations and does not hide an alternate SSA solution.

Can the side units differ?

No. Convert all sides to one common unit before using the solver.

Find your calculator

Start typing to explore the library.