Calculate the area of any triangle using only its three side lengths. Enter sides a, b, and c and the calculator applies Heron's formula to give you the exact area, perimeter, and triangle type instantly.
No angles required. Works for scalene, isosceles, and equilateral triangles.
s = (a + b + c) / 2= sqrt(s × (s−a) × (s−b) × (s−c))The result is in square units matching your input (e.g. if sides are in centimetres, area is in cm²).
When you know all three sides of a triangle but not the height or any angles, Heron's formula is the standard method. It was described by Hero of Alexandria around 60 AD and works for any triangle, regardless of whether it is acute, right-angled, or obtuse.
The process has two steps:
For a triangle with sides a = 5, b = 6, and c = 7:
| Step | Calculation | Result |
|---|---|---|
| Semi-perimeter | s = (5 + 6 + 7) / 2 = 18 / 2 | 9 |
| s - a | 9 - 5 | 4 |
| s - b | 9 - 6 | 3 |
| s - c | 9 - 7 | 2 |
| Product | 9 x 4 x 3 x 2 | 216 |
| Area | sqrt(216) | 14.6969 sq units |
These are the default values shown in the calculator above, confirming that the result is 14.70 square units (to 2 decimal places).
| Type | Side Lengths | Example |
|---|---|---|
| Equilateral | All three sides equal | a = b = c = 5 |
| Isosceles | Exactly two sides equal | a = b = 5, c = 7 |
| Scalene | All three sides different | a = 5, b = 6, c = 7 |
Not every set of three lengths forms a valid triangle. For sides a, b, and c to form a triangle, all three of these conditions must hold:
If any condition is not met, the calculator will display an error. For example, sides 1, 2, and 10 fail because 1 + 2 = 3 which is not greater than 10.
Once you have the area, you can find the height (altitude) from any base using the formula: height = (2 x Area) / base. The calculator shows the height measured from the longest side. This is useful for checking your answer or for practical tasks like cutting timber or marking out shapes on the ground.
Method: Heron's formula. Hero of Alexandria, Metrica, c. 60 AD. Standard formula reproduced in any geometry textbook (e.g. Coxeter, Introduction to Geometry, Wiley). The triangle inequality is a fundamental theorem in Euclidean geometry.
This calculator uses exact arithmetic (JavaScript's IEEE 754 double precision). Results are rounded for display. For very small or very large triangles, verify with an independent source if precision is critical.
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.
Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.
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-07-02 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.