Base of a Triangle Calculator — From Area, Height, Sides & Angle

Calculate the base of a triangle using multiple methods: area and height, three sides with Heron's formula, perimeter minus known sides, or SAS with the law of cosines.

Triangle Base Formulas

MethodFormulaNotes
Area & Heightb = 2A / hDirect from A = ½bh
Three Sides (Heron's)A = √[s(s−a)(s−b)(s−c)]Then h = 2A/b, base = chosen side
Perimeter & 2 Sidesb = P − a − cSubtract known sides from perimeter
SAS (Two Sides + Angle)b² = a² + c² − 2ac·cos(B)Law of Cosines for the base
Isoscelesb = 2√(a² − h²)When two equal sides are known plus height
Right Triangleb = √(c² − a²)Pythagorean theorem
Planning notes, formulas, and examples

About the Base of a Triangle Calculator — From Area, Height, Sides & Angle

The base of a triangle is the side upon which the perpendicular height is drawn. Although any side can serve as the base, it is typically the bottom side in diagrams and the one used in the classic area formula A = ½bh. Finding the base when you know other measurements is one of the most common tasks in geometry homework, construction, and engineering.

If you already know the area (A) and the height (h) to a particular side, the base is simply b = 2A/h — a direct rearrangement of the area formula. When three sides are given, Heron's formula yields the area, and from there the height and base relationship follow. If the perimeter and two sides are known, the third side (the base) is just P − a − c. In the SAS (side-angle-side) scenario, the law of cosines gives b² = a² + c² − 2ac·cos B, letting you solve for the base directly.

This calculator supports all four methods through a simple dropdown. Enter your knowns, and it computes the base plus supporting measurements: area, height, perimeter, all side lengths, and interior angles where applicable. Preset buttons let you load famous triangles (equilateral, 3-4-5, 5-12-13) to explore the results quickly. A reference table summarises every formula, and visual comparison bars show how the base relates to the other sides.

When This Page Helps

Use this page when the base is the missing side but the givens come in different forms. It keeps the direct area-height method, Heron-based route, perimeter relation, and SAS law-of-cosines method in one workflow so you can match the formula to the data you actually have.

How to Use the Inputs

  1. Select a method from the dropdown: Area & Height, Three Sides, Perimeter & Other Sides, or SAS.
  2. Enter the required values for your chosen method.
  3. Or click a preset to load a common triangle.
  4. View the computed base, area, height, perimeter, and angles.
  5. Compare side lengths visually in the bar chart.
  6. Scroll down for a reference table of base formulas.
Formula used
From Area & Height: b = 2A / h From Heron's: s = (a+b+c)/2, A = √[s(s−a)(s−b)(s−c)], h = 2A/b From Perimeter: b = P − a − c From SAS: b² = a² + c² − 2ac·cos(B)

Example Calculation

Result: Base = 6

For an equilateral triangle with sides 6, 6, and 6, the chosen base is 6. The surrounding outputs then show the matching area, perimeter, equal angles, and equal side lengths.

Tips & Best Practices

  • Any side of a triangle can be the base — the "base" is just whichever side you measure the height from.
  • For a right triangle, the two legs or the hypotenuse can each serve as the base with different corresponding heights.
  • If you know all three sides, use Heron's formula first to get the area, then derive any height.
  • The SAS method requires the included angle (the angle between the two given sides).
  • Always check the triangle inequality: the sum of any two sides must exceed the third.

When To Use This Calculator

Calculate the base of a triangle using multiple methods: area and height, three sides with Heron Use it when you need a repeatable calculation in the math / geometry category and want the setup, result, and supporting values kept together. This is especially helpful when small input changes, unit choices, or rounding decisions can change the final number.

How To Check The Result

Start by confirming that the inputs match the formula shown on the page. Then compare the main output with the worked example and any secondary values shown by the calculator. If the result will be used in another calculation, keep extra precision until the final step and record the assumptions beside the number.

Practical Notes

Treat the result as a calculation aid rather than a substitute for context. For schoolwork, include the formula and substitution steps. For planning, technical, financial, or health-related decisions, verify important numbers against primary records, current rules, or a qualified professional before acting on them.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • Rearrange A = ½bh to get b = 2A/h. If the area is 30 and the height is 10, then the base is 2(30)/10 = 6.