PDFandMore24 LogoPDFandMore24
Geometry Tools

Triangle Calculator

Calculate triangle area, perimeter, side lengths, angles, and height using SSS, SAS, ASA/AAS, base-height, and right-triangle methods.

Geometry Calculator

Triangle Calculator

Calculate triangle area, perimeter, side lengths, angles and height from the measurements you actually know.

What do you know?

Choose the information you already have.

Enter measurements

The tool recalculates as you type.

B → C
cm
C → A
cm
A → B
cm
Waiting for measurements

Enter all three side lengths: a, b and c.

Triangle diagram

A = lower-left • B = lower-right • C = top

ABC

Vertices

A • B • C

Sides

a • b • c

Base

c = AB

Area

—

Surface inside the triangle

Perimeter

—

Total boundary length

Height

—

Height to base c

Type

—

Based on calculated geometry

Formula guide

Triangle formulas explained

Use the formula that matches the measurements you already have.

Area from base and height

Area = ½ × base × height

The height must be perpendicular to the selected base.

Area from two sides and an angle

Area = ½bc sin(A)

The angle must be the included angle between b and c.

Heron’s formula

Area = √[s(s−a)(s−b)(s−c)]

Use when all three side lengths are known.

Law of Cosines

a² = b² + c² − 2bc cos(A)

Use SAS measurements to calculate the missing side.

Law of Sines

a/sin(A) = b/sin(B) = c/sin(C)

Use two angles and one side to calculate the remaining sides.

Pythagorean theorem

a² + b² = c²

Use for right triangles where c is the hypotenuse.

Learn the geometry

Why triangle calculations need different inputs

The same triangle can be solved from several different combinations of measurements.

Triangle angles must total 180°

The three interior angles of a conventional triangle always add to 180°. For example, 20°, 30° and 25° total only 75°, so they cannot form a triangle. The calculator rejects such input before generating a result.

20° + 30° + 25° = 75° ❌
Required total = 180°

Three side lengths must satisfy the triangle inequality

A set of positive numbers forms a triangle only when the sum of every two sides is greater than the third side.

a + b > c
a + c > b
b + c > a

Area can be calculated with an angle

When two sides and their included angle are known, the area can be found directly with the sine rule for area. This is the SAS case.

Area = ½bc sin(A)

Three angles alone do not determine the area

Three valid angles determine a triangle’s shape but not its scale. A 60°–60°–60° triangle can be tiny or very large. One side length is needed to determine actual size, perimeter and area.

Fixed A–B–C convention

This calculator keeps the same naming convention everywhere: A is the lower-left vertex, B is the lower-right vertex, C is the upper vertex, c is the base AB, a is BC and b is CA.

Frequently asked questions

Triangle calculator FAQ

Common questions about inputs, formulas and validation.

Can I calculate triangle area using an angle?+
Yes. With two sides and their included angle, use Area = ½bc sin(A), or the equivalent form for another pair of sides.
Why are 20°, 30° and 25° rejected?+
Those angles total 75°, but the interior angles of a triangle must total 180°, so the input is impossible.
Can three angles determine the area?+
No. Three angles determine shape but not scale. At least one side length is needed for actual area and perimeter.
Why are some three side lengths rejected?+
They fail the triangle inequality. Every pair of sides must have a sum greater than the remaining side.
Which side is the base?+
Side c is always the base from A to B. The perpendicular height is measured from C toward AB.
What is SSS?+
SSS means three sides are known. The calculator uses Heron’s formula for area and the Law of Cosines for angles.
What is SAS?+
SAS means two sides and the included angle are known. The calculator uses the Law of Cosines and the sine area formula.
What is ASA or AAS?+
Two angles and one side are enough. The missing angle comes from the 180° angle sum and the side lengths are found using the Law of Sines.
What happens when the input is incomplete?+
The calculator explains what additional measurement is required instead of producing a misleading result.
What units are supported?+
Millimeters, centimeters, meters, inches and feet are supported for length measurements.

Browser-based processing is used where supported. Review each tool's privacy notes before entering sensitive information.

About Triangle Calculator

Calculate triangle area, perimeter, side lengths, angles, and height using SSS, SAS, ASA/AAS, base-height, and right-triangle methods. This tool runs in your browser.

How to use it

  1. Enter your values.
  2. Review the result.
  3. Clear the fields to start again.

Key Features

  • ✓ Browser-based processing
  • ✓ Instant results
  • ✓ No server upload

Frequently Asked Questions

Is my data uploaded?

No. Calculations happen locally in your browser.

Related Tools