b2KIT

Shape Area & Perimeter Calculator

Calculate area and perimeter for 20+ shapes with visual diagrams. Includes circles, polygons, ellipses, and sectors.

Tested tool guide Tested browser tools Checked August 16, 2026

What Shape Area & Perimeter Calculator does, with a checked example

Pick a shape from a gallery of more than 20 entries - circles, triangles, quadrilaterals, regular polygons, ellipses, and sectors - and the page draws a labeled diagram showing exactly which dimensions to enter. Type those lengths in and the tool returns the area and the perimeter computed from the standard formulas. The surprise most users hit is scaling: double a circle's radius and the circumference merely doubles, but the area quadruples, so a shape that looks twice as wide holds four times as much. The diagram also exists to stop a subtler error - entering the slant side of a trapezoid where the perpendicular height belongs.

Worked example

A concrete input and expected output from the current implementation.

Input

Circle, radius = 5 cm

Expected output

Area = 78.54 square cm; perimeter (circumference) = 31.42 cm

Area is pi times the radius squared: pi x 25 = 78.5398, rounded to 78.54. The circumference is 2 x pi x 5 = 31.4159, rounded to 31.42. Both results carry the units entered, so the area is quoted in square centimeters.

How the result is produced

1

Shape, diagram, then dimensions

Pick a shape and the page draws a labeled figure with the dimensions that shape needs - radius for a circle, base and perpendicular height for a triangle, side length for a square. Enter values and the tool applies the standard formula for that shape and returns both results. The numbers follow the units you entered: perimeter in linear units, area in those units squared.

2

Where the formulas differ

Polygon perimeters are the sum of the side lengths; curved shapes involve pi. One result deserves caution: an ellipse has no exact elementary perimeter formula, so the perimeter any calculator shows for an ellipse is an approximation - the area, by contrast, is exact (pi x a x b for semi-axes a and b). Regular polygons in the gallery ask for the information that pins the shape down, such as side length and a count of sides.

Good uses

  • Estimating materials for a yard or room: fencing and baseboard need the perimeter, while sod, paint, and flooring need the area, and one visit settles both for oddly shaped spaces such as a lawn with a semicircular end.
  • Checking a homework answer or a contractor's quote: enter the dimensions of a sector, annulus, or regular polygon whose formula you would otherwise have to look up, and compare the tool's result against your own working.
  • Turning a scaled drawing into real numbers: measure a floor plan on graph paper, multiply by the scale, and let the tool convert those lengths into the area a listing claims - a fast plausibility check before you commit.

Limits and checks

  • Mixed units produce plausible-looking nonsense. If one length is in meters and another in centimeters, the area is off by the square of the ratio - a factor of 10,000 between m2 and cm2 - and nothing in the result flags it.
  • An ellipse's perimeter is approximate by nature. The area (pi x a x b) is exact, but the boundary length has no closed elementary formula, so treat it as a good estimate rather than a precise figure.
  • Slanted sides are not heights. For a trapezoid or triangle, the area formula takes the perpendicular height, which the diagram highlights; typing the slanted edge instead inflates the area. Likewise a sector's perimeter is both radii plus the arc, not the arc alone.

Common questions

Why does doubling my circle's radius change the area so much more than the circumference?

Because the two quantities scale differently. The circumference is proportional to the radius, so doubling r doubles 2 x pi x r; the area is proportional to the square, so doubling r quadruples pi x r squared. If you expected both to double, that mismatch is the relationship to remember - it holds for every shape: lengths scale linearly, areas scale quadratically.

Can I give the tool a photo or drawing of an irregular shape and get its area?

No. The tool takes typed dimensions for the shapes in its gallery; it does not accept images or freehand outlines. For an irregular region, decompose it into gallery shapes - rectangles, triangles, semicircles - compute each one, and add the results, accepting that a curved boundary can only be approximated by such a decomposition.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools