Rectangle Area and Perimeter Calculator

The area of a rectangle is length × width, the perimeter is 2(l + w) and the diagonal is √(l² + w²). For an 8 × 5 rectangle the area is 40, the perimeter is 26 and the diagonal is 9.434.

Last updated · By · Runs in your browser, nothing is uploaded

Result

Step-by-Step Solution

Enter your values above to see the full working.

What Is the Area of a Rectangle?

A rectangle is a four-sided shape with four right angles and two pairs of equal sides. Its area is the amount of flat surface it covers, found by multiplying its length by its width. Its perimeter is the total distance around the outside, and its diagonal is the straight line between opposite corners.

Rectangles are the most common shape in daily life: rooms, screens, sheets of paper, doors, fields and boxes. Knowing how to find the area is the foundation for buying flooring, paint or fencing, and the starting point for every other area formula.

Measurements for an 8 × 5 Rectangle

MeasurementFormulaValue
Areal × w40
Perimeter2(l + w)26
Diagonal√(l² + w²)9.4340

Rectangle Formulas

Area = l × w Perimeter = 2(l + w) Diagonal = √(l² + w²)
  • l is the length and w is the width, in the same unit.
  • Area is measured in square units (cm², m², ft²).
  • Perimeter and diagonal are measured in ordinary length units.
  • The diagonal formula is the Pythagorean theorem applied to the right triangle formed by two sides and the diagonal.

For a square, set l = w. To convert area units, use the area converter.

How Is It Calculated? Worked Examples

8 × 5

  1. Area: 8 × 5 = 40.
  2. Perimeter: 2(8 + 5) = 26.
  3. Diagonal: √(64 + 25) = √89 ≈ 9.434.

Flooring a Room

A room measures 4.5 m by 3.2 m. The area is 14.4 m², and with 10% extra for cutting waste you should buy 14.4 × 1.10 = 15.84 m² of flooring. The perimeter is 15.4 m, which is the length of skirting board needed before subtracting doorways.

Same Perimeter, Different Areas

RectanglePerimeterArea
12 × 12612
10 × 32630
8 × 52640
6.5 × 6.5 (square)2642.25

For a fixed perimeter, the square has the largest area. That is why a fixed length of fence encloses the most land when shaped as a square.

Screen Sizes

TVs are sold by their diagonal. A 55-inch 16:9 screen has a width of 55 × 16 ÷ √337 = 47.9 inches and a height of 27.0 inches, so the screen area is about 1,293 square inches.

Paper Sizes and Painting a Wall

An A4 sheet measures 210 mm × 297 mm, an area of 62,370 mm², with a length-to-width ratio of 1.414 (√2), which is why folding it in half gives an A5 sheet of the same shape. To paint a wall 5 m wide and 2.5 m tall with a 1.2 m × 1.0 m window, the area is 12.5 − 1.2 = 11.3 m².

Percentage Changes

Making both sides 10% longer increases the area by 1.1 × 1.1 = 1.21, which is 21%, not 20%.

How to Use This Rectangle Area Calculator

  1. Enter the length.
  2. Enter the width, in the same unit.
  3. Read the area, the perimeter and the diagonal.

Measure in one unit throughout. If the room is 4 m by 350 cm, convert to 4 m by 3.5 m first.

Where Rectangle Calculations Are Used

  • Home improvement: flooring, carpet, paint, tiles and wallpaper.
  • Gardening and farming: lawn seed, fertiliser, fencing and plot areas.
  • Construction and real estate: floor area and site coverage.
  • Design and printing: page sizes, posters and screens.
  • Packaging and logistics: box faces and pallet layouts.

Land and Area Units

Larger areas are quoted in different units: 1 m² = 10.764 ft², 1 hectare = 10,000 m² and 1 acre = 4,047 m². A field 50 m by 80 m covers 4,000 m², which is about 0.99 acre. The area converter handles these conversions.

The Golden Rectangle

A rectangle whose sides are in the ratio 1 : 1.618 is called a golden rectangle. If you remove a square from it, the remaining rectangle has exactly the same proportions, a self-similar property that artists and architects have used for centuries.

What Are the Most Common Mistakes With the Rectangle Area and Perimeter Calculator?

  • Mixing units. 4 m × 350 cm is not 1,400 of anything useful. Convert first.
  • Confusing area and perimeter. Area is in square units, perimeter in plain units.
  • Forgetting waste. Add 5–15% for cutting and pattern matching on flooring and tiles.
  • Treating irregular rooms as rectangles. Split L-shaped rooms into several rectangles.
  • Squaring a length incorrectly. A 2 m × 3 m room has an area of 6 m², not 36.
  • Using the diagonal for area. The diagonal does not give the area by itself.

Where Can You Verify These Formulas?

The definitions and formulas on this page follow standard references. Check them against these sources:

Built and maintained by S. Dilshan. Found a mistake? Email [email protected] with the page address.

Frequently Asked Questions

What is the formula for the area of a rectangle?

Area = length × width. For 8 × 5 it is 40 square units.

How do I find the perimeter of a rectangle?

Add the length and width and double it: P = 2(l + w). For 8 × 5 it is 26.

How do I find the diagonal of a rectangle?

Use the Pythagorean theorem: d = √(l² + w²). For 8 × 5 it is √89 ≈ 9.43.

Which rectangle has the largest area for a given perimeter?

A square. For a perimeter of 26, a 6.5 × 6.5 square has area 42.25, more than any other rectangle with that perimeter.

How much flooring should I buy?

Calculate the area and add about 10% for waste, more for diagonal or patterned layouts.

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

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