Mathematics & Graphing

Area & Perimeter Simulator

Five shapes, drawn to scale, with area, perimeter and the isoperimetric ratio.

Standards: Plane geometry Format: browser simulator Cost: free, no sign-up Reviewed: November 2026
Area & Perimeter Simulator — live Plane geometry
The circle is the most efficient shape: for a given perimeter it encloses the largest possible area.

Inputs

80 mm
50 mm
40 mm or °

Presets

Area4000.00
Perimeter260.00
Area in cm²40.00
ShapeRectangle
Defined bywidth × height
Deriveddiagonal 94.34
Volume if extruded 10 mm40000.0 mm³
Volume if revolved about the axis251327.4 mm³

Every number below is substituted from the current input state — change a slider and the arithmetic changes with it.

Rectangle
→ A = w·h · P = 2(w + h)
Triangle
→ A = ½·b·h
Circle
→ A = πr² · C = 2πr
Trapezium
→ A = ½(a + b)·h
Sector
→ A = ½r²θ (θ in radians)

Areas add, perimeters do not: joining two shapes gives the sum of areas but less than the sum of perimeters, because the shared edge disappears.

Practice problem

Area and perimeter are the two numbers almost every practical calculation starts from: paint, sheet metal, heat loss and fencing all reduce to one of them.

This simulator draws the shape to scale and reports both, plus the isoperimetric ratio — a measure of how efficiently a shape encloses area for its perimeter.

The formulas and where they come from

A rectangle is the base case: area is width times height, and every other polygon formula is a rearrangement of it. A triangle is half a rectangle, which is why the ½ appears; a trapezium is the average of its parallel sides times the height.

A circle is the limit case of a regular polygon as the number of sides grows, and its area πr² follows from that limit. The sector is simply a fraction of the circle, θ/360 of the whole.

Why perimeter does not scale with area

Double every dimension and the area grows fourfold while the perimeter only doubles. That single fact explains a great deal: a larger tank holds eight times the volume of a half-size one but has only four times the surface area, so it loses heat more slowly per litre.

It also means you cannot compare shapes by area alone when the application is about boundary — fencing, paint edges, heat exchange or drag all depend on perimeter or surface.

Shape efficiency

The ratio 4πA/P² reaches 1 only for a circle, which is the isoperimetric inequality. Every other shape scores below 1, and the more elongated it is, the lower the score.

ShapeAreaPerimeter4πA/P²
Circle, r 6011 3103771.00
Square, 100 × 10010 0004000.79
Rectangle 200 × 5010 0005000.50
Equilateral triangle, side 15210 0004560.60

Practical caveats

Real parts have thickness and edge allowances. A 100 mm square cut from sheet needs a 100 mm blank plus kerf, and a bent part’s developed length differs from its finished perimeter.

The sector calculation uses degrees; most engineering formulas expect radians, where area is ½r²θ. Mixing the two is a common source of factor-of-57 errors.

Frequently asked questions

Why does the circle score 1 on the efficiency ratio?

Because the isoperimetric inequality says no shape encloses more area for a given perimeter. The ratio is normalised so the circle is exactly 1 and everything else is less.

How do I find the area of an irregular shape?

Split it into triangles and rectangles and add, or use the surveyor’s formula on the vertex coordinates. For a physical part, a planimeter or a CAD area query is more reliable than manual decomposition.

Is the triangle formula valid for any triangle?

Yes — ½ × base × perpendicular height works for every triangle, which is why the height must be measured perpendicular to the base, not along a side.

Why is the sector area not simply r × arc length?

Because the sector is a triangle only in the limit of small angles. The exact expression is ½ × r × arc length, which for a full circle gives ½ × r × 2πr = πr².

BR

Written and reviewed by Bloom Rocket editorial desk

Bloom Rocket is built and maintained by a small independent team. Every page states the equations it implements and the standards it references, so the working can be checked rather than taken on trust.

How these simulators are built and checked →

Keep going

More mathematics simulators

All Mathematics →