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.

Checks

Triangle Inequality

Area Modes

Heron + Base Height

Classification

Side Type

No sign-upFormula shownPrint-friendly

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

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

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.

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.

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.

Keep building

Explore more math tools

Math calculators