Rectangle calculator — area and perimeter

Enter the two sides of a rectangle and the calculator gives the area and the perimeter at once. For a square, enter the same value twice.

Area of the rectangle
40.00
Perimeter26.00

A rectangle with sides 8 and 5 has an area of 40.00 and a perimeter of 26.00.

Formula

P, L=a · b, 2(a + b)

a and b are the side lengths. Area is the product of the sides; perimeter is twice their sum.

How we got there

8 · 5 = 40.00

Area is in square units and perimeter in ordinary ones — two different quantities from the same two numbers.

How to work out the area and perimeter by hand

  1. Multiply the sides for the area

    8 × 5 = 40 square units.

  2. Add the sides and double for the perimeter

    (8 + 5) × 2 = 26 units.

  3. For a square, enter the same side twice

    A square is a rectangle with equal sides, so the formulas are unchanged.

Geometry before a test? a lesson with a Mathema tutor

Frequently asked questions

Multiply its sides. For sides of 8 and 5 the area is 40.

Add both sides and multiply the total by two: (8 + 5) × 2 = 26.

Enter the same side in both fields — the area of a square is the side squared.

Unlock the Mathema lesson library

Leave your email and phone — we will take you through to the Mathema platform and open up the preparation library: problem sets, quizzes and lesson plans written by teachers.

We use your details only to set up the account and get in touch about a lesson. No spam.

Is geometry your weak spot?

Book a free introductory lesson with a Mathema tutor. 30 minutes online, no commitment — we find the gap and the plan to close it.