UTILS.
Private by default
▱

Area & Perimeter Calculator

Calculate the area and perimeter of rectangles, triangles, circles and trapezoids.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →

About this tool

Shape Area Calculator gives the area and perimeter of four common shapes: rectangle, triangle, circle and trapezoid. Choose a shape, enter its dimensions and two tiles show the area and the perimeter, or the circumference for a circle. The fields change with the shape, and the starting values (a 4 by 3 rectangle, a 3-4-5 triangle) show the layout.

A rectangle needs width and height. A circle needs its radius and uses π for area (π × r²) and circumference (2 × π × r). A triangle needs all three side lengths: the area comes from Heron's formula and the three sides are first checked against the triangle inequality, so lengths that cannot close a triangle give an error rather than a number. A trapezoid takes the two parallel sides a and b, the two legs c and d, and the perpendicular height; the area is (a + b) ÷ 2 × height and the perimeter is a + b + c + d. The legs do not affect the area and are not checked against the height.

All dimensions must be non-negative numbers. Results are rounded to six decimals. The tool is unit-free, so use one unit for every field and read the area in that unit squared. Everything runs in your browser and nothing is uploaded.

Frequently asked questions

How is the triangle area found?
With Heron's formula. Half the perimeter s is computed first, and the area is the square root of s × (s − a) × (s − b) × (s − c). The tool only needs the three side lengths, no height.
What dimensions does the trapezoid need?
The two parallel sides a and b, the two legs c and d for the perimeter, and the perpendicular height between the parallel sides. The area uses only a, b and the height.
Which units are used?
None. Enter every length in the same unit, such as centimetres, and the area is in square units of that measurement and the perimeter in the plain unit.
Why do I get an error for a triangle?
Each side must be shorter than the sum of the other two. Lengths like 1, 2 and 10 cannot form a triangle, so the tool shows an error. Negative or empty fields are also rejected.

More tools