
Herons Formula Calculator
Use our free Herons formula calculator (Heron's formula calculator) to find triangle semiperimeter s and area from all 3 side lengths a, b, and c.
Open toolEnter Base and Perpendicular height into this triangle area calculator and area of a triangle calculator to compute the exact surface area A = (b * h) / 2 in one click. Test the preloaded Base = 6 and Perpendicular height = 4 baseline returning 12, or evaluate right triangles, roof gables, and land plots across 1e-9 to 1,000,000,000 in your browser with up to 12 significant digits.
Enter the inputs, then select Calculate result.
Result will appear here
The Triangle Area Calculator is a client-side geometry utility that multiplies a triangle's base length b by its perpendicular altitude h and divides by two to return surface area in square units.
A = (b * h) / 2 = 0.5 * b * h
Any triangle with base b and perpendicular altitude h occupies exactly half the area of a parallelogram or rectangle sharing the same base and height. This holds for acute, right, and obtuse triangles alike, provided h is measured at a 90 deg right angle to the line containing base b. In batch10-tools.js, the workspace evaluates n('b') * n('h') / 2 and formats the result to up to 12 significant digits.
Use these 10 verified base-and-height combinations to check how the triangle area calculator handles preloaded defaults, right-triangle legs, roof gables, and decimal measurements before running your own inputs.
| Base (b) | Perpendicular Height (h) | Product (b * h) | Triangle Area (A = b * h / 2) | Geometric / Practical Context |
|---|---|---|---|---|
| 6 (preloaded) | 4 (preloaded) | 24 | 12 | Preloaded baseline triangle (6 * 4 / 2 = 12) |
| 3 | 4 | 12 | 6 | Classic 3-4-5 right triangle (legs 3 and 4 as base & height) |
| 8 | 15 | 120 | 60 | 8-15-17 right triangle perpendicular legs |
| 10 | 5 | 50 | 25 | Acute triangle with base 10 and interior altitude 5 |
| 24 ft | 7.5 ft | 180 sq ft | 90 sq ft | Residential roof gable siding area (7.5:12 pitch over 24 ft span) |
| 12 cm | 10.3923048454 cm | 124.707658145 cm^2 | 62.3538290725 cm^2 | Equilateral triangle with side s = 12 cm (h = 6 * sqrt(3)) |
| 15 m | 9.6 m | 144 m^2 | 72 m^2 | Obtuse triangular land lot with exterior perpendicular altitude |
| 4.5 mm | 2.8 mm | 12.6 mm^2 | 6.3 mm^2 | Copper PCB thermal relief triangle pad |
| 120 m | 85 m | 10,200 m^2 | 5,100 m^2 | Agricultural corner field (0.51 hectares) |
| 1.25 in | 0.8 in | 1.0 sq in | 0.5 sq in | Small machinist gusset plate |
Follow these three steps in the workspace above to enter your dimensions and export the calculated surface area.
Type the length of your chosen reference side into Base (#b, preloaded as 6). The input accepts any positive finite number from 1e-9 up to 1,000,000,000.
Provide the altitude measured at a 90 deg right angle from the base line to the opposite vertex (#h, default 4), keeping both dimensions in the same linear unit.
Select Calculate result to compute A = (b * h) / 2 immediately. Use Copy result or Download result.txt to save the area for homework, CAD takeoffs, or material estimates.
These three worked examples show how to calculate area of a triangle across preloaded test values, right-triangle legs, and construction roof gables.
With Base set to 6 and Perpendicular height set to 4, the calculator multiplies 6 * 4 = 24 and divides by 2 to return 12 square units in #result-main.

When using this tool as an area of a right triangle calculator for an 8-15-17 triangle, enter the two perpendicular legs 8 and 15 (ignoring hypotenuse 17) to get (8 * 15) / 2 = 60.

A symmetric gable wall spanning 24 ft wide with a ridge height of 7.5 ft above the ceiling joists requires b = 24 and h = 7.5, yielding (24 * 7.5) / 2 = 90 sq ft.

The result card reports the planar surface area A in the square of your input unit (cm^2, m^2, sq in, or sq ft).
Half-Rectangle Geometric Verification (A_triangle = 0.5 * A_rectangle): every triangle with base b and perpendicular height h fills half of a bounding rectangle with width b and height h (verified in the Rectangle Area Calculator). Doubling your triangle output 2 * A must equal b * h (2 * 12 = 24 for b = 6, h = 4).
Reverse Altitude & Base Formula (h = 2A / b and b = 2A / h): when a problem gives you the total area A and one dimension, multiply the area by 2 and divide by the known dimension, or run the Triangle Height Calculator directly. You can also use this relationship as an area of a right triangle calculator check by dividing 2A by one leg to recover the perpendicular leg.

Before copying the calculated area into structural drawings, roofing orders, or geometry assignments, check these operational constraints.
Perpendicular Altitude vs. Slant Side Length: Perpendicular height must be measured at 90 deg to the base line (for an obtuse triangle, this altitude drops outside the triangle onto the extended base line). Never enter a slanted side length into Perpendicular height unless the triangle is a right triangle; if you only know all three side lengths (a, b, c) without the height, use the Herons Formula Calculator to calculate the area of a triangle directly from its sides.
Chain your geometry calculations with our companion browser tools: use the Pythagorean Theorem Calculator to find a missing right-triangle leg or isosceles altitude h = sqrt(s^2 - (b/2)^2), the Triangle Height Calculator to solve h = 2A / b, or the Herons Formula Calculator and Rectangle Area Calculator for 3-side triangles and rectangular layouts.


Use our free Herons formula calculator (Heron's formula calculator) to find triangle semiperimeter s and area from all 3 side lengths a, b, and c.
Open tool
Calculate perpendicular triangle altitude h = 2A / b from area and base with our free triangle height calculator, 10-row reference table, and worked examples.
Open tool
Calculate the hypotenuse of any right triangle from its two perpendicular legs with our free Pythagorean theorem calculator. Includes triples table and steps.
Open toolChoose another tool for your next calculation, conversion, or text task.

Calculate the area of any rectangle or square from its width and height with our free rectangle area calculator. Includes room sizing table and examples.
Open tool
Calculate trapezoid area A = (a + b) * h / 2 from parallel bases and perpendicular height with our free trapezoid area calculator, 10-row table, and examples.
Open tool
Our triangle perimeter calculator computes P = a + b + c and semiperimeter s = P/2 from three side lengths with strict triangle inequality validation.
Open tool
Calculate regular polygon area (pentagon, hexagon, octagon, n-gon) from side length, or irregular polygon area and centroid from (x, y) vertices using the Shoelace formula.
Open toolAnswers about using Triangle Area Calculator and understanding its results.
Multiply the base length b by the perpendicular height h and divide the product by 2: A = (b * h) / 2. Both b and h must be measured in the same length unit, and h must meet the base line at a 90 deg right angle.
In a right triangle, the two legs a and b meet at 90 deg, so one leg goes into Base and the other leg goes into Perpendicular height: A = (a * b) / 2. Do not enter the longest side (the hypotenuse c) as either input.
If you have three side lengths a, b, and c but no perpendicular height, use Heron's formula (s = (a + b + c) / 2, A = sqrt(s(s - a)(s - b)(s - c))) in our Herons Formula Calculator, or solve for the altitude first using the Pythagorean theorem on an isosceles or right triangle.
For an equilateral triangle with side length s, its perpendicular height is h = s * sqrt(3) / 2 (approximately 0.8660254 * s). Enter s in Base and 0.8660254 * s in Perpendicular height (for s = 12, h = 10.3923048454 gives A = 62.3538290725).
Multiply the known triangle area A by 2 and divide by the base b: h = 2A / b. For example, if a triangle has area A = 60 and base b = 15, its perpendicular height is h = (2 * 60) / 15 = 8, which you can also compute in our Triangle Height Calculator.
Choose another tool for your next calculation, conversion, or text task.