Life Calculator
MAKE THE FORMULA CLEAR

Triangle sides, angles and area

Find a planar triangle’s sides, angles and area from SSS, SAS or two angles and any known side (ASA/AAS).

Start with your own numbers

Editable example

An example is filled in. Replace it with your own data to calculate.

Choose the known values first. For two angles and one side, A and B are opposite a and b; select the known side.

Loading calculator…

Choose three sides, two sides and their included angle, or two angles and one side.
Use the same length unit for all three sides; up to four decimal places.
Use the same length unit for all three sides; up to four decimal places.
Use the same length unit for all three sides; up to four decimal places.

Results update when inputs are complete. A plan is kept only when you save it. Inputs and results are not uploaded.

Saved plans →

Saved in this browser. Before changing devices, export a backup from My tools.

Example result

Angle A opposite side a

36.87degrees

Angles A, B and C are opposite sides a, b and c. All sides use one length unit; area uses square units.

Angle B opposite side b53.13 degrees
Angle C opposite side c90 degrees
Triangle area6 square units
Perimeter12 length units
Semiperimeter6 length units
Altitude to side a4 length units
Altitude to side b3 length units
Altitude to side c2.4 length units

Worked steps

  1. First check that the sum of any two sides exceeds the third.
  2. Use the law of cosines for the opposite angles and Heron’s formula for area.
  3. Perimeter = a + b + c. Angles and area use floating-point approximations and displayed values may be rounded.
  4. Altitude to each side is twice the area divided by that side; for an obtuse triangle the perpendicular foot may lie on the extended side.

Use one length unit. Input sides must be greater than 0 and at most 100000, with up to four decimals. For SSS, any two sides must sum to more than the third. For ASA/AAS, A and B must be positive and sum to less than 180 degrees, with up to four decimals. Select the correct opposite side; computed sides may exceed the input limit. Results are approximate. Only non-degenerate planar triangles are supported; ambiguous SSA and spherical triangles are excluded.

Method and scope

Use one length unit. Input sides must be greater than 0 and at most 100000, with up to four decimals. For SSS, any two sides must sum to more than the third.

For ASA/AAS, A and B must be positive and sum to less than 180 degrees, with up to four decimals. Select the correct opposite side; computed sides may exceed the input limit. Results are approximate.

Only non-degenerate planar triangles are supported; ambiguous SSA and spherical triangles are excluded.

References:OpenStax: law of sines and ASA/AAS、OpenStax: law of cosines and Heron’s formula、National Taiwan University Science Online: Heron’s formula

Purpose

Find all sides, the remaining angle, area and perimeter from SSS, SAS or two angles and a known side.

Inputs

Angles A, B and C are opposite sides a, b and c. For two angles, enter A and B, then select the known side and its length.

Formula

SSS uses cosine and Heron formulas; SAS uses the cosine rule. ASA/AAS uses a/sin(A) = b/sin(B) = c/sin(C), with C = 180 - A - B. Area = a*b*sin(C)/2. Each altitude is twice the area divided by its corresponding side; for an obtuse triangle its perpendicular foot may lie beyond the side.

Example

A = 30°, B = 60° and side c = 10 give C = 90°, a = 5, b about 8.6603 and area about 21.6506 square units.

Understanding the result

Use one length unit; area uses its squared unit. Results are floating-point approximations and may be rounded.

Limits

Both known angles must be positive and sum to less than 180 degrees, with up to four decimal places. Input lengths must be positive and at most 100000; derived lengths may be larger. No SSA ambiguity or spherical triangles.

Keep it handy for next time

Add Triangle sides, angles and area to your home screen

This icon opens this tool. Confirm installation in your browser.

  1. iPhone: Open in Safari, tap Share → Add to Home Screen, then confirm.
  2. Android: Open in Chrome and choose Install app or Add to Home screen from the menu.
  3. In an in-app browser such as LINE or Facebook, use its menu to open the page in Safari or Chrome first.

Browser options vary. A shortcut does not provide cross-device synchronization, and an installed app may have separate storage. Export a backup from My tools first. The first load requires a connection.

Checking offline data.