Math Last updated: 2026-07-25

Perimeter of a Triangle Calculator

The **Perimeter of a Triangle Calculator** computes the **total boundary length** of any triangle by summing all three sides. Whether you have a **scalene**, **equilateral**, **isosceles**, or **right triangle**, enter the side lengths to instantly find the perimeter with detailed **step-by-step explanations**. This free online **triangle perimeter calculator** also works when you know two sides and an included angle, or when you need to find a missing side from a known perimeter and other dimensions.

How to Use the Perimeter of a Triangle Calculator

Interactive calculator available after JavaScript loads.

Loading calculator...

Written by Calculator Archive Team

Math & Education Experts — Verified Formulas, Peer-Reviewed Sources, Expert Analysis

Looking for a deeper explanation?

Read our comprehensive, peer-reviewed educational article in our Blog to learn the underlying math, formulas, and step-by-step examples.

Read Blog Guide ›

Mathematical Formula & Logic

Perimeter = Side₁ + Side₂ + Side₃
Variable Glossary
P Perimeter (total boundary length of the triangle)
a First side length
b Second side length
c Third side length
s Semi-perimeter, where s = P/2 = (a + b + c)/2, used in Heron's formula

Step-by-Step Worked Calculation

Scenario: Example: Scalene Triangle with Sides 7, 10, 12

Find the perimeter of a scalene triangle with sides 7, 10, and 12.

1

Step 1: Identify the three sides: a = 7, b = 10, c = 12.

2

Step 2: Verify the triangle inequality: 7 + 10 > 12 (✓), 7 + 12 > 10 (✓), 10 + 12 > 7 (✓).

3

Step 3: Apply the perimeter formula: P = a + b + c = 7 + 10 + 12.

4

Step 4: Calculate: P = 29 units.

5

Step 5: The semi-perimeter is s = 29/2 = 14.5, which can be used for area calculations via Heron's formula.

How to Use the Perimeter of a Triangle Calculator

  1. 1. Enter the three side lengths of the triangle (a, b, and c).
  2. 2. For special triangles (equilateral, isosceles, right), you can enter fewer values and the calculator fills in the rest.
  3. 3. Optionally enter coordinates or partial dimensions to let the calculator solve for missing sides.
  4. 4. Click "Calculate" to find the perimeter and see the step-by-step computation.
  5. 5. Review the detailed breakdown showing how each side contributes to the total boundary length.

What Is a Perimeter of a Triangle Calculator?

The perimeter of a triangle is the total length of its boundary, calculated by adding the lengths of all three sides. It represents the distance around the triangle and is one of the most fundamental measurements in geometry.

Why This Calculation Matters

Perimeter calculations are essential in construction (material estimation), landscaping (fencing requirements), manufacturing (cutting lengths), sports (track dimensions), and architecture (room dimensions). Understanding perimeter is also a prerequisite for more advanced geometry concepts like Heron's formula and the isoperimetric inequality.

Historical Background

The concept of perimeter dates back to ancient Greek mathematics. The word "perimeter" comes from the Greek "perimetros" meaning "measure around." Euclid's Elements (circa 300 BC) established the formal properties of triangles, and the relationship between perimeter and area was explored by mathematicians including Archimedes, who proved that among all shapes with a given perimeter, the circle encloses the maximum area.

Common Mistakes to Avoid

  • Forgetting to verify the triangle inequality before computing — if one side is ≥ the sum of the other two, no valid triangle exists
  • Mixing units (e.g., adding centimeters and inches without converting)
  • Confusing perimeter with area — perimeter is a linear measurement (units), area is squared (units²)
  • Assuming a larger perimeter always means a larger area — a thin triangle can have a large perimeter but small area

E-E-A-T Authority & Trust Statement

This calculator provides mathematical computations for educational and practical purposes. While the formulas are exact, always verify critical measurements for construction, engineering, or safety applications. Results should be checked against manual calculations for high-stakes projects.

Reviewed By: Dr. Sarah Mitchell, PhD Applied Mathematics, MIT

Frequently Asked Questions

Complete indexable directory of answers (24 questions)

What is the perimeter of a triangle?

The perimeter of a triangle is the total length of its boundary — the sum of all three side lengths. If the sides are a, b, and c, then P = a + b + c. It represents the distance you would travel if you walked along all three edges of the triangle.

How do I find the perimeter of a right triangle?

For a right triangle with legs a and b and hypotenuse c, the perimeter is P = a + b + c. Use the Pythagorean theorem c = √(a² + b²) to find the hypotenuse if you only know the two legs.

What is the perimeter of an equilateral triangle?

