AI Tools Free

Triangle Height Calculator

Enter 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.

Free to useNo sign-upRuns in your browser
Enter your details

Enter the inputs, then select Calculate.

Allowed range: 1e-09 to 1,000,000,000.

Allowed range: 1e-09 to 1,000,000,000.

Your result
Enter your details

Result will appear here

How to Calculate Height of a Triangle & Core Altitude Formula

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.

Diagram of a triangle with area A and base b inside a rectangle of area 2A showing why perpendicular height h = 2A / b.
Rearranging A = (b * h)/2 shows that perpendicular altitude h equals twice the triangle area divided by the base: h = 2A / b.

Triangle Height Calculator Quick Reference Table

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)244Preloaded baseline (2 * 12 / 6 = 4)
65122.43-4-5 right triangle altitude dropped onto hypotenuse c = 5
3013604.615384615385-12-13 right triangle altitude onto hypotenuse c = 13 (60/13)
60171207.058823529418-15-17 right triangle altitude onto hypotenuse c = 17 (120/17)
84141681213-14-15 scalene triangle altitude onto middle base b = 14
841516811.213-14-15 scalene triangle altitude onto longest side c = 15
841316812.923076923113-14-15 scalene triangle altitude onto shortest side a = 13
1262445-5-6 isosceles triangle altitude onto base b = 6
90 sq ft24 ft1807.5 ftRoof gable ridge height for a 90 sq ft gable over a 24 ft span
43.30127018921086.60254037848.6602540378Equilateral triangle with side s = 10 (h = 5 * sqrt(3))

Step-by-Step Guide to Using the Triangle Height Calculator

Follow these three steps in the workspace above to enter your known area and base and export the calculated altitude.

Enter Triangle Area (#area)

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.

Input and settings
Input field for Triangle area preloaded with 12 in the Triangle Height Calculator.
Step 1: Enter the known surface area A in the Triangle area field.

Enter Corresponding Base (#base)

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.

Tool result
Input field for Corresponding base set to 6 below Triangle area.
Step 2: Supply the corresponding base b in the matching linear unit.

Click Calculate and Save

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.

Review the details
Result panel displaying the perpendicular height 4 with Copy result and Download result.txt buttons.
Step 3: Read the perpendicular height h = 2A / b and copy or download result.txt.

Practical Worked Examples to Calculate Height of a Triangle

These three worked examples demonstrate how to calculate height of a triangle across preloaded test values, right-triangle hypotenuses, and scalene or equilateral shapes.

Preloaded Baseline: Area = 12, Base = 6

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.

Triangle with area 12 and base 6 showing perpendicular height h = (2 * 12) / 6 = 4.
Worked Case 1: Preloaded Area = 12 and Base = 6 return perpendicular height h = 4.

Right Triangle Altitude to Hypotenuse: Area = 6, Base = 5

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.

3-4-5 right triangle with altitude h_c = 2.4 dropped from the right angle onto the hypotenuse of length 5.
Worked Case 2: Altitude onto the hypotenuse of a 3-4-5 right triangle equals (2 * 6) / 5 = 2.4.

Scalene & Equilateral Altitudes: 13-14-15 and Equilateral Side s

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).

Comparison of the 13-14-15 scalene altitude h = 12 and an equilateral triangle altitude h = s * sqrt(3) / 2.
Worked Case 3: Scalene 13-14-15 altitude onto base 14 is h = 12; equilateral altitude is s * sqrt(3)/2.

How to Read and Verify the Height of Triangle Calculator Output

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.

Diagram of a scalene triangle showing its three altitudes h_a, h_b, and h_c inversely proportional to side lengths a, b, and c.
Every triangle satisfies a * h_a = b * h_b = c * h_c = 2A, so the longest base has the shortest altitude.

Scope Limits, Unit Rules & Related Triangle Height Calculators

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.

Workflow diagram linking the Triangle Height Calculator with the Triangle Area, Herons Formula, Pythagorean Theorem, and Triangle Perimeter calculators.
Combine the Triangle Height Calculator with our Triangle Area, Herons Formula, Pythagorean Theorem, and Triangle Perimeter tools.

Frequently Asked Questions About Triangle Height Calculator

Answers about using Triangle Height Calculator and understanding its results.

How do you calculate the height of a triangle given area and base?

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.

How do I find the altitude to the hypotenuse of a right triangle?

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.

How do you calculate the height of an equilateral triangle?

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.

How can I find the height of a triangle with 3 sides and no area?

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.

Why does a scalene triangle have three different heights?

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.

Calculate with your input

Choose another tool for your next calculation, conversion, or text task.

Calculate