Base of a Triangle Calculator

Enter a triangle's area and height to find its base using b = 2A ÷ h, plus the half-base, base-to-height ratio, and the enclosing rectangle area.

Quick Facts

Area formula
A = ½ × b × h
Solve for the base by rearranging: b = 2A ÷ h.
Perpendicular height
h ⟂ b
The height must meet the base at a right angle, not run along a slanted side.
Right-triangle check
b = √(c² − h²)
If base and height are the two legs of a right triangle, the Pythagorean theorem gives the same base from the hypotenuse c.

Your Results

Calculated
Base of Triangle
-
b = 2A ÷ h
Half-Base
-
b ÷ 2
Base-to-Height Ratio
-
b ÷ h — describes the triangle's proportions
Enclosing Rectangle Area
-
b × h = 2 × triangle area

Ready

Enter the triangle's area and height, then press Calculate.

Formula and Method for the Base of a Triangle

Every triangle's area, base, and height are tied together by one identity: A = ½ × b × h, where b is the length of the base and h is the height measured perpendicular to that base from the opposite vertex. Rearranging this identity for the base gives b = 2A ÷ h — the formula this calculator uses. Enter the triangle's area and its corresponding height to solve for the base, along with the half-base, the base-to-height ratio, and the area of the rectangle that fully encloses the triangle.

How the calculation works

Start from the standard triangle area formula A = ½bh. Multiplying both sides by 2 gives 2A = bh, and dividing both sides by h isolates the base: b = 2A ÷ h. The height h must be the perpendicular (shortest) distance from the vertex opposite the base down to the base or its extension — not the length of a slanted side. If the base and height happen to be the two legs of a right triangle, you can cross-check the result with the Pythagorean theorem, b = √(c² − h²), using the hypotenuse c.

Common mistakes

  • Using a slant side as the height: the height must meet the base at a 90° angle. In an obtuse triangle the height can fall outside the triangle, on the extension of the base.
  • Mismatched units: if the area is in ft² the height must be in ft, not inches or meters — convert everything to one unit system before dividing.
  • Dividing by the wrong side's height: a triangle has three possible base/height pairs, one per side. Make sure the height you enter actually corresponds to the side you are calling the base.

Real-world applications

  • Carpentry and roofing use base-from-area-and-height to size triangular braces, gussets, and gable ends from a target area.
  • Land surveying and lot layout back-solve a triangular parcel's frontage (base) when only the area and depth (height) are known.
  • Engineering and design use the base-to-height ratio to check whether a triangular truss or bracket is proportioned as intended.
  • Geometry and trigonometry students use this rearrangement to build intuition for solving literal equations.

Frequently Asked Questions

What is the formula for the base of a triangle?
Rearranging the standard area formula A = ½ × b × h for the base gives b = 2A ÷ h, where A is the triangle's area and h is the height measured perpendicular to that base.
Which height goes with which base?
Each side of a triangle has its own corresponding height (altitude) — the perpendicular distance from the opposite vertex to that side or its extension. Always pair the height with the side you are treating as the base; mixing a height for one side with a different side's length gives a wrong answer.
How do I find the base of a right triangle?
If the base and height are the two legs of a right triangle meeting at a 90° angle, you can also solve for the base with the Pythagorean theorem: b = √(c² − h²), where c is the hypotenuse. This gives the same base as b = 2A ÷ h when A = ½ × b × h.
Can any side of a triangle be the base?
Yes. Any side can be designated the base, and the area formula A = ½ × b × h still holds — you just need the height measured perpendicular to whichever side you choose as the base, which is different for each of the three sides.