Triangle Calculator — Area & Perimeter
Enter three side lengths to calculate triangle perimeter and area using Heron's formula. The calculator also checks the triangle inequality before calculating.
Calculate
Formula & assumptions
Results depend on the values and assumptions you enter. Review units and real-world rules before using a result for financial, engineering or business decisions.
Browse all Calcora calculators · Calcora home
Triangle area and perimeter: complete guide
A triangle is a polygon with three sides. This calculator uses all three side lengths to find perimeter and area, and checks that the sides can form a real triangle. The result uses the same length unit as the inputs for perimeter and the square of that unit for area.
Formulas
Perimeter = a + b + c. The semiperimeter is s = (a + b + c) ÷ 2. Heron’s formula gives area: Area = √[s(s − a)(s − b)(s − c)].
How to use it
- Measure or enter side a, side b and side c in the same unit.
- Select Calculate.
- Review the perimeter, area and semiperimeter.
- If the calculator rejects the values, recheck measurements and units.
Worked example
For sides 3, 4 and 5, perimeter = 3 + 4 + 5 = 12 units, and s = 6. Area = √[6 × 3 × 2 × 1] = 6 square units. These values describe a 3-4-5 right triangle.
Triangle inequality and limitations
The sum of any two side lengths must be greater than the third: a + b > c, a + c > b and b + c > a. All sides must be positive. If equality holds, the shape collapses into a straight line and has no positive area. Measure with consistent precision; rounded or inaccurate measurements can affect the calculated area. Heron’s formula assumes a flat Euclidean triangle and does not calculate angles, height or a missing side. Use a specialised tool if you need those values.
Frequently asked questions
Can any three side lengths make a triangle?
No. The sum of any two sides must be greater than the third side. If the two shorter sides add up to the longest side or less, no ordinary triangle can be formed from those lengths.
What is Heron’s formula?
Heron’s formula calculates area from all three side lengths. First find the semiperimeter s = (a + b + c) ÷ 2, then area = √[s(s − a)(s − b)(s − c)]. Use the same unit for all sides; the resulting area is in square units.
Why might a result differ slightly from a hand calculation?
Rounding side measurements or intermediate values can change the final area. Keep full precision during the calculation and round only the displayed result. For field measurements, the result is only as accurate as the measurements entered.
Check the geometry before trusting the result
Heron's formula works from three side lengths, so all three measurements must use the same unit and describe one flat triangle. The triangle inequality is essential: each pair of sides must add to more than the remaining side. Values that nearly fail this test may be especially sensitive to measurement rounding.
Cross-check with a familiar triangle
For a 3–4–5 triangle, the perimeter is 12 units and the area is 6 square units. Because 3² + 4² = 5², it is also a right triangle. This is a useful test case for checking the area output against the base-times-height method, where base 4 and perpendicular height 3 give area 6.
What this calculator does not infer
The side lengths determine area and perimeter when they form a valid triangle, but this tool does not report each angle or a perpendicular height. Those values require additional geometry. In construction or surveying, verify measurements and tolerances independently; the mathematical result cannot correct inaccurate field data.