Audited 05 Aug 2026·Last updated 28 Oct 2026·3 citations·Tier 2·0 uses

Base Of A Triangle Calculator

Find the length of a triangle's base from its area and the perpendicular height to that side, using base = 2 × area ÷ height, in the height's unit.

Base Of A Triangle Calculator

Triangle base
12
Length of the side the entered height is measured to, in the same linear unit as the height.

Background.

A triangle's area pins down far less than its shape. Know the area and the perpendicular height and exactly one base length fits, yet an endless family of triangles shares that base and height: slide the top corner sideways along a line parallel to the base and the area never changes. That is why the base can be found from just two numbers, and why those two numbers say nothing about the other two sides.

The relationship comes straight from the area formula learned in school, area = ½ × base × height. Undo it and base = 2 × area ÷ height. The factor of two is there because a triangle is exactly half of a parallelogram with the same base and height.

The one thing that has to be right is what "height" means. It is the perpendicular distance from the corner opposite the base to the line the base lies on, not the length of a sloping side. In a right triangle the two legs serve as each other's heights, so the shortcut works directly. In an obtuse triangle the height belonging to either of the two sides that meet at the obtuse angle falls outside the figure, landing on the base extended, and it is still the right number to use. Putting a slanted side into the height field always produces a base that is too short, because any slanted line from a corner to the base line is longer than the perpendicular.

Units follow the height. Enter the area in square metres and the height in metres and the base comes out in metres; pair square metres with a height in centimetres and the result is wrong by orders of magnitude.

What is base of a triangle calculator?

The base of a triangle is whichever side you choose to measure the height from; nothing makes the bottom edge special. Every triangle has three possible bases, each paired with its own height, the perpendicular distance from the opposite vertex to the line containing that side. Each pair satisfies base × height = 2 × area, so a long side always pairs with a short height and a short side with a tall one. Given the area and one height, the matching base is the single length that makes that product come out right.

How to use this calculator.

  1. Enter the triangle's area in Triangle area, in square units: square centimetres, square feet, square metres or whatever your source uses.
  2. Enter the perpendicular distance from the vertex opposite the side you want to the line of that side, in the matching linear unit. Measure it at a right angle, never along a sloping edge.
  3. If that perpendicular lands outside the triangle, as it does for the two sides meeting at an obtuse angle, measure to the side's line extended and enter that distance.
  4. Read the base in the same unit as the height, and check it by multiplying base × height ÷ 2 to get the area back.

The formula.

Base = 2×area / perpendicular height

Base = 2 × area ÷ height, which is A = ½ b h rearranged for b. Two identical copies of any triangle fit together into a parallelogram whose area is base × height, so the triangle has half of it; multiplying the area by 2 recovers the parallelogram, and dividing by its height leaves its base. The base is inversely proportional to the height: halve the height at a fixed area and the base doubles, which is why very flat triangles have very long bases. Area and height must be in matching units, square centimetres with centimetres or square feet with feet, and the result comes out in that linear unit. The only assumption is that the height entered is genuinely perpendicular to the side being found; the other two sides and the angles play no part.

A worked example.

Example

A triangle has an area of 30 square units and a perpendicular height of 5 units. Doubling the area gives 2 × 30 = 60, the area of the parallelogram the triangle is half of, and dividing by the height gives 60 ÷ 5 = 12. The base is 12 units, and the check 12 × 5 ÷ 2 = 30 returns the area. Those are the measurements of the 5-12-13 right triangle, whose two legs are each other's heights. Take the other leg, 12, as the height and the base becomes 60 ÷ 12 = 5. Make the hypotenuse the base instead and its height is 60 ÷ 13, about 4.615 units, the shortest of the three.

area30
height5

Frequently asked questions.

Can I use the length of a sloping side as the height?
No, and the error is large. An isosceles triangle with base 12 and height 5 has equal sides of about 7.81. Entering 7.81 as the height with the area of 30 gives a base of about 7.68 instead of 12, because a slanted side is always longer than the perpendicular.
Which side counts as the base when the triangle is tilted?
Any side you like. The base is simply the side whose length you want, and the height must then be measured at right angles to that side, from the opposite corner. Turning the drawing so that side sits at the bottom often makes the perpendicular easier to see.
Why does the height land outside my triangle?
Your triangle has an obtuse angle, and you have chosen one of the two sides that meet at it as the base. The perpendicular from the opposite corner then meets the base's line beyond the triangle. Measure to that extended line; the formula holds exactly as it does for any other triangle.
If I know the area and height, do I know the whole triangle?
No. Only the base is fixed. The top vertex can sit anywhere along a line parallel to the base at that height, giving triangles with very different side lengths and angles but identical area. To pin down the rest you need another side or an angle.
How do I find the second leg of a right triangle from its area?
Treat the leg you know as the height and the leg you want as the base. A right triangle with an area of 24 square centimetres and one leg of 6 cm has another leg of 2 × 24 ÷ 6 = 8 cm, making it the familiar 6-8-10 triangle.
How long should a triangular bed be along a wall?
If the bed must cover 18 square metres and its point reaches 4 metres out from the wall, the 4 metres is the height and the wall edge is the base: 2 × 18 ÷ 4 = 9 metres. The point can sit anywhere on a line 4 metres out and parallel to the wall without changing the area.

How this page was produced

Published by
Quanta Calculator
Primary sources
3 cited below
Method
Base = 2×area / perpendicular height
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon