
Rectangle Diagonal Calculator
Use this rectangle diagonal calculator and diagonal of a rectangle calculator to find corner-to-corner length d = √(width² + height²) for geometry and framing.
Open toolEnter Width (w) and Height (h) into this rectangle area calculator to compute the two-dimensional surface area A = w * h in square units (ft^2, m^2, in^2, or cm^2) directly in your browser. Test the preloaded 4 x 3 = 12 baseline, size residential rooms and construction sheets, or evaluate dimensions from 10^-9 to 1,000,000,000 with 12-significant-digit precision.
Enter the inputs, then select Calculate result.
Result will appear here
Learning how to calculate the area of a rectangle comes down to counting how many unit squares fit inside its four 90-degree corners. If a rectangle has horizontal Width w and vertical Height h (also called length l and width w) measured in the same linear unit, dividing the sides into unit segments creates a grid of w columns by h rows. Multiplying those two perpendicular dimensions gives the total surface area A. When one side is unknown, you can derive it from the perimeter P = 2(w + h) via A = w(P - 2w) / 2, or from the corner diagonal d = sqrt(w^2 + h^2) via A = w * sqrt(d^2 - w^2).
Area = Width * Height (A = w * h) | From diagonal: A = w * sqrt(d^2 - w^2)
In client-side JavaScript (batch10-tools.js), the workspace evaluates show(n('w') * n('h')) directly in IEEE 754 double precision and formats the product up to 12 significant digits.
Use this reference table of standard building panels, paper sizes, residential rooms, and sports courts to compare width, height, area A = w * h, perimeter P = 2(w + h), and corner diagonal d = sqrt(w^2 + h^2) before using the area of a rectangle calculator.
| Rectangle Application / Standard | Width w | Height / Length h | Exact Area A = w * h | Perimeter P = 2(w + h) | Corner Diagonal d = sqrt(w^2 + h^2) |
|---|---|---|---|---|---|
| Preloaded Geometry Baseline | 4 units | 3 units | 12 sq units | 14 units | 5 units (3-4-5 triple) |
| US Letter Paper Sheet | 8.5 in | 11 in | 93.5 sq in | 39 in | 13.9014387745 in |
| ISO A4 Paper Sheet | 210 mm | 297 mm | 62,370 sq mm (0.06237 m^2) | 1,014 mm | 363.743041171 mm |
| Standard Plywood / Drywall Sheet | 4 ft | 8 ft | 32 sq ft | 24 ft | 8.94427191 ft (107.33 in) |
| Standard Interior Door Leaf | 2.5 ft (30 in) | 6.66666666667 ft (80 in) | 16.6666666667 sq ft (2,400 in^2) | 18.3333333333 ft | 7.1200031211 ft |
| Compact Home Office / Bedroom | 10 ft | 12 ft | 120 sq ft | 44 ft | 15.6204993518 ft |
| Primary Bedroom Floor | 14 ft | 16 ft | 224 sq ft | 60 ft | 21.2602916255 ft |
| Two-Car Residential Garage | 20 ft | 24 ft | 480 sq ft | 88 ft | 31.2409987036 ft |
| Tennis Court (Singles Play Area) | 27 ft | 78 ft | 2,106 sq ft | 210 ft | 82.5408989532 ft |
| Quarter-Acre Suburban Lot | 72.6 ft | 150 ft | 10,890 sq ft (0.25 acre) | 445.2 ft | 166.645611992 ft |
Follow these three steps to enter your width and height in a consistent linear unit and export the square-unit area.
Type the first perpendicular side into Width (#w, preloaded with 4). Accepts any positive number from 1e-09 to 1000000000.0.
Supply the adjacent 90-degree side in Height (#h, preloaded with 3) using the exact same measurement unit (ft, in, m, or cm) as Width.
Click Calculate result to generate the area in square units. Use Copy or Download to save the number for flooring quotes, drywall estimates, or geometry assignments.
These three practical scenarios demonstrate how to calculate the area of rectangle floors, construction sheets, and L-shaped rooms.
A homeowner measures a rectangular bedroom that is 12 ft 6 in (Width = 12.5 ft) by 14 feet (Height = 14 ft). Multiplying 12.5 * 14 returns an exact floor area of 175 square feet (ft^2). Adding a standard 10% cutting waste allowance (175 * 1.10) means ordering 192.5 sq ft of hardwood or laminate planks.

A standard North American drywall or plywood panel measures 4 feet wide by 8 feet high. Entering 4 and 8 produces 32 square feet per sheet. To cover a 320 sq ft wall, divide the total wall area by 32 to find that exactly 10 sheets are needed before openings.

An L-shaped open-plan room consists of a main 12 ft x 15 ft seating area joined to a 6 ft x 8 ft dining alcove. Run the calculator twice: first enter 12 and 15 to get 180 sq ft, then enter 6 and 8 to get 48 sq ft. Adding the two non-overlapping sub-rectangles (180 + 48) gives a total floor area of 228 sq ft.

The number returned by the calculator represents a two-dimensional surface area expressed in the squared unit of your input dimensions: feet (ft) produce square feet (ft^2), inches (in) produce square inches (in^2), and meters (m) produce square meters (m^2).
Square-unit conversion factors are squared: Because 1 foot = 12 inches, 1 square foot equals 12 * 12 = 144 square inches (not 12). Similarly, 1 square yard = 3 * 3 = 9 square feet, and 1 square meter = 100 * 100 = 10,000 square centimeters.
Scaling both sides scales area by k^2: If you double both the width and height of a patio (2w * 2h), the total area increases by a factor of 2^2 = 4 (quadruples), not 2.

Check these three geometric and unit requirements before applying your result to material orders:
Consistent linear units and 90-degree corners: Convert both measurements to the same unit before multiplying (for example, 10 ft 9 in = 10.75 ft), and confirm that adjacent walls meet at 90 degrees. This page computes the flat 2D area w * h of a single surface; for a 6-sided 3D box, use 2(lw + lh + wh) in the Rectangular Prism Surface Area Calculator.
Verify corner-to-corner diagonals in the Rectangle Diagonal Calculator, convert between ft^2, m^2, and acres in the Area Converter, compare costs in the Price Per Square Foot Calculator, estimate room materials in the Carpet Calculator and Drywall Calculator, or solve non-right multi-sided lots in the Polygon Area Calculator.


Use this rectangle diagonal calculator and diagonal of a rectangle calculator to find corner-to-corner length d = √(width² + height²) for geometry and framing.
Open tool
Use this rectangular prism surface area calculator to find total 6-face box area SA = 2(lw + lh + wh), lateral 4-wall area 2h(l + w), and missing edges.
Open tool
Multiply the input by the source unit factor and divide by the destination factor.
Open toolChoose another tool for your next calculation, conversion, or text task.

Find property price per supplied square foot of floor area.
Open tool
Calculate carpet needed in square feet, square yards, and square meters, linear roll length, and cost from room dimensions and waste %.
Open tool
Calculate drywall sheets (4x8, 4x10, 4x12), wall and ceiling square footage, joint mud, tape, and screws from room dimensions and openings.
Open tool
Calculate regular polygon area (pentagon, hexagon, octagon, n-gon) from side length, or irregular polygon area and centroid from (x, y) vertices using the Shoelace formula.
Open toolAnswers about using Rectangle Area Calculator and understanding its results.
Multiply the perpendicular width w by the height (or length) h expressed in the same linear unit: Area = w * h. For example, a rectangle with a width of 4 meters and a height of 3 meters has an area of 4 * 3 = 12 square meters (m^2). Because multiplication is commutative (w * h = h * w), swapping width and height produces the exact same area.
First use the Pythagorean theorem to find the missing perpendicular side from the diagonal d and known width w: h = sqrt(d^2 - w^2). Then multiply width by height: A = w * sqrt(d^2 - w^2). For instance, if a rectangle has width w = 3 and diagonal d = 5, the height is sqrt(5^2 - 3^2) = sqrt(16) = 4, giving an area of 3 * 4 = 12.
For an L-shaped or T-shaped room where every corner is 90 degrees, divide the floor plan into two or more non-overlapping rectangles, calculate w * h for each rectangle separately, and add the sub-areas together. If the four walls meet at non-right angles with four unequal sides, enter the vertex coordinates into our Polygon Area Calculator.
A 2D rectangle is a flat four-sided shape with a single surface of area A = w * h. A 3D rectangular prism (a box or shipping carton) has length l, width w, and height h forming six rectangular faces, so its total exterior surface area is 2(lw + lh + wh), which you can compute in the Rectangular Prism Surface Area Calculator.
If you entered Width and Height in inches, divide the resulting area in square inches (in^2) by 144 (12 * 12) to get square feet (ft^2). To convert square feet into square yards for carpet ordering, divide square feet by 9 (3 * 3), or paste your result directly into our Area Converter.
Choose another tool for your next calculation, conversion, or text task.