Triangle Calculator

Solve any triangle by entering sides and angles. Calculate area, perimeter, height, angles, and identify triangle type. Uses Law of Sines, Law of Cosines, and Pythagorean theorem with step-by-step solutions.

star 4.9
Input Values
expand_more
Triangle Visualization
Right Triangle
a = 5 b = 4 c = 3 A B C

Measurements

Area: 6
Perimeter: 12
Height (h): 4

Angles

∠A: 90°
∠B: 53.13°
∠C: 36.87°

Triangle Type

Right scalene triangle (3-4-5 Pythagorean triple)

Area

Area: 6.0000

Method
Three Sides (SSS)
Area
6.0000
Perimeter
12.0000
Triangle Type
Scalene Right

straighten Sides

Side a
3.0000
Side b
4.0000
Side c
5.0000

change_history Angles

Angle A
36.8699°
Angle B
53.1301°
Angle C
90.0000°

height Heights

ha
4.0000
hb
3.0000
hc
2.4000
Inradius (r)
1.0000
Circumradius (R)
2.5000
functions Step-by-Step Solution
expand_more
=== Solving Triangle (SSS) ===
Given: a = 3.0000, b = 4.0000, c = 5.0000
Using Law of Cosines to find angles:
cos(A) = (b² + c² - a²) / (2bc)
cos(A) = (4.0000² + 5.0000² - 3.0000²) / (2 × 4.0000 × 5.0000)
cos(A) = 0.800000
A = 36.8699°
cos(B) = (a² + c² - b²) / (2ac) = 0.600000
B = 53.1301°
C = 180° - A - B = 90.0000°
=== Additional Calculations ===
Perimeter = a + b + c = 12.0000
Semi-perimeter (s) = 6.0000
Area (Heron's formula) = √[s(s-a)(s-b)(s-c)]
Area = 6.0000
Heights (h = 2×Area/side):
hₐ = 4.0000, hᵦ = 3.0000, hᵧ = 2.4000
Inradius (r) = Area/s = 1.0000
Circumradius (R) = abc/(4×Area) = 2.5000
Triangle type: Scalene Right

science Example: Classic 3-4-5 Right Triangle

The 3-4-5 triangle is the most famous Pythagorean triple. With sides a=3, b=4, c=5, it forms a right triangle because 3² + 4² = 9 + 16 = 25 = 5². Area = ½ × 3 × 4 = 6 square units. Perimeter = 3 + 4 + 5 = 12 units.

Expected Results

Area 6
Perimeter 12
Type Right Scalene

How to Use This Calculator

category

Select Known Values

Choose SSS, SAS, ASA, AAS, SSA, or right triangle.

edit

Enter Measurements

Input the known sides and/or angles.

calculate

Calculate

The calculator solves for all unknown values.

visibility

View Results

See area, perimeter, all sides/angles, and triangle type.

The Formula

Triangles can be solved using Law of Sines, Law of Cosines, or Pythagorean theorem depending on known values.

Area = ½ × base × height = √[s(s-a)(s-b)(s-c)]

lightbulb Variables Explained

  • s Semi-perimeter: (a+b+c)/2
  • a, b, c Lengths of the three sides
  • A, B, C Angles opposite to sides a, b, c

tips_and_updates Pro Tips

1

The sum of angles in any triangle is always 180°

2

Triangle inequality: sum of any two sides must be greater than the third side

3

For right triangles: a² + b² = c² (Pythagorean theorem)

4

Area = ½ × base × height, or use Heron's formula with three sides

5

Law of Cosines: c² = a² + b² - 2ab×cos(C) - works for any triangle

6

Law of Sines: a/sin(A) = b/sin(B) = c/sin(C)

Triangle Calculator - Solve Any Triangle

Calculate triangle area, perimeter, angles, and sides using SSS, SAS, ASA, AAS, or SSA. Supports right triangles with Pythagorean theorem and step-by-step solutions.

Triangle Types

By sides: Equilateral (all equal), Isosceles (two equal), Scalene (all different). By angles: Acute (all < 90°), Right (one = 90°), Obtuse (one > 90°).

Solving Triangles

Use Law of Cosines for SSS and SAS problems. Use Law of Sines for ASA, AAS, and SSA. For right triangles, the Pythagorean theorem (a² + b² = c²) is simplest.

Frequently Asked Questions