Perimeter to Area Converter by Shape (Square, Circle)

Perimeter to Area Converter

Estimate the area a perimeter encloses for a square, circle, rectangle, equilateral triangle, or regular polygon. Reverse the direction to size a perimeter from a target area, and compare every shape to the isoperimetric circle maximum.

📌Real Shape Presets

📝Shape and Values

Used when direction is perimeter to area. For a circle this is the circumference.

Used when direction is area to perimeter.

Only used for the rectangle shape.

A 1:1 ratio makes a square.

Only used for the regular polygon shape. Minimum 3.

Area 0 square units
Side or radius 0 key dimension
Shape - selected shape
Vs circle maximum 0% share of isoperimetric max

🔢Formula Snapshot

PPerimeter
AArea
sSide length
nSides / ratio

📐Perimeter to Area Formula by Shape

ShapeSide from PerimeterArea from PerimeterNotes
Squares = P / 4A = (P / 4)²All four sides equal
Circler = P / (2π)A = P² / (4π)P is the circumference; max area
Rectangle a:ba×P/2/(a+b), b×P/2/(a+b)A = width × heightDepends on the side ratio
Equilateral triangles = P / 3A = (√3 / 4) × s²Three equal sides
Regular n-gons = P / nA = ¼ × n × s² × cot(π/n)Approaches the circle as n grows

📊Area for a Fixed Perimeter of 40

ShapeSide or RadiusArea% of Circle Max
Circler = 6.366127.32100.0%
Regular 12-gons = 3.333124.4097.7%
Regular decagons = 4.000123.1196.7%
Regular octagons = 5.000120.7194.8%
Regular hexagons = 6.667115.4790.7%
Regular pentagons = 8.000110.1186.5%
Squares = 10.000100.0078.5%
Rectangle 2:113.33 × 6.6788.8969.8%
Equilateral triangles = 13.33376.9860.5%
Rectangle 3:115.00 × 5.0075.0058.9%

🗂Isoperimetric Ranking and Efficiency

RankShapeSidesArea per P²EfficiencyEnclosure
1Circle0.07958100.0%Most area
2Regular 12-gon120.0777597.7%Very high
3Regular octagon80.0754494.8%High
4Regular hexagon60.0721790.7%High
5Regular pentagon50.0688286.5%Good
6Square40.0625078.5%Moderate
7Rectangle 2:140.0555669.8%Lower
8Equilateral triangle30.0481160.5%Least of regulars

🔱Regular Polygon Area Factors

Sides nNameSide = P/nFactor ¼n·cot(π/n)Area = Factor × s²
3TriangleP / 30.433010.43301 × s²
4SquareP / 41.000001.00000 × s²
5PentagonP / 51.720481.72048 × s²
6HexagonP / 62.598082.59808 × s²
8OctagonP / 84.828434.82843 × s²
10DecagonP / 107.694217.69421 × s²
12DodecagonP / 1211.1961511.19615 × s²

Full Formula Breakdown

SquareSide = P / 4, so area = (P / 4)². A perimeter of 40 gives side 10 and area 100.
CircleCircumference P gives radius r = P / (2π), so area = πr² = P² / (4π). P of 40 gives area 127.32.
Rectangle a:bHalf the perimeter splits by ratio: width = P/2 × a/(a+b), height = P/2 × b/(a+b); area is their product.
Equilateral triangleSide = P / 3, so area = (√3 / 4) × side². P of 40 gives side 13.333 and area 76.98.
Regular n-gonSide = P / n, area = ¼ × n × side² × cot(π/n). More sides raise the area toward the circle limit.
Reverse modeArea to perimeter inverts each rule, for example square P = 4√A and circle P = 2√(πA).
Circle maximumThe isoperimetric theorem states the circle encloses the greatest area for any fixed perimeter.

📋Reverse: Area to Perimeter

