Geometry Calculator

Triangle Calculator

Check triangle side validity and calculate perimeter, semiperimeter, Heron's formula area, base-height area, and converted units from one live calculator.

Live calculator

Triangle formula inputs

Check side validity, perimeter, semiperimeter, Heron area, and base-height area.

cm
cm
cm
cm
cm

Heron area

14.696938 cm²

Perimeter

18 cm

Semiperimeter

9 cm

Base-height area

30 cm²

Type

scalene

Perimeter in other units

Scroll horizontally inside this table to view every column on smaller screens.

Perimeter in other units
UnitConverted valueMeaning
nm180,000,000Nanometers
um180,000Micrometers
mm180Millimeters
cm18Centimeters
dm1.8Decimeters
m0.18Meters
dam0.018Decameters
hm0.0018Hectometers
km0.0002Kilometers
mil7,086.6142Mils
in7.0866Inches
ft0.5906Feet
yd0.1969Yards
mi0.0001Miles
nmi0.0001Nautical miles
pt510.2362Points
pc42.5197Picas

Base-height area in other units

Scroll horizontally inside this table to view every column on smaller screens.

Base-height area in other units
UnitConverted valueMeaning
nm²3,000,000,000,000,000Square nanometers
um²3,000,000,000Square micrometers
mm²3,000Square millimeters
cm²30Square centimeters
dm²0.3Square decimeters
0.003Square meters
dam²0Square decameters
hm²0Square hectometers
km²0Square kilometers
mil²4,650,009.3Square mils
in²4.65Square inches
ft²0.0323Square feet
yd²0.0036Square yards
mi²0Square miles
nmi²0Square nautical miles
pt²24,105.6482Square points
pc²167.4003Square picas

Triangle inequality

A valid triangle needs each pair of sides to add up to more than the remaining side. The calculator labels invalid side sets before using Heron's formula.

Checks

Triangle Inequality

Area Modes

Heron + Base Height

Classification

Side Type

No sign-upFormula shownPrint-friendly
What Can You Create?

Calculate triangle measurements and validity

Side validity

Check whether three side lengths pass the triangle inequality before using side-based formulas.

Perimeter

Add all three side lengths and calculate semiperimeter for Heron's formula.

Two area methods

Compare Heron's formula from sides with one-half base times perpendicular height.

Formula

Triangle formulas used on this page

Triangle calculations depend on whether you know three sides or a base with perpendicular height.

Working formulas

Perimeter

P = a + b + c

Add the three side lengths.

Semiperimeter

s = P / 2

Heron's formula starts with half the perimeter.

Heron's formula

A = sqrt(s(s-a)(s-b)(s-c))

Use only when the three sides form a valid triangle.

Base-height area

A = (base x height) / 2

Height must be perpendicular to the chosen base.

Symbols

a, b, c - side lengths
The three edges of the triangle used for perimeter and Heron's formula.
s - semiperimeter
Half of the perimeter, used inside Heron's formula.
h - height
The perpendicular distance from the base to the opposite vertex.
Why Users Love This Tool

Triangle outputs with validity checks

Formula-backed results

  • The live calculator appears first so users can enter dimensions before reading long explanations.
  • Each result stays connected to a visible formula instead of returning a bare number.
  • Inputs accept decimals for measurement problems that do not use whole-number dimensions.
  • Copy and print controls help users move results into notes, worksheets, and classroom examples.

Geometry guardrails

  • Invalid triangle side sets are labeled clearly before Heron's formula is used.
  • Circle calculations use radius consistently so diameter, area, circumference, sectors, and arcs agree.
  • Shape labels separate area from perimeter so users do not confuse surface coverage with edge length.
  • Related links connect the calculator page to the geometry hub and printable formula reference.
Perfect For

Triangle support for geometry practice

Students

Check homework dimensions while keeping the formula and unit meaning visible.

Teachers

Create quick examples for geometry worksheets, board notes, and answer keys.

Printable work

Print the page with inputs, results, formulas, FAQs, and related geometry links.

How It Works

How it works in three quick steps.

1

Enter three side lengths

Use side A, side B, and side C to calculate perimeter and validate the triangle.

2

Enter base and height

Use perpendicular height with the chosen base for the base-height area formula.

3

Compare area methods

Use Heron's formula when three valid sides are known, or base-height area when height is known.

Download & Print

Save or print triangle calculations

Copy the result

Copy the calculated measurements and formula context into notes or lesson drafts.

Print the page

Print the calculator result with formula explanations and FAQ support below it.

Compare nearby values

Change one dimension at a time to see how the measurement responds.

FAQ

Frequently Asked Questions

What does the triangle calculator check first?
The calculator checks whether the three side lengths can form a valid triangle. Each pair of sides must add up to more than the remaining side. Without that condition, Heron's formula should not be used because the side set does not describe a real triangle. The result panel labels invalid side sets clearly.
When should I use Heron's formula?
Use Heron's formula when you know all three side lengths but do not know the perpendicular height. The formula starts with semiperimeter and then uses all three sides to calculate area. It is useful for scalene triangles and many worksheet problems where height is not given directly.
When should I use base times height divided by two?
Use the base-height formula when the problem gives a base and the perpendicular height to that base. The height must meet the base at a right angle. If the height is not perpendicular, the base-height area result will not represent the true triangle area.
How does the calculator classify triangle type?
The calculator classifies valid triangles by side equality. Three equal sides make an equilateral triangle. Two equal sides make an isosceles triangle. Three different side lengths make a scalene triangle. If the sides fail the triangle inequality, the type is shown as invalid instead.
Why can Heron area and base-height area be different?
They can be different when the side lengths and the base-height inputs describe different triangles or when the height is not the true perpendicular height for the chosen base. If all inputs describe the same triangle correctly, Heron's formula and the base-height formula should agree apart from rounding.
About This Tool

About this triangle calculator

Toolarithm's Triangle Calculator handles the two most common triangle workflows: side-based calculations and base-height area. The side fields calculate perimeter, semiperimeter, triangle validity, side classification, and Heron's formula area. The base and height fields calculate the familiar one-half base times height area formula.

The calculator is careful about validity because not every group of three positive numbers can become a triangle. If one side is too long compared with the other two, the side set is invalid. That matters because Heron's formula assumes a real triangle. Use the unit selector when triangle dimensions come from a drawing scale, worksheet, construction sketch, or map. The side results stay in the selected linear unit, while Heron and base-height area results are displayed in square units.

Editorial Transparency

Who maintains this page

Ownership and review

Written and maintained by the Toolarithm editorial team. No review date is shown without a maintained editorial record. No independent professional review is claimed.

Methodology

Equations are checked by substituting worked examples into the stated relationship and comparing the result with the interactive implementation.

Read the editorial methodology

Dates and sources

Review dates change only after a substantive method or content check.

Keep building

Explore more math tools

Math calculators