Calculators.Life Calculator
Math

Triangle Calculator

Input Parameters

Scenarios
Length of side a
Length of side b
Length of side c
Angle opposite to side a
Angle opposite to side b
Angle opposite to side c

Computed Results

Side c
1
Side a1
Side b1
Angle A (°)60
Angle B (°)60
Angle C (°)60
Area0.433
Perimeter3

The triangle calculator determines the missing sides, angles, area, and perimeter of a triangle based on the known values you provide. By applying trigonometric principles like the Law of Sines and Law of Cosines, this tool quickly solves for unknown dimensions using either degrees or radians.

Practical Use Cases

Solving for unknown triangle dimensions is a fundamental requirement across many fields. In construction and carpentry, builders use these calculations to determine roof pitches, cut angles, and ensure structural stability. In navigation and surveying, triangles help calculate distances between points and map out terrain. Students and educators also use these calculations to verify geometry and trigonometry assignments.

Formulas and Calculation Method

The calculator uses standard trigonometric rules to find missing values based on the inputs provided. Depending on which sides and angles are known, it applies the following principles:

Sum of Angles

The interior angles of any planar triangle always add up to 180 degrees (or π radians).

A + B + C = 180°

Law of Sines

The ratio of a side length to the sine of its opposite angle is constant for all three sides.

a ÷ sin(A) = b ÷ sin(B) = c ÷ sin(C)

Law of Cosines

This relates the lengths of the sides of a triangle to the cosine of one of its angles.

c² = a² + b² − 2ab × cos(C)

Area and Perimeter

The perimeter is the sum of all three sides. The area is calculated using Heron's formula, where s is the semi-perimeter (Perimeter ÷ 2).

Perimeter = a + b + c
Area = √(s × (s − a) × (s − b) × (s − c))

Verified Scenario Walkthroughs

Here are examples of how the calculator processes different sets of known values:

Basic Right-Angled Triangle

If you have a right triangle where Side a is 3, Side b is 4, and Angle C is 90 degrees, the calculator determines that Side c is 5. The remaining angles are calculated as Angle A = 36.8699° and Angle B = 53.1301°. The total area is 6, and the perimeter is 12.

Equilateral Triangle

For a triangle where Side a is 10, Side b is 10, and the included Angle C is 60 degrees, the calculator identifies it as an equilateral triangle. Side c is calculated as 10, and all angles are 60°. The resulting area is 43.3013, with a perimeter of 30.

Large Triangle Using Radians

If you input Side a as 100, Side b as 150, and Angle C as 0.785 radians, the calculator converts and solves the remaining dimensions. Side c becomes 106.1996. The angles (converted to degrees for the output) are Angle A = 41.7255°, Angle B = 93.2973°, and Angle C = 44.9772°. The area is 5301.1902, and the perimeter is 356.1996.

How to Use the Calculator

Follow these steps to solve your triangle:

  1. Select your preferred Angle Unit (Degrees or Radians).
  2. Enter the known values for the sides (Side a, Side b, Side c).
  3. Enter the known values for the angles (Angle A, Angle B, Angle C). You typically need at least three known values (including at least one side) to solve the triangle.
  4. Leave the unknown fields blank. The calculator will automatically compute the missing sides, angles, area, and perimeter.

Inputs and Outputs

FieldTypeDescription
Side a / b / cInputThe lengths of the triangle's sides.
Angle A / B / CInputThe interior angles opposite to their respective sides.
Angle UnitInputThe unit of measurement for the input angles (Degrees or Radians).
Side a / b / cOutputThe calculated or confirmed lengths of all three sides.
Angle A / B / C (°)OutputThe calculated interior angles, displayed in degrees.
AreaOutputThe total enclosed area of the triangle.
PerimeterOutputThe total distance around the outside of the triangle.

Frequently Asked Questions

How many values do I need to enter to solve a triangle?

To completely solve a triangle, you generally need to know at least three values, and at least one of those values must be a side length. Knowing only three angles is not enough to determine the exact size of the sides.

Can I input angles in radians?

Yes. You can change the Angle Unit dropdown to 'rad' to input your known angles in radians. The calculator will process the math accordingly, though the final output angles are displayed in degrees.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.