Rectangle Calculator

Find the area, perimeter, and diagonal of a rectangle. Enter the length and width.

Area
sq units
Length times width.

Usage Tip

For a fixed perimeter, area is largest when the rectangle is closest to a square.

THE MATH
area = length × width
diagonal = √(length² + width²)
A rectangle has four right angles; opposite sides are equal.
The diagonal splits it into two right triangles, so the Pythagorean theorem gives its length.
Area is length times width; perimeter is twice their sum.
The diagonal connects opposite corners.
A rectangle with equal sides is a square.
Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.