ShapePerimeter from AreaP for Area 100Note
SquareP = 4√A40.00Side = √A
CircleP = 2√(πA)35.45Smallest perimeter for the area
Equilateral triangleP = 3√(4A/√3)45.59Needs the most fence
Regular hexagonP = n√(A / factor)37.22Between square and circle
Rectangle 2:1from A = 2h²42.43Longer than a square

💡Perimeter to Area Tips

Shape matters: A perimeter on its own cannot give an area. The same fence length wraps very different areas depending on whether it forms a square, circle, or triangle, so always pick the shape first.
Circle wins: For any fixed perimeter the circle encloses the most area, and a square holds about 78.5% of that maximum. To fence the largest region with set material, round shapes beat sharp corners.

When faced with task of fencing an area, you might imagine that all that matters is length of your chain link or other type of fence rope. Forty feet means a certain area, no matter what shape you create, right? Wrong. That’s where geometry come in. The amount of square feet you get depends on which shape you draw with a given perimeter (length); or acres, if the question were grazing land for cattle.

A circle will contain almost 20 percent more space than a rectangle of the same perimeter. An equilateral triangle, far less. In practical applications, whether renovating a room, laying out a garden bed, or calculating most efficient use of grazing land, the shape do make a difference.

How Shape Changes Area

After you input the perimeter (i.e., the length of the shape’s boundaries) and choose the desired shape, the tool does the rest. If you prefer to work backwards by beginning with the desired area, you can simply flip it around. For instance, let’s say you have a fixed amount of floor area (e.g., one hundred square feet) and you want to determine just how much baseboard molding to purchase. Just flip the equation: the calculator will then tell you what perimeter is necessary to achieve it. No more measuring twice, cutting once!

But it goes even further, because it also allow you to compare your calculation to theoretical max (which is obviously a circle). How? By giving you that percentage number. If you’re at only sixty percent efficient, you know there are some awkward shapes and angles going on; they cut down on the useable space.

Why does a circle win? It spreads its curvature evenly across all points on an imaginary line from the center point. All edges pulls toward that central point equally. There is no excess boundary material. And as you increase number of sides on a polygon, it comes close to matching this ideal. With a perimeter equal to a circle’s, a dodecagon approaches getting almost exactly ninety-eight percent of its area. A square can do maybe seventy-eight percent. And then there’s the triangle, barely scraping by at sixty percent.

When you’re limited on space or cost of materials, this ordering has consequences. That’s why urban planning often employ circular parks and roundabouts: they maximize available surface area in a set amount of curb length, not merely for their looks.

Add another dimension: rectangles involve ratios. A square-ish room is equivalent in perimeter to a long narrow strip, but have far more interior space. The calculator supports specifying the ratio of sides so you can visualize how much space you lose by stretching a shape too thin.

Or perhaps you are planning to use a length of fencing to make an enclosure next to a wall. If you leave one side open, it changes the perimeter limit for the other sides. This totally changes what the right dimensions should of be. Blind calculation doesn’t beat general planning here. You need to think about property lines, existing barriers, or where water drains, none of which will fit tidily into simple math equations.

People often miss this: area is not the same as perimeter. While perimeter measures distance, area measures surface. They are two different things that is related. If you take a square and double all of its linear dimensions (lengths), it’s going to quadruple its area. It’s like exponential growth in miniature. Small changes in boundary length lead to large differences in available space. Think of this as leverage; leverage your mind at the planning stage or when you’re scaling up a model. What if a ten percent larger fence give you practically twenty percent more lawn?

So in the end, the best shape isn’t just the mathematical ideal; it’s the shape that fits within your constraints. Sometimes construction cost won’t let you make the perfect circle; sometimes existing structures prevent you from building exactly what you want. Knowing this tradeoff will help you bargain with your boundaries: Want straight lines? Increase the number of sides and approach circular efficiency. Have fixed corners? Tweak the proportions so you’re not wasting space on unnecessarily long rectangles. That fence length is only the beginning, it’s how you arrange it that ultimately determines what you get inside.

Perimeter to Area Converter by Shape (Square, Circle)