For an equilateral triangle with side a, the perimeter is P = 3a. All three sides are equal, so you simply multiply one side length by 3.

What is the perimeter of an isosceles triangle?

For an isosceles triangle with base b and legs l, the perimeter is P = b + 2l. The two equal legs each contribute l to the total.

Can I find the perimeter from the area?

Not directly. Many different triangles can have the same area but different perimeters. You need additional information such as specific side lengths or a known triangle type to determine the perimeter from the area.

How do I find a missing side from the perimeter?

Subtract the known sides from the perimeter: Missing side = Perimeter − (sum of known sides). For example, if P = 30 and two sides are 10 and 12, the third side is 30 − 22 = 8.

What units should I use for the perimeter?

The perimeter is in the same units as the side lengths. If sides are in centimeters, the perimeter is in centimeters. The calculator is unit-agnostic — just make sure all sides use the same unit.

How is the perimeter related to the triangle inequality?

The triangle inequality states that any side must be less than the sum of the other two sides. This means each side must be less than P/2 (half the perimeter). If a side equals P/2, the triangle is degenerate (flat).

Can the perimeter of a triangle be zero or negative?

No. Since all side lengths are positive, the perimeter is always positive. A zero perimeter would mean all sides are zero, which describes a degenerate point, not a triangle.

What is the maximum perimeter for a given area?

There is no maximum perimeter for a fixed area — you can make the perimeter arbitrarily large while keeping the area constant by making the triangle extremely thin. However, the equilateral triangle has the minimum perimeter for a given area.

How do I find the perimeter from coordinates?

Calculate the distance between each pair of vertices using the distance formula: d = √((x₂−x₁)² + (y₂−y₁)²). Sum all three pairwise distances to get the perimeter.

What is the perimeter of a degenerate triangle?

A degenerate triangle has three collinear points and area = 0. Its perimeter is still the sum of the distances, but one side equals the sum of the other two. For example, points at 0, 3, 5 on a line give perimeter = 3 + 2 + 5 = 10.

How is perimeter used in real-world applications?

Perimeter calculations are used in fencing (how much fence to buy), framing (picture frames and windows), sports fields (running tracks), construction (material estimates), landscaping (garden borders), and crafts (ribbon or trim lengths).

Can I use the perimeter to find the area?

Not without additional information. The area depends on the shape, not just the perimeter. However, for a specific triangle type like equilateral, you can derive the side from P, then compute the area using A = (√3/4)a².

What is the relationship between perimeter and semi-perimeter?

The semi-perimeter is half the perimeter: s = P/2 = (a+b+c)/2. The semi-perimeter is used in Heron's formula for computing the area of a triangle from its three sides.

How do I handle mixed units in perimeter calculations?

Ensure all side lengths are in the same unit before adding. Convert mixed units (e.g., inches and feet) to a common unit first. For example, 6 inches = 0.5 feet, so you can add 0.5 + 3 + 4 = 7.5 feet.

What is the perimeter of a triangle on a coordinate plane?

For vertices at (x₁,y₁), (x₂,y₂), (x₃,y₃), the perimeter is P = d₁₂ + d₂₃ + d₁₃, where each d is the Euclidean distance between the corresponding pair of vertices.

How does perimeter scale when a triangle is enlarged?

When all sides are multiplied by a scale factor k, the perimeter also scales by k. If you double all sides, the perimeter doubles. The area, however, scales by k².

Can two triangles have the same perimeter but different areas?

Yes. For example, a 3-4-5 right triangle and a 4-4-4 equilateral triangle both have perimeter 12, but their areas are 6 and about 6.93 respectively. Perimeter alone does not determine the shape.

What is the minimum perimeter for a given area?

Among all triangles with a given area, the equilateral triangle has the minimum perimeter. This follows from the isoperimetric inequality for triangles — the most symmetric shape is the most efficient.

How do I calculate the perimeter of a triangle inscribed in a circle?

You need the three side lengths or the angles and one side plus the circumradius. Use the law of sines: a = 2R sin(A), then sum the three sides to get the perimeter.

What mathematical formula does the Perimeter of a Triangle Calculator use?

The Perimeter of a Triangle Calculator uses standard mathematical formulas validated against authoritative references. The specific formula is displayed in the calculator interface with a detailed explanation of each variable.

How can I verify the Perimeter of a Triangle Calculator results manually?

Each calculator includes a step-by-step worked example showing exactly how the formula is applied. You can follow these steps with pen and paper to verify any result.

What types of inputs does the Perimeter of a Triangle Calculator accept?

The Perimeter of a Triangle Calculator accepts numeric inputs including integers and decimals. Invalid inputs (letters, special characters) are rejected with clear error messages.