Home / Learn / Maths / Heron's formula explorerTool #L81 (formerly #1164)

Heron's formula explorer: area of a triangle from three sides, step by step

Slide three side lengths (or drag a corner) and see the triangle drawn, or why the sides can't make one. The area by Heron's formula is worked step by step and checked against ½ × base × height.

Keep it one tap away for everyday use.

Bookmark Heron's formula explorer?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Three sides
  2. Triangle
  3. Heron
  4. Practise
Nothing is uploadedWorks offline once open

Three sides

Drag the top corner C, or use the sliders. Side c is the base.

a
b
c

Heron's formula, step by step

    Try this

    • Make a + b equal to c. The triangle flattens to a line and the area becomes 0.
    • Set all three sides to 10. Compare Heron's answer with (√3/4) × 10².
    • Find another triangle with whole-number sides and a whole-number area. (Hint: 13, 14, 15 is one.)
    • Drag C along a line parallel to the base. The area does not change. Why?

    Check yourself

    Fresh questions every time. Give answers to 2 decimal places where needed. Nothing is saved.

    What it does

    If you know the base and height of a triangle, its area is ½ × base × height. But often you only know the three sides, and finding the height is awkward. Heron’s formula gives the area straight from the sides a, b and c:

    • first the semi-perimeter s = (a + b + c)/2,
    • then area = √[s(s − a)(s − b)(s − c)].

    This page draws the triangle for any three sides you choose (or tells you, with a picture, when the sides cannot meet), works out the formula step by step, names the kind of triangle (equilateral, isosceles or scalene; acute, right or obtuse), and checks the answer against ½ × base × height using the height it draws.

    It follows the Class 9 chapter Heron’s formula, which many state boards still teach.

    For right triangles there is the quicker ½ × leg × leg, which you can explore with pythagoras proof playground. Triangles with the same shape but different sizes are in similar triangles, and the height on a side is a sine away in trig ratio explorer.

    How to use it

    1. Move the sliders for a, b and c, or type exact values. Side c is drawn as the base, from A to B; a is BC and b is CA.
    2. Or drag the top corner C. The base stays fixed and a and b change.
    3. Read the steps: s, the three brackets, their product and its square root.
    4. Under the steps, the same area comes out of ½ × base × height.
    5. If a red picture says the sides can’t make a triangle, one side is as long as (or longer than) the other two put together.

    A worked example

    The page starts with a = 13, b = 15 and c = 14.

    • s = (13 + 15 + 14)/2 = 21.
    • s − a = 8, s − b = 6, s − c = 7.
    • s(s − a)(s − b)(s − c) = 21 × 8 × 6 × 7 = 7 056.
    • Area = √7 056 = 84 square units.
    • Check: the height on the base 14 is 2 × 84 / 14 = 12, and ½ × 14 × 12 = 84.

    Try 10, 10, 10: s = 15 and the area is √(15 × 5 × 5 × 5) ≈ 43.30, the same as (√3/4) × 10².

    Tips

    • Always check the triangle rule first: each side must be shorter than the sum of the other two.
    • With whole-number sides, the product under the square root is often a perfect square in textbook questions. Factorise it to take the root without a calculator.

    Check yourself

    Four fresh questions each time: an area from three sides, an equilateral triangle, sides in a ratio with a given perimeter, and whether three lengths make a triangle. Type the answer, press Check, and open the worked answer if you need it. Nothing is saved.

    FAQ

    Who was Heron? Heron of Alexandria, a Greek mathematician and engineer of the first century, wrote the formula down in his book Metrica.

    Is this from the NCERT book? It covers the same topic with fibub’s own examples. fibub is not part of NCERT.

    Where the numbers come from

    • Heron's formula, the triangle inequality and ½ × base × height are standard geometry. The numerically stable ordering of the formula follows W. Kahan's well-known note on triangle areas. Written for fibub.
    • Checked against Python for ten triangles with whole-number areas (13-14-15 → 84, 5-12-13 → 30, ...) and against ½ × base × height for 300 random triangles.

    Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

    Last updated 2026-11-09.

    Change log for Heron's formula explorer

    1. Add #1164 Heron's formula explorer Details on GitHub

    Every change to fibub

    Related tools

    Pythagoras proof playground #L69 Drag a right triangle and watch the squares on its sides add up. Slide through four visual proofs (rearrangement, Bhaskara, similar triangles, Baudhayana) with your own side lengths, and list Pythagorean triples. Trig ratio explorer #L70 Drag the angle of a right triangle and see sin, cos and tan as ratios of its sides, with the exact values at 0°, 30°, 45°, 60° and 90°, the identities checked live, and the full unit circle for Class 11. Similar triangles #L76 Drag a line parallel to one side of a triangle and watch AD/DB = AE/EC hold. Test two triangles for similarity with AA, SSS or SAS, and find a tree's height from its shadow. Quadrilateral explorer #L83 Drag four corners on a grid and see the sides, the angles adding to 360°, the diagonals and the area, and whether the shape is a square, rectangle, rhombus, parallelogram, kite or trapezium (and which of those it also is). Shear and area #L136 Slide the top of a parallelogram, triangle or trapezium along a square grid and watch the area stay the same. Cut and slide a parallelogram into a rectangle, or add a turned copy to see why a triangle is half and a trapezium is ½(a + b)h. Pick's theorem #L137 Tap dots on a grid to make any polygon. The page colours the dots inside and on the edges, works out I + B/2 − 1 and checks it against the area from the corners. Drag corners to explore. Field area #L164 Drag the corners of a plot of land on a 10 m grid. The plot is cut into triangles, each one's area is worked out from its three sides with Heron's formula, and the total is given in m², hectares and acres, with the perimeter. At Class 11 level the shoelace formula checks it. Solids lab #L171 Pick a cube, cuboid, cylinder, cone, sphere or hemisphere and set its size. Turn it in 3D, unfold it into its net, or pour it into a cylinder to see why a cone is a third and a sphere two thirds of its cylinder. Every formula updates with your numbers. Ends with fresh practice questions. Combined solids #L189 Pick a solid made of simple shapes (an ice-cream cone, a capsule, a toy rocket, a dome on a cylinder or a cube), slide its sizes and see the surface area with the hidden joins left out and the volume added up part by part. Triangle from coordinates #L190 Drag three points on a grid or type their coordinates. See whether they are collinear, the three side lengths by the distance formula, the area, and whether the triangle is scalene, isosceles or equilateral and right, acute or obtuse, with every step shown.