Geometry Formulas & Calculators for Students

Triangle Formulas

Triangle formulas cover area, perimeter, right triangles, equilateral triangles, and side-length problems.

Formula card

Triangle Formulas

Area
Perimeter
Right triangle
Heron's formula
Use Calculator

height base side a side b side c
Triangle variables: base b, height h, and side lengths a, b, and c.

Direct answer

What are the main triangle formulas?

The main triangle formulas are area , perimeter , and the right-triangle formula . Use base and perpendicular height for area, side lengths for perimeter, and the Pythagorean theorem only for right triangles.

Short answer

Triangle formulas at a glance

Area: Perimeter: Right triangle:

Definition

What is a triangle?

A triangle is a 2D polygon with three sides, three vertices, and interior angles that add up to 180 degrees.

Diagram

Triangle diagram

height base side a side b side c
Triangle variables: base b, height h, and side lengths a, b, and c.

Quick formula table

Triangle Formulas quick table

FormulaEquationVariables
Area from base and heightb = base, h = height
Perimetera, b, c = side lengths
Right trianglec = hypotenuse
Equilateral triangle areas = side length
Heron's formulas = semiperimeter

Formula explanation

How to use these formulas

Use base and height when the height is known. Use side lengths for perimeter. Use the Pythagorean theorem only for right triangles.

Calculator

Triangle Calculator

Enter measurements to get the result, unit, formula, and calculation steps.

Enter values and select Calculate to see the result, formula, and steps.

Examples

Step-by-step examples

Find triangle area

  1. Given b = 10 cm and h = 6 cm.
  2. Use .
  3. .

Find perimeter

  1. Given sides 4, 5, and 7 m.
  2. Use .
  3. .

Right triangle hypotenuse

  1. Given legs 3 and 4.
  2. Use .
  3. .

Find height from area

  1. Given A = 48 cm2 and b = 12 cm.
  2. Use .
  3. .

Equilateral triangle area

  1. Given s = 6 m.
  2. Use .
  3. .

Reverse calculations

Solve backwards from known values

TaskFormulaWhen to use it
Find height from areaUse when area and base are known.
Find base from areaUse when area and height are known.
Find hypotenuseUse for right triangles only.

Common mistakes

Common mistakes

  • Using a slanted side as height. Height must be perpendicular to the base.
  • Using the Pythagorean theorem on a triangle that is not right.
  • Forgetting to check the triangle inequality before using three side lengths.

Practice

Practice problems with answers

1. Find the area when b = 14 cm and h = 5 cm.

.

2. Find the perimeter of sides 6 m, 8 m, and 9 m.

.

3. A right triangle has legs 5 and 12. Find the hypotenuse.

.

4. A triangle has A = 45 in2 and b = 9 in. Find h.

.

5. An equilateral triangle has side 8 cm. Find its area.

.

Related formulas

Related formulas

FAQ

Triangle Formulas FAQ

What is the basic triangle area formula?

The basic formula is .

What is the perimeter of a triangle?

Add the three side lengths: .

When do I use the Pythagorean theorem?

Use it only for right triangles, where c is the hypotenuse opposite the right angle.