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 entered0.5×130.5 \times \frac{1}{3}

16\displaystyle \frac{1}{6}

Perimeter

53\displaystyle \frac{5}{3}

Diagonal

136≈0.600925\displaystyle \frac{\sqrt{13}}{6} \approx 0.600925
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=0.5l = 0.5 and w=13w = \frac{1}{3}.

    A=lw=(0.5)×(13)=16\begin{aligned} A &= lw \\ &= \left(0.5\right) \times \left(\frac{1}{3}\right) \\ &= \frac{1}{6} \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=0.5l = 0.5 and w=13w = \frac{1}{3}.

    P=2(l+w)=2×(0.5+13)=2×56=53\begin{aligned} P &= 2(l + w) \\ &= 2 \times \left(0.5 + \frac{1}{3}\right) \\ &= 2 \times \frac{5}{6} \\ &= \frac{5}{3} \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=0.5l = 0.5 and w=13w = \frac{1}{3}.

    d=l2+w2=(0.5)2+(13)2=0.25+19=1336=136≈0.600925\begin{aligned} d &= \sqrt{l^2 + w^2} \\ &= \sqrt{\left(0.5\right)^2 + \left(\frac{1}{3}\right)^2} \\ &= \sqrt{0.25 + \frac{1}{9}} \\ &= \sqrt{\frac{13}{36}} \\ &= \frac{\sqrt{13}}{6} \approx 0.600925 \end{aligned}
  4. Result

    So the area is 16\frac{1}{6} square units, the perimeter is 53\frac{5}{3} units and the diagonal is 136≈0.600925\frac{\sqrt{13}}{6} \approx 0.600925 units.

Worked examples