
Triangle Area Calculator
Use our free triangle area calculator and area of a triangle calculator to compute A = (b * h) / 2 from base and perpendicular height in your browser.
Open toolEnter Triangle area and Corresponding base into this triangle height calculator and height of triangle calculator to compute the exact perpendicular altitude h = (2 * A) / b in one click. Test the preloaded Triangle area = 12 and Corresponding base = 6 baseline returning 4, or solve right-triangle hypotenuse altitudes, scalene heights, and roof ridge rises across 1e-9 to 1,000,000,000 in your browser.
Enter the inputs, then select Calculate.
Result will appear here
The Triangle Height Calculator is a client-side geometry utility that reverses the standard triangle area equation to find the perpendicular altitude h from a known surface area A and base length b. It multiplies your area by two and divides by the chosen base in double-precision JavaScript, returning a linear length with up to 12 significant digits.
h = (2 * A) / b
Knowing how to calculate height of a triangle from its area and base comes directly from rearranging A = (b * h) / 2. Because a rectangle of width b and height h has area b * h = 2A, doubling the triangle's area reconstructs the bounding rectangle, and dividing by b yields its exact vertical height. In batch12-tools.js, the workspace evaluates show(2 * n("area") / n("base")) and formats the result to up to 12 significant digits.
Use these 10 verified area-and-base combinations to see how the triangle height calculator computes perpendicular altitudes across right triangles, scalene Heronian triangles, and roof gables before running your own inputs.
| Triangle Area (A) | Corresponding Base (b) | Doubled Area (2A) | Perpendicular Height (h = 2A / b) | Geometric / Practical Context |
|---|---|---|---|---|
| 12 (preloaded) | 6 (preloaded) | 24 | 4 | Preloaded baseline (2 * 12 / 6 = 4) |
| 6 | 5 | 12 | 2.4 | 3-4-5 right triangle altitude dropped onto hypotenuse c = 5 |
| 30 | 13 | 60 | 4.61538461538 | 5-12-13 right triangle altitude onto hypotenuse c = 13 (60/13) |
| 60 | 17 | 120 | 7.05882352941 | 8-15-17 right triangle altitude onto hypotenuse c = 17 (120/17) |
| 84 | 14 | 168 | 12 | 13-14-15 scalene triangle altitude onto middle base b = 14 |
| 84 | 15 | 168 | 11.2 | 13-14-15 scalene triangle altitude onto longest side c = 15 |
| 84 | 13 | 168 | 12.9230769231 | 13-14-15 scalene triangle altitude onto shortest side a = 13 |
| 12 | 6 | 24 | 4 | 5-5-6 isosceles triangle altitude onto base b = 6 |
| 90 sq ft | 24 ft | 180 | 7.5 ft | Roof gable ridge height for a 90 sq ft gable over a 24 ft span |
| 43.3012701892 | 10 | 86.6025403784 | 8.6602540378 | Equilateral triangle with side s = 10 (h = 5 * sqrt(3)) |
Follow these three steps in the workspace above to enter your known area and base and export the calculated altitude.
Type the known surface area A into Triangle area (#area, preloaded as 12). The field accepts any positive finite number from 1e-9 to 1,000,000,000.
Supply the length of the specific side b onto which the altitude drops (#base, default 6), using the linear unit that matches your square area unit.
Select Calculate to display the perpendicular height h = 2A / b in #result-main. Use Copy result or Download result.txt to save the altitude for geometry homework or framing plans.
These three worked examples demonstrate how to calculate height of a triangle across preloaded test values, right-triangle hypotenuses, and scalene or equilateral shapes.
With Triangle area set to 12 and Corresponding base set to 6, the calculator doubles the area (2 * 12 = 24) and divides by 6 to return a perpendicular height of 4.

In a 3-4-5 right triangle, the area is (3 * 4) / 2 = 6. Entering Triangle area = 6 and hypotenuse Corresponding base = 5 yields the altitude onto the hypotenuse: h_c = 12 / 5 = 2.4.

For a 13-14-15 triangle with area 84, entering Corresponding base = 14 gives h = 168 / 14 = 12. If you need to know how to calculate height of an equilateral triangle with side s directly, multiply s by sqrt(3)/2 (approx 0.8660254).

The output panel prints a single positive number representing the 1D linear altitude h measured at a 90 deg right angle from Corresponding base to the opposite vertex.
Forward Area Verification (0.5 * b * h = A) & Output Units: when Triangle area is in square units (cm^2, m^2, sq ft) and Corresponding base is in the matching linear unit (cm, m, ft), dividing unit^2 / unit returns the 1D linear unit (cm, m, ft). Multiplying your base b by output height h and dividing by 2 in the Triangle Area Calculator must reproduce your starting area A.
Three Distinct Altitudes in a Scalene Triangle (a * h_a = b * h_b = c * h_c = 2A): every triangle has three altitudes, one for each side. Because their product with the corresponding base always equals 2A, the longest side of a triangle always has the shortest perpendicular height, and the shortest side has the tallest height.

Before applying the calculated altitude to structural trusses, land plots, or trigonometry problems, check these two operational rules.
Finding Height When Only Three Sides Are Known (No Area Given): this workspace requires Triangle area as an input. If a problem only gives you three side lengths (a, b, c) without the area, first run (a, b, c) in our Herons Formula Calculator to get A, and then enter A and your chosen base here to calculate height of a triangle. For an isosceles triangle with equal legs a and base b, you can also solve h = sqrt(a^2 - (b/2)^2) in the Pythagorean Theorem Calculator.
Chain your geometry workflow with our companion browser calculators: use the Triangle Area Calculator to compute surface area A = (b * h) / 2 from base and perpendicular height, the Herons Formula Calculator to find area from three side lengths, or the Pythagorean Theorem Calculator and Triangle Perimeter Calculator to solve right-triangle legs and total perimeter.


Use our free triangle area calculator and area of a triangle calculator to compute A = (b * h) / 2 from base and perpendicular height in your browser.
Open tool
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 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.

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
Find triangle inradius r = area / semiperimeter.
Open tool
Find triangle circumradius R = abc / (4 × area).
Open tool
Check whether three positive side lengths form a nondegenerate triangle.
Open toolAnswers about using Triangle Height Calculator and understanding its results.
Multiply the triangle's area A by 2 and divide by the corresponding base length b: h = 2A / b. For example, if a triangle has area A = 30 cm^2 and base b = 10 cm, its perpendicular height is h = (2 * 30) / 10 = 6 cm.
First find the right triangle's area from its two perpendicular legs (A = (a * b) / 2), then enter A in Triangle area and the hypotenuse c in Corresponding base to compute h_c = 2A / c = (a * b) / c. With legs 5 and 12 (A = 30) and hypotenuse 13, the altitude is 60 / 13 = 4.61538461538.
For an equilateral triangle where all three sides equal s, the perpendicular height is h = s * sqrt(3) / 2 (approximately 0.8660254 * s) by the Pythagorean theorem. If you already know its area A = (sqrt(3)/4) * s^2 and base s, entering them here also returns h = 2A / s.
Use a two-step calculation: first enter the three side lengths (a, b, c) into our Herons Formula Calculator to compute the triangle area A, and then enter A and your chosen base side into this Triangle Height Calculator to get h = 2A / b.
Each side of a triangle has its own perpendicular altitude dropped from the opposite vertex, and all three pairs satisfy a * h_a = b * h_b = c * h_c = 2A. Because 2A is constant, dividing 2A by three different side lengths produces three different heights.
Choose another tool for your next calculation, conversion, or text task.