About the Perimeter Calculator
This tool computes the perimeter for common 2-D shapes in your browser. You pick a shape, type the numbers, and the perimeter updates instantly. It supports square, rectangle, triangle, circle, regular polygon, parallelogram and ellipse. Units include mm, cm, m, inches, feet or any other linear unit you enter. Your numbers stay in your browser; nothing is uploaded. You can copy the numeric result or generate a link that reopens the tool with the same inputs. The ellipse calculation uses Ramanujan's approximation. That approximation is accurate enough for everyday measurements. The tool gives geometric perimeter only; it does not add material waste or overlaps for construction or ordering.
How to use it
- 1Select the shape you need from the Shape menu.
- 2Enter side a, side b, side c, radius or number of sides as required.
- 3Choose the unit from mm, cm, m, inches, feet or type your own unit.
- 4Watch the perimeter update instantly as you type; there is no calculate button.
- 5Copy the result or click Share to generate a link with your inputs.
Worked example
Rectangle with Side a = 3.5 m and Side b = 2 m. Perimeter = 2(3.5 + 2) = 11.0 m.
The formula
Square 4aRectangle 2(a + b)Triangle a + b + c (each side must be shorter than the other two together)Circle 2 pi rRegular polygon n x sideParallelogram 2(a + b)Ellipse with half axes a and b: Ramanujan's formula pi (a + b)(1 + 3h / (10 + sqrt(4 - 3h))), with h = ((a - b) / (a + b))^2Source: Perimeter - WikipediaPerimeter of an ellipse - Wikipedia. Last checked 5 November 2026.
What it is good for
- Instant perimeter results as you type.
- Supports seven shape types including ellipse with Ramanujan approximation.
- Runs fully in your browser; no uploads needed and results are easy to copy or share.
- Ellipse perimeter is an approximation; it is highly accurate for everyday shapes.
- The calculator returns geometric perimeter only and does not add material waste or overlaps.
Questions people ask
What is perimeter?
Perimeter is the total distance around a 2-D shape. For a circle, perimeter is called circumference and equals 2 pi r.
Which shapes can I use here?
You can pick Square, Rectangle, Triangle (three sides), Circle (circumference), Regular polygon, Parallelogram and Ellipse.
How accurate is the ellipse perimeter?
The ellipse result uses Ramanujan's formula. It is an approximation with very small error for everyday measurements compared with typical measurement noise.
Do I need to press Calculate?
No. Results update instantly as you type. There is no calculate button.
What units does the tool use?
Enter any linear unit you like: mm, cm, m, inches, feet or a custom unit. The result uses the same unit you enter.
Can I reuse or share my inputs?
Yes. You can copy the numeric result or create a link that reopens the calculator with your numbers.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.