Perimeter Formulas for Common Shapes
Perimeter is the total distance around the outside edge of a two-dimensional shape. This calculator covers the five most commonly needed shapes in school math and everyday projects, from simple rectangles to regular polygons with any number of sides.
Square: P = 4s
Circle (circumference): C = 2πr
Triangle: P = a + b + c
Regular Polygon: P = n × s (n = number of sides, s = side length)
Perimeter vs. Circumference vs. Area
Perimeter and circumference measure the same concept — the distance around a shape's edge — but "circumference" is the specific term used for circles. Don't confuse either with area, which measures the space enclosed inside the shape rather than the distance around its boundary.
The Triangle Inequality Check
Not every set of three numbers can form a real triangle. For three side lengths to form a valid triangle, the sum of any two sides must be greater than the third side (the triangle inequality theorem) — this calculator flags side combinations that don't satisfy that rule.
❓ Frequently Asked Questions
🏆 About This Tool — Accuracy & Trust
🔒 Data Privacy: All calculations run entirely within your browser using JavaScript. Nothing you enter here is ever transmitted to our servers, stored, sold, or shared.
📐 Accuracy Note: This tool uses standard, widely published formulas and guidelines. Results are estimates for informational purposes; for financial, medical, or engineering decisions, consult a licensed professional.
📅 Last Updated: September 2026.