About Heron’s Formula Calculator
This Heron’s formula calculator shows each stage: the semi-perimeter s, the four factors s, s − a, s − b and s − c, their product and the square root that gives the area. It is free, needs no sign-up and runs in your browser, so nothing you enter is uploaded.
Heron of Alexandria gave the formula around the first century. It is handy when you can measure the sides of a field or a plot but not its height.
For very thin triangles the factors nearly cancel, so rounding in the input matters more than for a fat triangle.
How to use Heron’s Formula Calculator
- Pick the mode that matches what you know: SSS, SAS, ASA, AAS, SSA or Right triangle.
- Type the three values in the boxes. Sides a, b, c sit opposite angles A, B, C. In right mode fill exactly two boxes.
- Choose a length unit and whether angles are in degrees or radians. Changing the angle unit converts the numbers you already typed.
- Read the sides, angles, area and other measures, and compare them with the scaled diagram.
- Open the step-by-step working to see each law of cosines or law of sines line, then Heron’s formula for the area.
- In SSA mode, check whether one solution, two solutions or none appear, and read the note that explains why.
Features
- Six modes: SSS, SAS, ASA, AAS, SSA and right triangle.
- Both solutions shown in the ambiguous SSA case, each with a diagram and its own working.
- Area by Heron’s formula and by one half a b sin C, which agree.
- Perimeter, three heights, three medians, inradius and circumradius.
- Triangle type by angles (acute, right, obtuse) and by sides (scalene, isosceles, equilateral).
- A scaled, labelled SVG diagram that follows light and dark mode.
- Degrees or radians, and eight length units from millimetres to miles.
- Clear messages when the values cannot form a triangle, instead of a wrong answer.
- Worked examples and KaTeX formulas for every step.
The formula
The area from three sides alone.
s = (a + b + c) / 2
K = √(s(s − a)(s − b)(s − c))Worked examples
a = 7, b = 8, c = 9 gives K = 26.8328
s = 12, so K = √(12 · 5 · 4 · 3) = √720.
Privacy: how it works
- Everything is calculated by code running in your browser tab. The values you enter are not sent to Ulkaa or to any other server, and there is nothing to sign in to.
Tips
- Check the labelling: side a is opposite angle A. Swapping a side with its neighbour gives a different triangle.
- In SAS the angle must be the one between the two sides. If it is not, use the SSA mode.
- If two angles already add to 180° or more, no triangle exists. The calculator says so.
- For a right triangle you can also use SSS with the sides 3, 4 and 5 and read C = 90°.
Frequently asked questions
Is it really free?
Yes. There is no price, no trial and no credit card. Ulkaa Tool does the work with your own device, so there is no server bill to pass on to you.
Do I need an account?
No. There is no sign-up and no login. Open the page and use it. An Ulkaa account is not needed for anything on this tool.
Does it run in my browser?
Yes. Your values are processed by code running in your browser tab, on your own device.
Is my data uploaded?
No. Your values are never sent to Ulkaa or to anyone else. You can check this yourself by watching the Network tab in your browser developer tools while you use the tool.
Who discovered Heron’s formula?
It is named for Heron of Alexandria, who described it in his Metrica, though it may be older.
Does it work for any triangle?
Yes, for every valid triangle, whether acute, right or obtuse.
More Triangle Calculator pages
- Triangle CalculatorEnter any three valid values and get every side, every angle, the area and a drawing of the triangle.
- SSS Triangle CalculatorEnter three sides and get all three angles, the area and a scaled drawing.
- SAS Triangle CalculatorEnter two sides and the angle between them to find the third side and the other angles.
- ASA Triangle CalculatorEnter two angles and the side between them to get the other two sides and the third angle.
- AAS Triangle CalculatorEnter two angles and a non-included side to get every other side and angle.
- SSA Triangle CalculatorEnter two sides and a non-included angle. The calculator shows every triangle that fits.
- Right Triangle CalculatorEnter any two values of a right triangle and get the legs, the hypotenuse, both acute angles and the area.
- Area of a Triangle CalculatorEnter three sides to get the area by Heron’s formula, with the heights and the steps.
- Law of Sines CalculatorEnter two angles and a side to find the others with the law of sines.
- Law of Cosines CalculatorEnter two sides and the angle between them to find the third side and the other angles.
- Isosceles Triangle CalculatorEnter the two equal sides and the base to get the angles, the height and the area.
- Equilateral Triangle CalculatorEnter the side length to get the height, the area and both circle radii.