Saved

Press the star next to a tool's name to save it.

All my tools

Area and Perimeter Calculator

Choose a shape and enter its measurements, and this area and perimeter calculator gives both results for rectangles, squares, circles, triangles and trapezoids.

Restored your last values ·

Use the same unit for every measurement.

Area

–

Enter your measurements.

See full result

An area and perimeter calculator measures how much space a flat shape covers and how far it is around the edge. Choose a rectangle, square, circle, triangle or trapezoid, type in the measurements, and this area and perimeter calculator gives you both answers at once, along with the formula it used. It works in feet, inches, yards, miles, centimeters, meters or any other length unit, as long as all your numbers use the same one. Use it for homework, flooring, gardening, fencing, painting and other everyday projects.

What are area and perimeter?

Area is the measure of a region's size on a surface. You can think of it as the amount of paint needed to cover a shape. Perimeter is the length of the closed boundary around a shape, which is like the length of fence needed to go around a yard or garden. The perimeter of a circle has its own name, the circumference. Area is measured in square units, such as square feet, while perimeter is measured in ordinary length units, such as feet.

Area and perimeter formulas

ShapeAreaPerimeter
Rectanglelength × width2 × (length + width)
Squareside × side4 × side
Circleπ × radius²2 × π × radius
Triangle½ × base × heighta + b + c
Trapezoid½ × (a + b) × heightsum of all four sides

How to use the area and perimeter calculator

  1. Choose your shape.
  2. Enter the measurements in the boxes.
  3. Pick the unit that you measured in.
  4. Press Calculate to see the area and perimeter.

Worked examples

A rectangular room that is 12 feet long and 10 feet wide has an area of 120 square feet, and a perimeter of 44 feet. A square with sides of 6 meters has an area of 36 square meters and a perimeter of 24 meters. A circle with a radius of 5 inches has an area of about 78.54 square inches, and a circumference of about 31.42 inches. A triangle with sides of 3, 4 and 5 units has an area of 6 square units and a perimeter of 12. A trapezoid with parallel sides of 8 and 12 and a height of 5 has an area of 50.

Finding the area of a triangle

There are two common ways to do this. If you know the base and the height, multiply them together and divide by two. The height must be measured at a right angle to the base, and it isn't the same as a slanted side. If you know all three sides, you can use Heron's formula. First, work out the semiperimeter s, which is half of the sum of the sides. The area is then the square root of s × (s − a) × (s − b) × (s − c). Any two sides of a triangle must add up to more than the third, so the calculator will warn you if the sides that you enter can't form one.

Practical uses

  • Flooring and tiles: area tells you how much material you need.
  • Fencing and edging: perimeter tells you how much length to buy.
  • Painting: add up the area of each wall, then subtract the windows and doors.
  • Gardening: area helps you work out how much soil, seed or mulch to use.
  • Crafts and sewing: perimeter gives the amount of trim or binding.

Working with irregular shapes

Many real rooms and plots aren't simple shapes. Break an L-shaped room into two rectangles, work out the area of each, and then add them together. To find the perimeter, walk around the outside of the shape and add up each edge, leaving out the lines that you drew to divide it. For a rough curve, split it into several smaller sections.

Why units matter

All of your measurements must be in the same unit. If a room is 12 feet by 96 inches, convert it to 12 feet by 8 feet first. Be careful when you convert between square units, too. There are 12 inches in a foot, but 144 square inches in a square foot, because both dimensions are multiplied by 12.

From perimeter back to sides

Sometimes you know the perimeter and need the side length. A square's side is simply its perimeter divided by four. For a circle, divide the circumference by 2π to get the radius. A rectangle needs one more piece of information, because many different rectangles can share the same perimeter. A rectangle measuring 10 by 12 and one measuring 2 by 20 both have a perimeter of 44, but their areas are very different, at 120 and 40. For any given perimeter, the square version always encloses the most area, which is useful when you are planning a fenced garden.

Rounding your results

The calculator shows up to four decimal places, but real measurements are rarely that precise. Round to a sensible level for your job. When you are buying materials, round up and add a little extra for cuts and waste.

Common mistakes

  • Confusing area and perimeter. One covers the surface, and the other goes around it.
  • Using a slanted side as the height. The height is measured straight up.
  • Mixing up radius and diameter. The radius is half of the diameter.
  • Forgetting square units. Area is always in square units.

Plan a floor with the square footage calculator, find a missing side with the Pythagorean theorem calculator, and change units with the area converter.

What next

Use this often? Add Area and Per to your Home screen.

Frequently asked questions

How does the area and perimeter calculator work?

It applies the standard formula for the shape you choose and shows both the area and the perimeter.

What is the difference between area and perimeter?

Area is the space inside a shape, and perimeter is the distance around it.

How do I find the area of a triangle?

Multiply the base by the height and divide by two, or use Heron's formula with three sides.

What is the perimeter of a circle called?

It is called the circumference.

Can I use feet and inches together?

Convert them to one unit first, then enter the measurements.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Math Tools