Geometry • Core Flagship Pillar

Triangle Area Calculator

Calculate the exact area of any triangle using base and height ($A = \frac12bh$), Heron's formula for 3 sides, side-angle-side (SAS) trigonometry, or coordinate vertices with an interactive 2D geometry canvas.

|
Last Updated: September 2026
|
Verified Euclidean Geometry Theorem

Enter Base and Height

Dynamic Triangle Geometry Canvas
Triangle Area
30.00
Square units
Perimeter
24.00
Total boundary
Semi-Perimeter (s)
12.00
P / 2
Triangle Type
Scalene
Geometric Class
∑

Step-by-Step Area Calculation Derivation

Direct Answer & Overview
Verified Educational Guide

How to Calculate the Area of a Triangle

The area of a triangle can be calculated using several methods depending on available measurements: 1. Base and Height: Area = ½ × base × height. 2. Three Sides (SSS): Area = √[s(s − a)(s − b)(s − c)] where s = (a + b + c)/2. 3. Side-Angle-Side (SAS): Area = ½ · a · b · sin(γ). 4. Equilateral: Area = (√3 / 4) · s².

Primary Mathematical Formula Standard Mathematical Model
Standard Equation
ƒ(x)
Q.E.D.
Area=12bh=s(s−a)(s−b)(s−c)=12absin⁡(γ)=34s2\text{Area} = \frac{1}{2}bh = \sqrt{s(s - a)(s - b)(s - c)} = \frac{1}{2}ab \sin(\gamma) = \frac{\sqrt{3}}{4}s^2
Evaluated with exact mathematical formulation • Rigorously verified
Exact Formula
Input Parameters
Required
1
Base b and perpendicular height h OR 3 side lengths (a, b, c)
2
Positive numerical dimensions in uniform units (cm, m, in, ft)
Expected Outputs
Calculated
Enclosed triangle area (square units) and total perimeter
Semi-perimeter (s), triangle classification (Equilateral, Isosceles, Scalene, Right), and step-by-step derivation
Worked Numerical Example
Instant Verification
Triangle with base b = 10 cm and height h = 6 cm
→ Area = ½ × 10 × 6 = 30 cm²
Area = 30 cm² (Perimeter ≈ 24 cm)

The Base-Height Formula (A = ½bh) & Parallelogram Halving Proof

The most universally taught area formula calculates the enclosed two-dimensional space of any planar triangle given a known base length $b$ and its corresponding perpendicular altitude (height) $h$:

Primary Area Equation
Area = ½ × b × h

Geometric Proof: Duplicating any arbitrary triangle and rotating the copy 180° forms a complete parallelogram of base b and height h. Since the area of the parallelogram is Area = b × h, each individual triangle holds precisely half that area (½bh).

Heron’s Formula for Three Known Sides (SSS)

When the perpendicular height is unknown but all three side lengths ($a, b, c$) are measured, Heron of Alexandria’s Formula (c. 60 CE) calculates area directly via the semi-perimeter $s$:

s = (a + b + c) / 2 (Semi-Perimeter)
Area = √[s · (s − a) · (s − b) · (s − c)]

Triangle Inequality Rule: Heron’s radical is strictly positive if and only if the side lengths satisfy the triangle inequalities (a + b > c, a + c > b, and b + c > a). If a + b = c, the three points are collinear (degenerate triangle of area 0).

Trigonometric Area Formulas (SAS & Equilateral)

Side-Angle-Side (SAS)
Area = ½ · a · b · sin(γ)

Since perpendicular height h = b · sin(γ), substituting into ½ah yields the trigonometric area.

Equilateral Triangle Formula
Area = (√3 / 4) · s²

Derived from SAS with a = b = s and interior angle γ = 60° (where sin 60° = √3 / 2).

Coordinate Geometry & Shoelace Determinant

