Skip to content
OneKitly

Four Shapes, One Input Box, and the Wrong Answer If You Forget Which

Published 11/9/2026 · 3 min read · Everyday calculators

Marco Bianchi

Marco Bianchi — Home, DIY & motoring writer at OneKitly

Renovation · Materials

Checked against 2 sources

View profile →
In short

Perimeter is the distance around, and the four common shapes each compute it differently: a rectangle doubles the sum of two sides, a square multiplies one by four, a circle multiplies its radius by 2π, and a triangle adds three sides. Feeding a 10 into each in turn gives 40 for the square and 62.83 for the circle — the same digit describing a side in one case and a radius in the other. The calculator shows its working precisely because that is the step where a wrong shape selection becomes invisible: the answer looks plausible either way and only the working reveals which formula ran.

Advertisement

A 10 entered as a square side gives 40; as a circle radius it gives 62.83. The same number means a different measurement in each of the four modes.

Radius or diameter is the classic slip

Pipes, tubes, wheels and holes are sold and specified by diameter, while nearly every geometric formula wants the radius. Entering a 100 mm pipe as a radius doubles the answer, and the result is still a perfectly ordinary-looking number — which is exactly why the error survives a glance. The safeguard costs nothing: read the label on the input box every time rather than the first time. Where a workshop measures diameters all day, writing the halving into the note rather than doing it in the head removes the step that gets skipped when the phone rings.

Perimeter buys edging and area buys covering

The two are bought in different units and confusing them is expensive in both directions. Fencing, skirting, trim, weld, hemming and edging all scale with perimeter; turf, tiles, paint, plasterboard and flooring all scale with area. Doubling a square's side doubles its fencing bill and quadruples its turf bill, which is why a plot twice as wide costs disproportionately more to surface and disproportionately less to enclose per square metre. Quoting a job needs both numbers, and a supplier who asks only for one is pricing only one part of it.

Perimeter
The same 10 in four modes
ShapeWhat the 10 meansPerimeter
SquareA side40
Rectangle (10 and 6)The width32
CircleThe radius62.83
Triangle (3, 4, 5)Not used12

Worked with our own calculator

Perimeter calculator

Given

Shape
Square
Width / side / radius / side a
8
Height / side b
6
Side c (triangle only)
10

Result

Perimeter
32

These figures are produced by the calculator below, not typed in by hand — they are recomputed whenever the tool changes.

Run it on your own figures →
Advertisement

Frequently asked questions

Why does the triangle mode need three numbers?
Because a triangle's three sides are independent in a way that a rectangle's are not. A rectangle repeats each of its two dimensions twice, so two numbers determine four sides; a triangle has no such repetition and every side must be given. The pattern generalises: a regular polygon of any number of sides needs only one length because they all match, while an irregular one needs every side listed. That is why the separate regular-polygon tool takes a side count and a length, and a general polygon needs a list of coordinates instead.
Should extra length be added for corners?
Always, and the amount depends on what is being cut. Mitred trim wastes the offcut at every corner, so a four-corner room needs the perimeter plus roughly one length of the longest piece; fencing wastes nothing at corners but needs a post at each; welded frames need no allowance at all. The perimeter is the theoretical minimum, and every trade has its own habitual margin above it — usually between five and fifteen per cent. A quote built on the bare perimeter will be short, and the shortfall arrives on the last corner of the last day.

Articles you may find interesting

All guides →

Related tools

Sources

Spotted a mistake in this article?