Rectangle Calculator

Enter a rectangle length and width to get its area, perimeter and diagonal.

A length greater than 0, like 8.

A width greater than 0, like 5.

Try

Result

You entered2.5×42.5 \times 4

10\displaystyle 10

Perimeter

13\displaystyle 13

Diagonal

892≈4.716991\displaystyle \frac{\sqrt{89}}{2} \approx 4.716991
Show the work
  1. Area of a rectangle

    The area counts the unit squares that fit inside, which is the length times the width. Here l=2.5l = 2.5 and w=4w = 4.

    A=lw=(2.5)×4=10\begin{aligned} A &= lw \\ &= \left(2.5\right) \times 4 \\ &= 10 \end{aligned}
  2. Perimeter of a rectangle

    The perimeter is the distance round the edge: two lengths and two widths, so add ll and ww and double the total. Here l=2.5l = 2.5 and w=4w = 4.

    P=2(l+w)=2×(2.5+4)=2×6.5=13\begin{aligned} P &= 2(l + w) \\ &= 2 \times \left(2.5 + 4\right) \\ &= 2 \times 6.5 \\ &= 13 \end{aligned}
  3. Pythagorean theorem

    The diagonal dd cuts the rectangle into two right triangles in which it is the hypotenuse, so the square of dd is the sum of the squares of the two sides. Here l=2.5l = 2.5 and w=4w = 4.

    d=l2+w2=(2.5)2+42=6.25+16=894=892≈4.716991\begin{aligned} d &= \sqrt{l^2 + w^2} \\ &= \sqrt{\left(2.5\right)^2 + 4^2} \\ &= \sqrt{6.25 + 16} \\ &= \sqrt{\frac{89}{4}} \\ &= \frac{\sqrt{89}}{2} \approx 4.716991 \end{aligned}
  4. Result

    So the area is 1010 square units, the perimeter is 1313 units and the diagonal is 892≈4.716991\frac{\sqrt{89}}{2} \approx 4.716991 units.

Worked examples