Triangle Perimeter Calculator
Enter the three side lengths of a triangle to calculate perimeter, semiperimeter and area. The calculator also checks whether the three sides can form a valid triangle.
Triangle Perimeter Calculator
Enable JavaScript to use the interactive calculator; the example and formula are described below.
Geometry & Triangles
Right triangles, areas, slopes, distances and common coordinate-geometry formulas.
How to calculate the perimeter of a triangle
The perimeter is the total distance around the triangle. Add the three side lengths together.
Example: 3-4-5 triangle
For side lengths 3, 4 and 5, the perimeter is 3 + 4 + 5 = 12. The semiperimeter is 6.
Triangle inequality check
Three positive lengths form a triangle only when every pair of sides adds to more than the remaining side. The calculator checks this automatically before returning a result.
Perimeter, semiperimeter and area
The semiperimeter is half the perimeter and is useful in Heron’s formula for finding area when all three side lengths are known.
Triangle Perimeter Calculator: a practical example
A triangle with sides 3, 4 and 5 units has perimeter 12 units and meets the right-triangle relationship.
What the result means
Perimeter is the sum of side lengths, independent of the triangle's orientation.
Limits to consider
Three lengths form a valid triangle only when every pair sums to more than the third.
Related tools: Right Triangle Calculator · Triangle Area Calculator
Frequently asked questions
What is the triangle perimeter formula?
Add all three sides: P = a + b + c.
Can any three side lengths make a triangle?
No. The sum of any two sides must be greater than the third side.
What units does the perimeter use?
Perimeter uses the same linear unit as the side lengths, such as inches, feet, centimeters or meters.
Method, assumptions & corrections
See how formulas, sources and limitations are handled across ERICH Calculators.