Rectangle Area Calculator

Calculate the area and perimeter of a rectangle from its length and width. Area equals length times width; perimeter equals twice the sum of length and width.

Area50 m²
Perimeter
30 m

Area = length × width. Perimeter = 2 × (length + width). Both length and width must use the same unit; the area is in that unit squared.

What the Rectangle Area Calculator Does

This tool calculates the area and perimeter of any rectangle from two measurements: its length and its width. Enter both sides in the same unit (centimeters, inches, meters, feet, etc.), and the calculator returns the area in square units and the perimeter in linear units.

It is useful for anyone working with rectangular spaces or objects: students checking geometry homework, homeowners measuring a room for flooring or paint, gardeners planning a raised bed, and tradespeople estimating material for a wall, fence, or countertop. A square is just a special rectangle where length equals width, so the same calculator handles squares too.

How It Works: The Rectangle Area and Perimeter Formula

A rectangle has two pairs of equal, parallel sides that meet at right angles. Two simple formulas describe it:

  • Area = length x width
  • Perimeter = 2 x (length + width)

Why the Formulas Look That Way

Area measures the surface inside the rectangle. Because the shape is a grid of unit squares, multiplying the number of squares along the length by the number along the width gives the total count, which is why area comes out in square units (cm squared, in squared, m squared).

Perimeter is the distance all the way around the edge. A rectangle has two lengths and two widths, so you add one length and one width, then double the result. Note that area and perimeter are independent: two rectangles can share the same perimeter while enclosing very different areas.

Worked Example With Real Numbers

Suppose a room is 5 meters long and 3 meters wide.

Area = 5 x 3 = 15 square meters. Perimeter = 2 x (5 + 3) = 2 x 8 = 16 meters.

So you would need flooring to cover 15 square meters, and 16 meters of trim or skirting board to run along the walls. If your tile boxes each cover 1.5 square meters, you would need at least 15 / 1.5 = 10 boxes before allowing for cutting waste.

Tips and Common Mistakes

A few habits keep your results accurate and easy to use:

  • Use the same unit for both sides. Mixing feet and inches, or meters and centimeters, gives a wrong answer. Convert first (for example, 30 cm = 0.3 m).
  • Keep area and perimeter units straight: area is always in square units, perimeter in plain linear units.
  • Do not confuse the two. Buying paint or flooring depends on area; buying edging, fencing, or trim depends on perimeter.
  • For irregular rooms, split the floor into separate rectangles, calculate each area, then add them together.
  • Add a waste allowance for real projects. Many people add 5 to 10 percent extra material for cuts, breakage, and pattern matching.
  • Measure twice. A small error in length or width changes the area noticeably, since the two measurements are multiplied.

Frequently asked questions

How do I calculate the area of a rectangle?

Multiply the length by the width. For example, a rectangle 10 m long and 5 m wide has an area of 10 × 5 = 50 m².

What is the perimeter of a rectangle?

The perimeter is the total distance around the rectangle: 2 × (length + width). For a 10 m by 5 m rectangle that is 2 × 15 = 30 m.

What units does this calculator use?

It is unit-agnostic. Enter length and width in the same unit and the area is returned in that unit squared (for example, meters give square meters).

Can it handle decimals?

Yes. You can enter decimal values for length and width, and the area and perimeter will be computed accordingly.