Triangle Formulas (Area, Perimeter, Heron’s Formula)
A triangle is a three-sided polygon. Its area is A = ½·b·h (half the base times the height), or Heron’s formula A = √(s(s−a)(s−b)(s−c)) from the three sides, where s = (a+b+c)/2 is the semiperimeter. Its perimeter is P = a + b + c.
Triangle formulas
- Area (base & height):
- Area (Heron’s):
- Semiperimeter:
- Perimeter:
where a, b, c = the three side lengths, b = base, h = height (perpendicular to base), s = semiperimeter (a+b+c)/2, A = area
Area (base & height)
Area (Heron’s)
The 3-4-5 triangle (a right triangle) has semiperimeter s = 6 and area 6 square units.
Semiperimeter
Perimeter
Its perimeter is 12 units.
Interactive triangle explorer
Drag a slider (or type a value, or use the arrow keys) and watch the diagram, the results, and the full step-by-step substitution update live.
Step-by-step substitution
- P = a + b + c = 3 + 4 + 5 = 12
- s = P / 2 = 12 / 2 = 6
- A = √(s(s−a)(s−b)(s−c)) = √(6·3·2·1) = 6
Enable JavaScript to drag the sliders; the formulas above stay accurate either way.
Classroom use: triangle formulas
Learning objectives
After using this page, students will be able to:
- Apply A = ½bh, identifying the height as perpendicular to the chosen base.
- Recognise that any of the three sides may serve as the base.
- Compute a triangle's perimeter and area from side lengths.
Suggested classroom activity
Use the explorer to hold the base fixed while changing the height, then the reverse. Ask why the ½ appears at all; the composing/decomposing argument (two congruent triangles form a parallelogram) lands well right after students have seen the area stay put under those changes.
Standards alignment
| Code | Standard |
|---|---|
6.G.A.1 | Find the area of triangles, special quadrilaterals, and polygons by composing or decomposing shapes. |
7.G.B.6 | Solve real-world problems involving area, volume, and surface area of 2-D and 3-D objects. |
HSG.MG.A.1 | Use geometric shapes, their measures, and their properties to describe objects. |
Free to use and adapt in class under the terms on our license page — no account, no sign-up, no ads. Content last reviewed August 2026.
Common mistakes
- Using a slant side instead of the perpendicular height in A = ½bh.
- Forgetting to take the square root at the end of Heron’s formula.
Related & next steps
Frequently asked questions
What is the area formula for a triangle?
The area of a triangle is A = ½·b·h, half the base times the perpendicular height. A triangle with base 10 and height 6 has area ½ × 10 × 6 = 30 square units.
What is Heron’s formula?
Heron’s formula finds a triangle’s area from its three sides: A = √(s(s−a)(s−b)(s−c)), where s = (a+b+c)/2. It needs no height. For sides 3, 4, 5, the area is 6.
What are the 30-60-90 and 45-45-90 triangle ratios?
In a 30-60-90 triangle the sides are in ratio 1 : √3 : 2. In a 45-45-90 triangle they are 1 : 1 : √2. These special right triangles let you find every side from one.
Teacher? Embed this triangle explorer
Drop the interactive explorer into your class site — one line of HTML, free forever.