Area & Perimeter Calculator with Shapes

Select a shape, enter its dimensions, and instantly see the calculated area and perimeter along with a scaled SVG drawing of the shape with labeled measurements. Supports rectangles, squares, circles, triangles, trapezoids, parallelograms, and ellipses.

Ad Space

How Area & Perimeter Calculator with Shapes Works

Calculate area and perimeter for rectangles, circles, triangles, trapezoids, parallelograms, and ellipses. See shapes drawn with dimensions. Enter your values into the form above and the calculator processes them instantly in your browser — no data is sent to any server.

Area and Perimeter Formulas for Common Shapes

Area measures the space inside a shape, while perimeter (or circumference for circles) measures the total length around the outside. These are two of the most fundamental measurements in geometry, used in construction, landscaping, interior design, manufacturing, and everyday problem-solving.

Rectangle

Area = length x width. Perimeter = 2(length + width). The diagonal can be found using the Pythagorean theorem: d = sqrt(length^2 + width^2). Rectangles are the most common shape in architecture and design.

Circle

Area = pi x radius^2. Circumference = 2 x pi x radius. Given the diameter, radius = diameter/2. Circles maximize the area enclosed for a given perimeter, which is why bubbles and planets tend toward spherical shapes.

Triangle

Area = 1/2 x base x height. Perimeter = sum of all three sides. For a right triangle, the hypotenuse can be found with the Pythagorean theorem. Heron's formula allows calculating area from three side lengths: Area = sqrt(s(s-a)(s-b)(s-c)) where s is the semi-perimeter.

Trapezoid

Area = 1/2 x (base1 + base2) x height. The perimeter is the sum of all four sides. Trapezoids appear in roof cross-sections, bridge supports, and table designs.

Area to Perimeter: Finding the Perimeter When You Know the Area

You can only turn an area into a perimeter when the shape is fixed by a single measurement. For a square, take the square root of the area to get one side, then multiply by four. For a circle, divide the area by pi, take the square root to get the radius, then multiply by two pi for the circumference. For a rectangle the area alone is not enough: a long, thin rectangle and a near-square one can share the same area but have very different perimeters, so you also need the length or the width. Once you have the side, radius or both dimensions, pick the shape above and the calculator gives the perimeter and draws it to scale. Khan Academy's area and perimeter lessons walk through more worked examples. Updated 2026-11-16.

Real-World Applications

Calculating area helps you determine how much paint covers a wall, how much carpet fills a room, how much soil fills a garden bed, or how much fabric covers a cushion. Perimeter calculations tell you how much fencing surrounds a yard, how much trim goes around a window, or how much edging borders a path. These formulas save time, money, and material.

Frequently Asked Questions

Can you find the perimeter from the area?

Yes for a square or a circle, because one measurement fixes the whole shape: square root of the area gives the side of a square, and the square root of area divided by pi gives the radius of a circle. For a rectangle you also need the length or the width, since many different rectangles share the same area.

How do I find the perimeter of a shape?

Add up the lengths of every side. For a rectangle that is twice the length plus twice the width; for a circle it is the circumference, two times pi times the radius. Pick the shape in the calculator above and enter its sides to get the perimeter instantly.

What shapes are supported?

Rectangle, square, circle, triangle, trapezoid, parallelogram, and ellipse. Each shape has its own set of dimension inputs.

How is the triangle area calculated?

Using the formula Area = 1/2 x base x height. For the perimeter, you need all three side lengths. If only base and height are given, the tool estimates using a right triangle.

What is the difference between area and perimeter?

Area measures the space inside a shape (in square units). Perimeter measures the total distance around the outside (in linear units).

Does the shape drawing scale with my inputs?

Yes. The SVG drawing adjusts proportionally as you change the dimensions, so you see a visual representation of your shape.

Can I calculate the diagonal of a rectangle?

Yes. The tool automatically shows the diagonal length using the Pythagorean theorem: d = sqrt(length^2 + width^2).

Is this tool accurate for real-world measurements?

Yes. The formulas are mathematically exact. Just make sure all your inputs use the same unit (e.g., all in meters or all in feet).