Triangle Area Calculator
Find the area of any triangle using base & height, three sides (Heron's formula), or two sides and an angle (SAS).
△ What is the Area of a Triangle?
The area of a triangle is the measure of the two-dimensional region enclosed within its three sides. It is expressed in square units (cm², m², in², etc.) and represents how much flat surface the triangle covers. Unlike the perimeter which measures the boundary, area measures the interior space.
Triangles are the simplest polygon and the foundational shape in all of geometry. They appear in architecture, engineering, art, navigation, and computer graphics. The ability to calculate triangle area accurately is essential in fields ranging from land surveying (where irregularly shaped plots are divided into triangles) to 3D rendering (where every curved surface is approximated by a mesh of triangles).
There are three main ways to calculate a triangle's area depending on what measurements you have available. The base and height method (Area = ½ × b × h) is the most straightforward and works whenever you can measure the base and the perpendicular height. Heron's formula requires only the three side lengths and is invaluable when height is difficult to measure directly. The SAS formula (Area = ½ × p × q × sin C) applies when you know two sides and the angle between them, which is common in surveying and trigonometry problems.
The perimeter of a triangle is the total length of its three sides added together: P = a + b + c. Triangle classification is based on side lengths: equilateral (all equal), isosceles (two equal), or scalene (none equal). This calculator determines the type automatically from the side inputs so you always know what kind of triangle you are working with.
Formulas and Derivation
Method 1 — Base and Height:
This formula comes from the fact that a triangle is exactly half of a parallelogram with the same base and height. A parallelogram has area = b × h, so the triangle is ½ × b × h. The height must be perpendicular to the base, even if the foot of the altitude falls outside the triangle (for obtuse triangles).
Method 2 — Heron's Formula (three sides):
Heron's formula is elegant because it requires no angle measurement. It works for any valid triangle, including obtuse and right triangles. The triangle inequality must be satisfied: the sum of any two sides must exceed the third.
Method 3 — Two Sides and Included Angle (SAS):
The third side is found via the Law of Cosines: c² = p² + q² − 2pq × cos(C). This allows the perimeter to be computed as well. The SAS formula is derived by expressing the height of the triangle as h = q × sin(C), then substituting into the base × height formula.
Perimeter:
How to Use This Calculator
- Select your input mode — click the Base & Height, Three Sides (Heron's), or Two Sides + Angle tab depending on what measurements you have available.
- Enter your values — type the side lengths or base and height into the input fields. For SAS mode, enter the angle between the two sides in degrees.
- Press Calculate — the calculator instantly shows the area, perimeter (if computable), and triangle type.
- Review the note — the grey note box below the results shows the step-by-step calculation so you can verify the formula application.
- Share or save — use the Copy Link button to generate a URL with your inputs so you can share the exact calculation with others.