Home/Math & Science/Triangle Calculator
Triangle Calculator

Enter at least 3 values: either 3 sides, 2 sides + 1 angle, or 2 angles + 1 side. Angles should be in degrees (°).

Sides

Angles (in degrees)

How It Works

1. Enter Triangle Data

Provide at least 3 values: either 3 sides, 2 sides + 1 angle, or 2 angles + 1 side. Angles should be in degrees.

2. Instant Calculations

The calculator automatically uses trigonometry to find all missing sides, angles, area, and perimeter.

3. View Results

See all triangle measurements displayed clearly with full precision for your geometry problems.

Understanding Triangles

Triangle Properties

  • • Sum of Angles: The three interior angles of any triangle always sum to 180°
  • • Triangle Inequality: The sum of any two sides must be greater than the third side
  • • Area: Can be calculated from three sides (Heron's formula) or two sides and the included angle
  • • Perimeter: The sum of all three sides

Triangle Types

Equilateral Triangle: All three sides are equal, and all angles are 60°
Isosceles Triangle: Two sides are equal, and the angles opposite those sides are equal
Scalene Triangle: All three sides and all three angles are different
Right Triangle: One angle is 90°. Follows the Pythagorean theorem: a² + b² = c²

Calculation Methods

SSS (Side-Side-Side): When you have all three sides, the calculator uses the Law of Cosines to find all angles.
SAS (Side-Angle-Side): When you have two sides and the included angle, the calculator finds the third side and remaining angles.
AAS (Angle-Angle-Side): When you have two angles and a non-included side, the calculator finds the third angle and remaining sides using the Law of Sines.
SSA (Side-Side-Angle): When you have two sides and a non-included angle, the calculator solves for the remaining measurements.

Key Formulas

Law of Cosines
c² = a² + b² − 2ab·cos(C)
Law of Sines
a/sin(A) = b/sin(B) = c/sin(C)
Heron's Formula
Area = √[s(s−a)(s−b)(s−c)], where s = (a+b+c)/2
Area (SAS)
Area = (a·b·sin(C))/2

Usage Examples

Example 1: Find Missing Side (SSS)▼

Given: Side A = 3, Side B = 4, Side C = 5

Result: This is a right triangle with angles 90°, 53.13°, and 36.87°. Area = 6 square units, Perimeter = 12 units.

This is the famous 3-4-5 right triangle, commonly used in construction and geometry.

Example 2: Find Missing Side (SAS)▼

Given: Side A = 5, Side B = 7, Angle C (included) = 60°

Result: Side C ≈ 6.08 units. The remaining angles can be calculated using the Law of Cosines.

Use this method when you know two sides and the angle between them (the included angle).

Example 3: Equilateral Triangle▼

Given: Side A = 10, Side B = 10, Side C = 10

Result: All angles = 60°. Area ≈ 43.30 square units, Perimeter = 30 units.

An equilateral triangle has all sides and angles equal, making it perfectly symmetric.

Example 4: Two Angles and One Side (AAS)▼

Given: Angle A = 45°, Angle B = 60°, Side C = 10

Result: Angle C = 75°. The calculator finds sides A and B using the Law of Sines.

When you know two angles, the third is automatically determined since angles sum to 180°.

Frequently Asked Questions

What inputs do I need to provide?▼

You need to provide at least 3 values from the 6 possible measurements (3 sides and 3 angles). Valid combinations include: all 3 sides (SSS), 2 sides + 1 angle (SAS/SSA), or 2 angles + 1 side (AAS).

What units are used?▼

The calculator works with any unit system. If you enter sides in meters, the area will be in square meters. If you use feet, the area will be in square feet. Angles are always in degrees (°).

Can I use decimal values?▼

Yes! The calculator accepts both whole numbers and decimal values for sides and angles. This allows for precise measurements and calculations.

What is a right triangle?▼

A right triangle has one angle that is exactly 90°. The longest side (opposite the right angle) is called the hypotenuse. Right triangles follow the Pythagorean theorem: a² + b² = c².

How is the area calculated?▼

The calculator uses Heron's formula when all three sides are known: Area = √[s(s−a)(s−b)(s−c)], where s is the semi-perimeter. For other cases, it uses the formula: Area = (a·b·sin(C))/2.

What if I get an error?▼

Common errors include: (1) Not providing enough values, (2) Triangle inequality violation (sum of two sides ≤ third side), or (3) Angles not summing to 180°. Check your inputs and try again.

Is this calculator free to use?▼

Yes, this triangle calculator is completely free and works entirely in your browser. No registration required, and your data is never stored or sent to our servers.

Related Tools