Maths & numbers

Triangle calculator

Find area and perimeter from three side lengths.

Triangle calculator
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

Your result will appear here.

More actions

Your inputs stay in this browser. Nothing is uploaded, and nothing is saved unless you choose “Save result”.

A clear answer. Here’s how.

Uses a rearranged form of Heron’s formula. All sides must be positive and satisfy the triangle inequality. Use the same length unit for every side.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Side a
3
Side b
4
Side c
5

Example result

Area (square units)
6
Perimeter
12