Area of Rectangle Calculator
Area
—
Perimeter
—
Diagonal
—
How the Area of a Rectangle Works
The area of a rectangle is the total space enclosed within its four sides, calculated by multiplying length by width. Rectangles are the most common geometric shape in everyday life — rooms, screens, paper, and land parcels are almost always rectangular. According to Wolfram MathWorld, a rectangle is formally defined as a quadrilateral with four right angles, making it a special case of a parallelogram.
This calculator computes three key properties: area (the surface enclosed), perimeter (the distance around the outside), and the diagonal (the straight-line distance from corner to corner). These measurements are essential in construction, real estate, interior design, and landscaping. If you need to calculate the area of a triangle or a trapezoid, those shapes use different formulas based on their geometry.
All measurements in this calculator are unit-agnostic — enter values in meters, feet, inches, centimeters, or any consistent unit. The area result will be in the corresponding squared units (e.g., square feet), perimeter in linear units, and the diagonal in the same linear unit as your inputs.
The Rectangle Area Formula
The three core rectangle formulas are straightforward and used universally in mathematics from elementary school through professional engineering:
- Area: A = L × W
- Perimeter: P = 2(L + W)
- Diagonal: d = √(L² + W²) — derived from the Pythagorean theorem
Worked example: A living room measures 15 feet long and 12 feet wide. The area is 15 × 12 = 180 square feet. The perimeter is 2(15 + 12) = 54 feet. The diagonal is √(225 + 144) = √369 ≈ 19.21 feet.
Key Terms You Should Know
- Area — the measure of the two-dimensional space inside a shape, expressed in square units (ft², m², in²).
- Perimeter — the total length of all sides of a shape, expressed in linear units.
- Diagonal — the line segment connecting two non-adjacent vertices (corners) of a polygon.
- Pythagorean theorem — the relationship a² + b² = c² for right triangles, used to derive the diagonal of a rectangle.
- Square footage — area measured in square feet, the standard unit for US real estate and construction.
Rectangle vs. Other Quadrilaterals
Understanding how rectangles compare to other four-sided shapes helps you choose the correct formula for your measurement needs.
| Shape | Sides | Angles | Area Formula |
|---|---|---|---|
| Rectangle | Opposite sides equal | All 90° | L × W |
| Square | All sides equal | All 90° | s² |
| Parallelogram | Opposite sides equal | Opposite angles equal | base × height |
| Trapezoid | One pair parallel | Varies | ½(a + b) × h |
| Rhombus | All sides equal | Opposite angles equal | ½ × d₁ × d₂ |
Practical Examples
Example 1 — Flooring a bedroom: A bedroom is 14 ft × 11 ft. Area = 154 sq ft. With 10% waste allowance for cuts, you need 169.4 sq ft of flooring. At $3.50/sq ft for laminate, the material cost is approximately $593. Use our flooring calculator for a more detailed estimate.
Example 2 — Fencing a garden: A garden plot is 25 m × 10 m. The perimeter is 2(25 + 10) = 70 m of fencing needed. The area is 250 m², which is 0.025 hectares. According to the UN Food and Agriculture Organization, a 250 m² garden can produce approximately 200-300 kg of vegetables annually.
Example 3 — TV screen size: A 55-inch TV has a 16:9 aspect ratio, meaning the screen is approximately 47.9 inches wide and 27.0 inches tall. The area is about 1,293 sq inches, and the diagonal is 55 inches — which is how TVs are marketed. Use the area of a square calculator if your shape has equal sides.
Tips for Accurate Rectangle Measurements
- Measure twice, calculate once: Always take at least two measurements of each dimension and average them. Walls and floors are rarely perfectly straight.
- Use consistent units: Do not mix feet and inches in the same calculation. Convert everything to one unit first — 10 ft 6 in = 10.5 ft or 126 inches.
- Account for waste: For material calculations (flooring, paint, tile), add 10-15% to the calculated area for cuts, waste, and pattern matching.
- Break complex shapes into rectangles: L-shaped rooms, T-shaped lots, and irregular spaces can be split into multiple rectangles. Calculate each area separately and add them together.
- Check with the diagonal: If a room measures 12 × 9 ft, the diagonal should be exactly 15 ft (a 3-4-5 right triangle scaled by 3). If your measured diagonal differs significantly, your room may not be perfectly rectangular.
Common Rectangle Dimensions and Areas
Here are reference areas for commonly encountered rectangular objects and spaces, based on standard industry dimensions:
| Item | Dimensions | Area |
|---|---|---|
| US Letter paper | 8.5 × 11 in | 93.5 sq in |
| A4 paper | 210 × 297 mm | 62,370 mm² (0.062 m²) |
| Single-car garage | 12 × 22 ft | 264 sq ft |
| Tennis court | 78 × 36 ft | 2,808 sq ft |
| Basketball court (NBA) | 94 × 50 ft | 4,700 sq ft |
Frequently Asked Questions
What is the formula for the area of a rectangle?
The area of a rectangle equals length multiplied by width (A = L × W). This formula is derived from the definition of area as the number of unit squares that fit inside a shape. For example, a rectangle 8 meters long and 5 meters wide has an area of 40 square meters. The formula works in any consistent unit system — meters, feet, inches, or centimeters.
How do you find the perimeter of a rectangle?
The perimeter of a rectangle is calculated as P = 2(L + W), which sums all four sides. For a 10 × 6 rectangle, the perimeter is 2(10 + 6) = 32 units. Perimeter is measured in linear units (meters, feet) and represents the total distance around the outside edge. This is useful for fencing, baseboards, and border calculations.
How is the diagonal of a rectangle calculated?
The diagonal of a rectangle is found using the Pythagorean theorem: d = √(L² + W²). For a 12 × 5 rectangle, the diagonal is √(144 + 25) = √169 = 13 units. The diagonal represents the longest straight-line distance inside the rectangle, useful for determining screen sizes, fitting furniture through doorways, or checking that a rectangular frame is square.
Is a square a special type of rectangle?
Yes, a square is a rectangle where all four sides are equal length. In Euclidean geometry, every square satisfies all the properties of a rectangle — four right angles and opposite sides equal — with the additional constraint that all sides are the same. Every rectangle formula works for squares by setting L = W. A 5 × 5 square has area 25, perimeter 20, and diagonal 5√2 ≈ 7.07.
How do I calculate the area of an irregular rectangle-like shape?
If a shape is not a perfect rectangle but has roughly rectangular proportions (like a room with one angled wall), divide it into smaller rectangles and triangles, calculate each area separately, and sum them. For L-shaped rooms, split into two rectangles. For rooms with one angled wall, calculate the rectangular portion and add the triangular area using A = ½ × base × height.
What is the difference between area and square footage?
Square footage is simply area measured in square feet, commonly used in US real estate and construction. A room measuring 12 feet by 10 feet has an area of 120 square feet (sq ft). To convert square meters to square feet, multiply by 10.764. According to the U.S. Census Bureau, the median new single-family home in 2023 was approximately 2,233 square feet, calculated by summing the rectangular areas of each room.