Skip to content
FiftyCalc Free calculators for all 50 states

Rectangle Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

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

Result

Sample figures

Area (square units)—

Perimeter (length units) —

  • Diagonal (length units)—
  • Angle between the diagonal and the length (degrees)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Rectangle Calculator

Length (any length unit): enter 0 or more. Prefilled example: 8.

Width (same unit): enter 0 or more. Prefilled example: 6.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Length (any length unit): enter 0 or more.
  2. Width (same unit): enter 0 or more.
  3. Read the result: Area (square units); the panel also shows Perimeter (length units), Diagonal (length units) and Angle between the diagonal and the length (degrees).

How this calculator works

Area = length × width. Perimeter = 2 × (length + width). The diagonal follows from the Pythagorean theorem: d = √(l² + w²).

The diagonal makes an angle of arctan(w ÷ l) with the length side.

The formula

  1. A=l×w
Symbols used in the formula
SymbolMeaningUnit
lLengthany length unit
wWidthsame unit
AAreasquare units

Worked example

Length (any length unit)8
Width (same unit)6
Perimeter (length units)28
Diagonal (length units)10
Angle between the diagonal and the length (degrees)36.8699
  1. A=8×6=48

Area (square units) 48

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is the diagonal of an 8 by 6 rectangle?

√(8² + 6²) = √100 = 10. Its area is 48 and its perimeter 28.

Is a square a rectangle?

Yes: a square is a rectangle whose length and width are equal.

Questions answered

Related calculators