Skip to content
RK Calculator
Menu

Rectangle Calculator

Enter any two of a rectangle's length, width, area, perimeter and diagonal to find the rest.

Change the values and press Calculate to work out your own figures.

Enter any two of the length, width, area, perimeter and diagonal.

About length (l)The longer side.
About width (w)The shorter side.
About area (a)In square units.
About perimeter (p)The distance around.
About diagonal (d)Corner to opposite corner.
About unitThe unit of every measurement; the answer is then also given in other units.
Result
Area of the rectangle
12
Perimeter
14
Diagonal
5

The area of the rectangle is 12.

Show the working
  1. From the length and width: length 3, width 4
  2. A = l w, P = 2(l + w), d = √(l² + w²)
  3. Area = 12

How to use it

Enter any two of the length, width, area, perimeter and diagonal.

Enter the measurements (decimals, fractions such as 3/4, or mixed numbers such as 1 1/2) and, if you like, their unit; the answer is then also given in other units. Show the working gives the formula.

Key facts

A = l w; P = 2(l + w); d = √(l² + w²)

From area and perimeter

l and w are the two roots of t² − (P/2)t + A = 0, so they exist only if (P/2)² ≥ 4A.

Questions

What is the diagonal of a 3 × 4 rectangle?

5.

Which rectangle has area 12 and perimeter 14?

4 × 3.

Formulas

A = l w; P = 2(l + w); d = √(l² + w²)

Sources

Limitations

  • All measurements in one calculation use the same unit; the answer is also given in other units.
  • Measurements up to 10¹⁵.

Formula version 0.1.0Reviewed