Rectangle Calculator
Calculate area, perimeter, and diagonal of any rectangle from length and width. Results update instantly.
Enter length and width to see the result.
Advertisement
Rectangle Formulas
Three key measurements can be derived from any rectangle given its length (l) and width (w).
Area = l × w
Perimeter = 2 × (l + w)
Diagonal = √(l² + w²)
Rectangles as Building Blocks
The rectangle is the most fundamental shape in applied geometry. Its right angles and parallel sides make it predictable, stackable, and easy to measure. Most man-made structures are based on rectangular grids: rooms, buildings, cities, and circuit boards all rely on rectangular organisation.
More complex shapes can often be decomposed into rectangles for area calculations. An L-shaped room, for instance, is computed by splitting it into two rectangles and summing their areas. This decomposition principle — breaking complex shapes into simple rectangular components — underlies much of practical geometry and numerical integration (Riemann sums).
The aspect ratio (l/w) of a rectangle conveys important information without needing to know the actual dimensions. Screens, films, and photography use standardised aspect ratios: 4:3 for classic TV, 16:9 for widescreen, 3:2 for digital cameras. The aspect ratio determines how an image will appear when displayed or printed.