Rectangle Calculator

Calculate a rectangle’s area, perimeter, diagonal and aspect ratio from its length and width.

100% FreeNo sign-upPrivate — runs in your browser
—

Result

Area
—
Perimeter
—
Diagonal
—
Aspect ratio
—
Shape
—

Copied to clipboard

How to use this tool

1
Enter the length

Use any unit.

2
Enter the width

Use the same unit as the length.

3
Read area and perimeter

The basic measures.

4
Read diagonal and aspect ratio

Useful for screens, frames and layouts.

Formula & worked example

Area = L × W; perimeter = 2(L + W); diagonal = √(L² + W²).

A 3 × 4 rectangle has area 12, perimeter 14 and diagonal 5.

Limitations — read this before you rely on it

Rectangles only; it does not handle parallelograms or irregular quadrilaterals.

Frequently asked questions

Diagonal = √(length² + width²), by Pythagoras’ theorem.

When length equals width.

Length divided by width, shown as a ratio to 1.

Area is square units, perimeter and diagonal are plain units, matching your input.

No — convert both to the same unit first.