Heron's Formula Calculator
Find the area of a triangle when you know all three side lengths. Heron's formula uses the semiperimeter, so you do not need to measure an angle or a height.
Your triangle area
Enter all three side lengths, or choose an example, then select Calculate.
Show calculation
How to use this calculator
- Enter the three side lengths using the same unit.
- Select Calculate to check whether the lengths form a triangle.
- Read the area, semiperimeter, perimeter and supporting measurements.
Heron's formula
Let a, b and c be the three side lengths. First calculate the semiperimeter s = (a + b + c)/2. The area is K = √[s(s − a)(s − b)(s − c)]. Heron's formula works for any nondegenerate Euclidean triangle, including scalene triangles.
Triangle inequality and units
A valid triangle requires a + b > c, a + c > b and b + c > a. All three side lengths must use the same length unit. If lengths are in centimeters, the area is in square centimeters.
Worked example — 13–14–15 triangle
This example uses sample values, not your current inputs.
For side lengths 13, 14 and 15, the semiperimeter is s = (13 + 14 + 15)/2 = 21. The area is √[21 × 8 × 7 × 6] = √7056 = 84 square units.
Frequently asked questions
How do you find the area of a triangle with three sides?
Use Heron's formula: calculate the semiperimeter, subtract each side from it and take the square root of the product.
Do I need the triangle's height?
No. Heron's formula uses only the three side lengths. You can calculate the altitude afterward by dividing twice the area by the corresponding side.
Does Heron's formula work for right triangles?
Yes. For sides 3, 4 and 5, Heron's formula gives an area of 6 square units, the same as one-half times the two perpendicular legs.
Why can't these sides form a triangle?
If one length is greater than or equal to the sum of the other two, the lengths cannot form a nondegenerate triangle.
What units does the answer use?
Area uses squared length units. For example, a triangle measured in feet has an area in square feet.
Scientific foundations and academic references
The mathematical foundations, computational method and limitations of this tool.
Foundational research
Hero of Alexandria, Metrica, Book I, Proposition 8 (historical account and formula reference)
Heron's (Hero's) Metrica, Book I, Proposition 8 is the classical surviving source for the triangle-area formula based on three side lengths. Historical accounts also discuss possible earlier knowledge of the formula; this page does not claim exclusive first discovery.
Read source (opens in a new tab)Theoretical development
Eric W. Weisstein, Heron's Formula, Wolfram MathWorld (equivalent derivations)
The area formula can also be derived from the law of cosines and K = 1/2 bc sin(A), connecting the classical geometric result to modern trigonometric triangle formulas.
Read source (opens in a new tab)Authoritative technical references
Eric W. Weisstein, Heron's Formula, Wolfram MathWorld
Eric W. Weisstein, Heron's Formula, Wolfram MathWorld
Wolfram MathWorld presents Heron's formula, the semiperimeter convention and equivalent formulas that can be used to cross-check the result.
Read source (opens in a new tab)Computational method and verification
Numerical computation
Input side lengths must satisfy the strict triangle inequality. The calculator evaluates Heron's area using a rearranged factorization to reduce cancellation for slender triangles. Operations use IEEE 754 double precision, and final display precision is adjustable. Near-degenerate and extremely scaled inputs remain subject to finite floating-point limitations.
- Sides 3, 4, 5
- Semiperimeter = 6; area = 6
- Sides 5, 5, 6
- Semiperimeter = 8; area = 12
- Sides 13, 14, 15
- Semiperimeter = 21; area = 84
Scope and limitations
Given three positive side lengths forming a nondegenerate triangle, the semiperimeter is s = (a+b+c)/2 and the area is K = √[s(s−a)(s−b)(s−c)]. A rearranged factored evaluation helps reduce cancellation for slender triangles. Length units must be consistent, and the area is expressed in squared units. Floating-point limits still apply to extreme magnitudes.
Read full methodologyCite this tool
Use the following citation when referencing this calculator.
APA 7th edition
Statistics Calculator Lab. (2026). Heron's Formula Calculator [Online calculator]. https://statscalculator.org/herons-formula-calculator/
Show BibTeX
@misc{statscalculator_herons_formula_2026,
author = {{Statistics Calculator Lab}},
title = {Heron's Formula Calculator},
year = {2026},
howpublished = {Online calculator},
url = {https://statscalculator.org/herons-formula-calculator/}
}