Heron's formula gives you the area of any triangle when you know its three side lengths, with no need to measure an angle or a height. It was described by the ancient Greek mathematician Heron of Alexandria in the first century and remains one of the most practical tools in geometry because side lengths are almost always easier to measure than the perpendicular height. The method works in two steps. First you calculate the semi-perimeter, which is simply half the sum of the three sides: s = (a + b + c) / 2. Then you plug that into the area formula: area = the square root of s times (s minus a) times (s minus b) times (s minus c). The result only exists as a real number if the three sides satisfy the triangle inequality, meaning each side must be less than the sum of the other two. If that condition is not met, the expression under the square root is negative and no valid triangle exists. This calculator handles that check automatically and displays an error if the inputs are invalid. Enter the three side lengths in any consistent unit, whether centimetres, metres or anything else, and the calculator returns the area in square units of the same measure, the semi-perimeter, the full perimeter, and a classification of the triangle as equilateral, isosceles or scalene. The tool suits students, tradespeople estimating material quantities, and anyone needing to find an area from a measured outline. Results are for reference only.
Enter the three side lengths. The calculator first checks the triangle inequality: each side must be strictly less than the sum of the other two. If that passes, it computes the semi-perimeter s = (a + b + c) / 2 and applies Heron's formula: area = √(s × (s − a) × (s − b) × (s − c)). The perimeter is a + b + c. The type is equilateral if all three sides are equal, isosceles if exactly two are equal, and scalene if all three differ.
With a=5, b=6, c=7 (the default values), the semi-perimeter is s = (5+6+7)/2 = 9. The area = √(9 × (9−5) × (9−6) × (9−7)) = √(9 × 4 × 3 × 2) = √216 = 14.70 square units. The perimeter is 18.00. All three sides differ, so the triangle is scalene.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use
Reviewed and maintained. Last reviewed 2026-06-25 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.