Formula and method
Area: A = L × W. Multiply the rectangle's length by its adjacent width. The two dimensions must be measured in the same linear unit.
Do not confuse area with perimeter. Perimeter is the distance around the boundary: P = 2(L + W). This page calculates area, not the amount of edging or skirting required.
Worked examples
Example 1 — rectangular room
Length = 8 m and width = 5 m.
Substitute: A = 8 m × 5 m = 40 m².
The room's rectangular floor area is 40 square metres. The boundary length would be 2 × (8 + 5) = 26 m, a different measurement.
Example 2 — convert before multiplying
A panel is 250 cm long and 400 cm wide. Convert both to metres: 250 cm = 2.5 m and 400 cm = 4 m.
A = 2.5 m × 4 m = 10 m². Keeping units consistent prevents a factor-of-10,000 error.
How to use this calculator
- Measure the two adjacent sides of the rectangular surface.
- Choose one unit and convert both measurements to that unit before entry.
- Enter a positive length and width, then select Calculate or edit either value for an automatic update.
- Read the result as square units: metres become m², centimetres become cm², and feet become ft².
- Keep the units and measurements with the result when sharing or citing it.
Assumptions and limitations
- The shape is treated as a flat rectangle with four right angles and opposite sides equal.
- The result is the geometric area from the two entered dimensions. It does not subtract cut-outs, columns, shafts or openings.
- For an L-shaped or irregular floor, split it into non-overlapping rectangles, calculate each area and add them; subtract holes or excluded regions separately.
- Measurement error, uneven walls, skirting, tile cuts, packaging sizes and installation wastage are not included.
- The calculator does not determine building-code compliance or certify a construction measurement.
Related concepts and calculators
Area measures a two-dimensional surface; volume measures three-dimensional space. Perimeter measures boundary length. Use the Area of a Circle Calculator for circular surfaces, the Area Converter for unit changes, or the Cuboid Volume Calculator for rectangular-prism volume.
Reference for students and teachers
OpenStax explains why rectangle area is length multiplied by width and demonstrates the formula with a worked example. See OpenStax — Contemporary Mathematics, Section 10.6: Area.
Worked examples are reproducible illustrations, not measurements of a real building. Record the input dimensions, units, formula and access date in formal work.
const $=id=>document.getElementById(id),out=$('out'),status=$('status');function gcd(x,y){x=Math.abs(Math.trunc(x));y=Math.abs(Math.trunc(y));while(y)[x,y]=[y,x%y];return x||1;}function calc(){try{let arr;const v=[8, 5];const z=v.map((_,i)=>{const e=$("v"+i);return e.type==="text"?e.value:Number(e.value)});let [a,b,c,d]=z; const raw=z.map((_,i)=>$("v"+i).value.trim());if(raw.some(x=>x===""))throw Error("Enter both length and width.");if(z.some(x=>typeof x==="number"&&!Number.isFinite(x)))throw Error("Enter finite numeric values.");if(a<=0||b<=0)throw Error("Length and width must be greater than zero.");const result=a*b;if((Array.isArray(result)?result:[result]).some(x=>!Number.isFinite(x)))throw Error("Result is outside the supported numeric range.");out.textContent=Array.isArray(result)?result.map(x=>Number(x.toFixed(8))).join(", "):new Intl.NumberFormat(undefined,{maximumFractionDigits:8}).format(result);status.textContent="Calculated locally in this browser.";}catch(e){out.textContent="—";status.textContent=e.message;}}$("go").addEventListener("click",calc);document.querySelectorAll("input").forEach(e=>e.addEventListener("input",calc));calc();})();