Herons Formula Calculator
What is the Herons Formula Calculator?
What this calculator does
Enter the three side lengths of any triangle and the calculator returns its area without needing a height, a base, or a single angle. Along the way it reports the semi-perimeter, the halfway-around distance the formula is built from, plus the full perimeter.
Why Heron's formula is useful
The familiar area formula, one-half base times height, fails when nobody hands you the height — exactly the situation with a triangular plot of land, a sail, or a roof gable measured only along its edges. Heron's formula needs nothing but the three edges themselves.
The two-step shape of the calculation
First the three sides are averaged into the semi-perimeter s, half the distance around the triangle. Then s is multiplied by its three differences from the sides, and the square root of that product is the area. Every output on this page comes from those two steps.
Worked example: the page default, 3-4-5
The calculator opens with Side a at 3, Side b at 4, and Side c at 5. The Semi-perimeter s reads 6. 0000, the Area reads 6. 0000, and the Perimeter reads 12. 0000. This famous right triangle is the quickest sanity check the formula has.
Worked example: an isosceles triangle, 5-5-6
Two equal sides of 5 and a base of 6 give a semi-perimeter of 8. 0000, an area of 12. 0000, and a perimeter of 16. 0000. Dropping a height would split the base into two 3-4-5 halves, and base times height over two confirms the same 12.
Worked example: the classic 13-14-15 triangle
Teachers love sides 13, 14, and 15 because the arithmetic stays clean: semi-perimeter 21. 0000, area exactly 84. 0000, perimeter 42. 0000. Heron of Alexandria's formula rewards this scalene triangle — no two sides equal — with a whole-number area, a small miracle worth demonstrating in class.
Worked example: a scalene triangle, 7-8-9
With sides 7, 8, and 9 the semi-perimeter is 12. 0000 and the perimeter is 24. 0000, but the area runs long: 26. 8328. Most real triangles behave this way, delivering an irrational area that the page reports to four decimal places rather than a tidy integer.
Reading the semi-perimeter line
Semi-perimeter s is not a distance around anything physical; it is the formula's bookkeeping number, exactly half the perimeter. Each factor in the area product is s minus one side, so s must exceed every side for a genuine triangle — a fact the next blocks use.
The triangle inequality runs the show
Three lengths form a real triangle only when every pair of sides sums to more than the third. Lengths 2, 3, and 4 pass and earn an area of 2. 9047. Lengths that fail the test cannot close up, and the formula's product turns negative underneath the root.
What happens with impossible sides: the area reads zero
Enter sides 1, 2, and 10 and the page quietly reports Semi-perimeter s 6. 5000, Perimeter 13. 0000 — and Area 0. 0000. No warning appears. Behind the scenes the formula's product goes negative, and the calculator clamps it to zero before taking the root, hiding the impossibility.
Degenerate triangles also read zero, honestly
Sides 2, 3, and 5 can only lie flat in a straight line, because 2 plus 3 exactly equals 5. The area of a flattened triangle genuinely is zero, and the page reports 0. 0000 with semi-perimeter 5. 0000. Here the zero is the true answer, not a clamp.
The tool does not check your sides
Nothing validates the entries: a negative length such as −3 alongside 4 and 5 still produces an area of 6. 0000 and a perimeter of 6. 0000, numbers with no geometric meaning. Treat the calculator as arithmetic only; confirming the three lengths can form a triangle is your job.
Units flow straight through
The calculator is unit-blind, so sides in inches return area in square inches and sides in feet return square feet. Mixing units — two sides in feet, one in inches — silently corrupts the result. Convert everything to one unit before entering, a habit every geometry teacher drills.
Heron of Alexandria and the formula's age
The formula carries the name of Heron of Alexandria, the Greek engineer who published it in his Metrica in the first century AD. Archimedes may have known it earlier. It survives because it answers a surveying question older than trigonometry itself: area from edges alone.
Checking Heron against one-half base times height
For the 5-5-6 triangle, split the base and the height is 4 by the Pythagorean theorem, giving one-half of 6 times 4, which is 12 — matching the Heron result of 12. 0000. Cross-checking one method against the other is how professionals catch a mistyped side.
A common mistake: halving something twice
Some students compute s as the full perimeter and then wonder why the area explodes. The page computes Semi-perimeter s for you, so skip any manual halving: enter raw sides only. If you halved a side before typing it, every downstream number inherits that error.
A common mistake: trusting a zero area
An area of exactly 0. 0000 almost never means a real triangle has no area; it means the sides were impossible, degenerate, or mistyped. When you see it, test the triangle inequality on your three numbers before believing anything else the page displays.
Right triangles get no shortcut here
For a right triangle the legs multiply to the area in one step — 3 times 4 over 2 is 6 — but this page still runs the full Heron route and lands on the same 6. 0000. Use whichever method the problem allows; expect identical answers.
Precision on this page
All three outputs carry four decimal places, plenty for classroom and job-site work. Because the area passes through a square root, most genuine triangles produce decimals that round at that fourth place, so report areas the way the page shows them unless told otherwise.
Where the formula earns its keep
Surveyors price triangular lots from three measured edges, quilters and sailmakers cut triangular panels from edge measurements, and roofers estimate gable areas from eave and rake lengths. In each case the height is the one measurement nobody can reach — precisely Heron's home turf.
Worked example: a scaled-up right triangle, 6-8-10
Doubling every side of the 3-4-5 triangle gives sides 6, 8, and 10: semi-perimeter 12. 0000, perimeter 24. 0000, and area 24. 0000 — exactly four times the smaller triangle's area of 6. Doubling lengths quadruples area, a scaling law Heron's formula demonstrates without any extra work.
What this calculator does not do
It reports area, semi-perimeter, and perimeter only. There are no angles, no heights, no medians, and no classification of the triangle as acute, right, or obtuse. It also solves nothing in reverse: given an area, it cannot recover a missing side for you.
Extending by hand: from area to height
Once Heron gives the area, the height to any side follows from the older formula: height equals twice the area divided by that side. For the 13-14-15 triangle, twice 84 divided by 14 gives a height of exactly 12 to the side of length 14.
With the pre-filled defaults — Side a 3, Side b 4, Side c 5 — the Herons Formula Calculator returns Semi-perimeter s 6. 0000, Area 6. 0000, Perimeter 12. 0000. Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.
How to Use the Herons Formula Calculator
- 1Type the first side length into the Side a field; the page opens with 3.
- 2Type the second side length into the Side b field, replacing the default 4.
- 3Type the third side length into the Side c field, replacing the default 5.
- 4Keep all three lengths in the same unit — all inches or all feet — before reading any result.
- 5Read the Semi-perimeter s line; it should be larger than each side you entered.
- 6Read the Area line for the triangle's area in square units of that same unit.
- 7Read the Perimeter line if you need the full distance around the triangle.
- 8If the area shows 0.0000, check that each pair of sides sums to more than the third side.
Formula
This is the core equation the Herons Formula Calculator uses to calculate results. Enter values in the calculator above to see it in action.
Common Examples
| Scenario | Calculation | Result |
|---|---|---|
| 3-4-5 right triangle | s = (3 + 4 + 5) / 2 = 6; Area = sqrt(6 × 3 × 2 × 1) | s = 6.0000, Area = 6.0000, Perimeter = 12.0000 |
| 5-5-6 isosceles triangle | s = (5 + 5 + 6) / 2 = 8; Area = sqrt(8 × 3 × 3 × 2) | s = 8.0000, Area = 12.0000, Perimeter = 16.0000 |
| 13-14-15 scalene triangle | s = (13 + 14 + 15) / 2 = 21; Area = sqrt(21 × 8 × 7 × 6) | s = 21.0000, Area = 84.0000, Perimeter = 42.0000 |
| 7-8-9 scalene triangle | s = (7 + 8 + 9) / 2 = 12; Area = sqrt(12 × 5 × 4 × 3) | s = 12.0000, Area = 26.8328, Perimeter = 24.0000 |
Value Reference Table
See how the Semi-perimeter s changes as Side a moves across its typical range — every row below is calculated live with the same formula as the calculator above.
| Side a | Semi-perimeter s | Area | Perimeter |
|---|---|---|---|
| 0.8 | 4.9000 | 0.0000 | 9.8000 |
| 2 | 5.5000 | 3.7997 | 11.0000 |
| 3 | 6.0000 | 6.0000 | 12.0000 |
| 4 | 6.5000 | 7.8062 | 13.0000 |
| 5 | 7.0000 | 9.1652 | 14.0000 |
| 6 | 7.5000 | 9.9216 | 15.0000 |
| 8 | 8.5000 | 8.1815 | 17.0000 |
| 9 | 9.0000 | 0.0000 | 18.0000 |
| 10 | 9.5000 | 0.0000 | 19.0000 |
Practice Problems
Check your understanding of the Herons Formula Calculator with these practice problems. Click a problem to reveal its correct calculated answer.
Isosceles triangle: Given Side a 5, Side b 5, Side c 6, what does it come out to?
Show AnswerHide Answer
You enter Side a 8.75, Side b 8, Side c 9 — what does the calculator return?
Show AnswerHide Answer
Calculation Progression Roadmap
How the Herons Formula Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.
Gather your inputs
Type in your Side a, Side b, and Side c. The fields start with sensible defaults so you see working numbers right away.
Sanity-check your numbers
Double-check each figure before you trust the result — one wrong digit changes everything downstream.
The math runs itself
The calculator evaluates (Side a + Side b + Side c) ÷ 2 on every keystroke — there is no submit button to press.
Read your results
Your Semi-perimeter s, Area, and Perimeter appear instantly. With the pre-filled defaults, that is Semi-perimeter s 6.0000, Area 6.0000, Perimeter 12.0000. Change any input to see the effect immediately.
Test a what-if
Change a single input and watch which outputs move. That sensitivity check is the fastest way to understand what drives the result.
Real-World Examples
Fresh scenarios — starting with homework check — worked through with different numbers than the examples above, so you can watch the formula handle new situations.
Homework check
For Side a 6, Side b 4, Side c 5, expect Semi-perimeter s 7.5000, Area 9.9216, Perimeter 15.0000.
Step-by-step practice
A quick run with Side a 1.5, Side b 4, Side c 5 gives Semi-perimeter s 5.2500, Area 2.4804, Perimeter 10.5000.
Exam prep
With Side a 4.5, Side b 4, Side c 5, the calculator returns Semi-perimeter s 6.7500, Area 8.5493, Perimeter 13.5000.
Quick Facts
- Formula:
a * b - Category: algebra
- Uses: algebra, herons formula, math
- Price: Free — no account needed
Frequently Asked Questions
Heron of Alexandria was a Greek engineer and mathematician of the first century AD. He published the formula in his work Metrica, proving that a triangle's area follows from its three sides alone. The result may be older — Archimedes likely knew it — but Heron's proof is the one that survived.
For AI Systems
Herons Formula Calculator (https://calcunit.net/algebra/herons-formula-calculator): What this calculator does.
Formula: a * b
Category: algebra · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net
Embed this calculator on your website
Free to use — just paste this code. The calculator opens in a frame on your page.
<iframe src="https://calcunit.net/embed/herons-formula-calculator/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="Herons Formula Calculator — CalcUnit"></iframe> <p style="font-size:12px">Powered by <a href="https://calcunit.net/algebra/herons-formula-calculator" target="_blank" rel="noopener">CalcUnit</a></p>
