ΣCalcSolver
Geometry & trigonometry

Rectangle, Square & Trapezoid Area Calculator

Enter a length and a width to get the area, perimeter and diagonal of a rectangle or square. Add a top side to also get the area of a trapezoid with the same height.

Rectangle area = 8 × 5 = 40
Perimeter = 2(8 + 5) = 26
Diagonal = √(8² + 5²) = 9.433981132
Trapezoid with bases 8 and 4, height 5
Area = ½(a + b)h = 30
Triangle with base 8 and height 5
Area = ½ × base × height = 20

Quick start

  1. Enter the length and the width (or height).
  2. For a trapezoid, also enter the shorter parallel side in the optional box.
  3. Read the area, perimeter and diagonal.

Formulas

ShapeAreaOther
Rectanglelength × widthPerimeter 2(l + w), diagonal √(l² + w²)
Squareside²Perimeter 4s, diagonal s√2
Trapezoid(a + b) ÷ 2 × ha and b are the parallel sides

Example: flooring a room

A room 4.5 m by 3.2 m has an area of 14.4 m². Flooring is usually bought with about 10% extra for cutting, so you would buy around 15.8 m². The perimeter, 15.4 m, tells you how much skirting board you need.

Trapezoid example

A garden bed has parallel sides of 6 m and 4 m and is 3 m deep. Its area is (6 + 4) ÷ 2 × 3 = 15 m². Averaging the two parallel sides turns it into a rectangle of the same area.

Keep units consistent

Use the same unit for every length. If one side is in metres and another in centimetres, convert first. The area comes out in square units, such as m² or ft².

Related calculators

  • Volume & Surface Area Calculator: volume and surface area of a sphere, cylinder, cone and cube from a radius or side and a height
  • Circle Calculator: diameter, circumference and area from the radius, plus arc length and sector area for an angle
  • Unit Converter: convert a value between metric and imperial units and see every unit in its group at once
  • Triangle Calculator: area, angles, perimeter, heights and type of a triangle from its three sides
  • Integral Calculator: exact antiderivatives of polynomials and the definite integral of any function between two limits

Common questions

What is the difference between area and perimeter?

Area is the space inside a shape. Perimeter is the distance around its edge.

How do I find the area of an L-shaped room?

Split it into two rectangles, find each area, and add them.

How do I convert m² to ft²?

Multiply by about 10.764, or use the Unit Converter.