For triangles plotted on a 2D Cartesian coordinate plane with vertices $A(x_1, y_1)$, $B(x_2, y_2)$, and $C(x_3, y_3)$, Gauss's Shoelace Formula computes the area from the matrix determinant:

Area = ½ · |x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂)|

The absolute value bars ensure a positive area result regardless of whether vertices are traversed clockwise or counter-clockwise.

Real-World Applications of Triangle Area

Land Surveying & Triangulation

Geodetic surveyors decompose irregular real estate plots into adjacent triangular parcels to calculate exact total land acreages using Heron's formula.

Architecture & Roof Truss Sizing

Roofing contractors and structural engineers compute triangular gable areas to determine required plywood decking, shingles, and insulation volumes.

Computer Graphics (Polygon Meshes)

3D game engines render complex surfaces as collections of triangular planar polygons (triangulation meshes), computing rasterized surface areas for lighting shaders.

Step-by-Step Worked Numerical Solutions

Example 1: Heron’s 3-Side Formula Heron's SSS

Problem: Find the area of a triangle with side lengths a = 7, b = 8, c = 9.

1. Semi-perimeter: s = (7 + 8 + 9) / 2 = 24 / 2 = 12.
2. s - a = 12 - 7 = 5; s - b = 12 - 8 = 4; s - c = 12 - 9 = 3.
3. Area = √[12 × 5 × 4 × 3] = √720 ≈ 26.8328.
Result: Area ≈ 26.83 sq units

Common Pitfalls & Altitude Mistakes

Using Slant Side as Height

The height h must be perpendicular (forming a 90° angle) to the base. Using the slant side length produces an incorrect, inflated area.

Degrees vs. Radians in SAS

When using the SAS formula ½ab sin(γ), ensure your calculator angle mode is set to degrees (not radians).

Violating Triangle Inequalities

If three lengths cannot physically meet (e.g. sides 2, 3, 10 where 2 + 3 < 10), Heron's formula encounters a negative square root.

Fact-Checked & Verified • Computational Accuracy Standards
Updated August 2026 • Editorial Policy
Authored By
Sanjay Samanta

Lead Developer & Founder of Basic Math Tools. Specializes in browser-native computational algorithms and applied mathematics.

Reviewed & Verified By
Academic Review Board

Mathematics & curriculum specialists. Audited against standard algebraic and arithmetic principles.

Found an error or have an improvement suggestion? Report a calculation issue

Frequently Asked Questions

What is the basic formula for the area of a triangle and why is it halved?
The primary formula is Area = ½ × base × height (A = ½bh). The ½ factor exists because any triangle forms exactly one half of a parallelogram or rectangle with the same base and perpendicular height.
How do you find the area of a triangle with 3 sides using Heron’s Formula?
When all three side lengths (a, b, c) are known, first calculate the semi-perimeter s = (a + b + c) / 2. Then apply Heron’s Formula: Area = √[s(s − a)(s − b)(s − c)]. For example, a 3-4-5 triangle has s = 6, and Area = √[6(3)(2)(1)] = √36 = 6.
How do you find triangle area using trigonometry (Side-Angle-Side)?
When two side lengths (a and b) and the included interior angle (γ) between them are known, calculate Area = ½ · a · b · sin(γ). This works for acute, obtuse, and right triangles.
What is the special area formula for an equilateral triangle?
For an equilateral triangle with equal side length s, the area formula simplifies to: Area = (√3 / 4) · s² (approximately 0.43301 · s²).
How do you calculate triangle area on a Cartesian coordinate plane (Shoelace Formula)?
Given 2D vertices A(x₁, y₁), B(x₂, y₂), and C(x₃, y₃), use the Shoelace coordinate determinant formula: Area = ½ · |x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂)|.
What is the Triangle Inequality Theorem and why is it important?
The Triangle Inequality Theorem states that for any valid Euclidean triangle, the sum of the lengths of any two sides must be strictly greater than the third side (a + b > c, a + c > b, b + c > a). If this condition fails, the sides cannot close to enclose an area.