Square Footage Calculator for Rooms of Any Shape
Most rooms are not perfect rectangles, so a square footage calculator that only multiplies length by width quietly gets the floor wrong. Walk the walls of an L, T or angled room, settle an out-of-square room with one diagonal, sort a house into living area, basement and garage, or turn walls into paintable square feet, in feet and inches or metres.
Square footage calculator
Measure the full outside box, then the missing corner (the notch). The drawing shows which is which.
Feet and inches go in one box: 12' 6", 12 6, 12-6 or 12.5 all mean 12 ft 6 in.
Walk around the room: type each wall as you go and which way you turn at its end. The plan draws itself and closes back to the start.
Square corners are 90°. A 45° bay wall: turn by 45. The last wall may be skipped — the dashed line closes the outline and shows how long it is.
For a room that is not quite square: measure the four walls in order around the room and one diagonal from corner A to corner C.
Door and window sizes are typical defaults — measure yours. Labels usually say 250–400 ft² per gallon (about 6–10 m² per litre); rough or porous walls take more.
Waste, cost and identical rooms (optional)
How it was calculated
Areas list — whole house
Add rooms or floors one by one. The US method (ANSI Z765) counts finished space above ground as the main number, puts a finished basement on its own line and leaves out garages, porches and unfinished space. A two-storey foyer: add the hole on the upper floor as “subtract”.
- Finished above grade (GLA)
- Finished below grade — separate line
- Not counted (garage, porch, unfinished)
- Everything on the list (for flooring)
A measuring aid, not an official appraisal: for a sale, loan or lease the appraiser’s or local rules have the final word.
Recent results
Measuring a room so the number holds up
Run the tape or laser from wall to wall at floor level, wall surface to wall surface, and write each reading in feet and inches as you take it. I always measure both long walls and both short walls, because rooms are rarely square: if opposite walls differ by more than an inch or so, a plain length × width is already guessing, and the diagonal or the walls method below gives you the true floor.
Decide what belongs in the room before you measure. Closets, the floor of a bay-window bump-out and the opening of each doorway get flooring, so they go in. Fixed cabinets, a kitchen island or a built-in tub do not, so they come out as subtractions. Furniture never matters; the floor under the sofa still needs covering.
Odd rooms in a square footage calculator: split, subtract or walk the walls
An L-shaped living room that measures 12 ft across the bottom and 16 ft up the long side, with a 4 × 6 ft corner missing, can be solved three ways, and all three must agree. If they don't, one of your measurements is wrong.
- Split into rectangles. Cut the L into a 12 × 10 ft block and an 8 × 6 ft block: 120 + 48 = 168 ft². Make sure the pieces do not overlap; counting the corner square twice is the classic L-shape error.
- Big rectangle minus the notch. Treat it as a 12 × 16 ft rectangle and subtract the missing 4 × 6 ft corner: 192 − 24 = 168 ft².
- Walk the walls. Start in a corner and record each wall with the turn after it: east 12, north 10, west 4, north 6, west 8, south 16. Those six walls close back on the start, enclose 168 ft² and give a perimeter of 56 ft.
Walking the walls is the method I trust for anything with more than one jog. Each wall moves you from one corner to the next, so every corner gets a position on an imaginary grid. Multiply each corner's across-position by the next corner's up-position, subtract the reverse product, add those up all the way round and halve the total: that is the shoelace formula, and it returns the enclosed area of any outline, whether it has a single jog like the L above or the six corners of a U. The square footage calculator draws the plan as you type the walls, so you see a wrong turn immediately.
The outline must close. If you measure a plain rectangular room as 12, 10, 12 and 9 ft 9 in, the last wall stops 3 inches short of the start. That closure gap is your measuring error made visible: re-measure the wall that disagrees with its opposite partner instead of trusting the area. Metric rooms work the same way: 6.5 × 4.8 m minus a 2.4 × 1.8 m corner is 31.20 − 4.32 = 26.88 m², or 289.33 ft². The irregular room guide covers T and U rooms, angled walls, bay windows and curved walls.
Out-of-square rooms and the one diagonal that settles them
Old houses are full of rooms whose walls read 15, 9, 13 and 11 ft. Averaging opposite walls gives 14 × 10 = 140 ft², and that is wrong, because the corners are not 90°. The cure is one more measurement: a diagonal from corner to corner, here 16 ft. It cuts the room into two triangles whose three sides you now know, and Heron's formula gives each area exactly.
Triangle one has sides 15, 9 and 16 ft: s = 20, area = √(20 × 5 × 11 × 4) = √4,400 = 66.33 ft². Triangle two has sides 13, 11 and 16 ft: s = 20, area = √(20 × 7 × 9 × 4) = √5,040 = 70.99 ft². The room is 137.33 ft², nearly 3 ft² less than the averaged guess. A diagonal longer than the two walls beside it added together cannot exist, and the calculator rejects it rather than printing a number.
Square footage of a house: what counts
A house is measured differently from a room. The US method, ANSI Z765, measures from the outside face of the exterior walls, cladding included, to the nearest inch, splits the footprint into rectangles and reports the total to the whole square foot (Home Innovation Research Labs). That is why the number you get by adding up rooms from the inside is always smaller than the listing.
- Above-grade finished area is the headline figure, the gross living area (GLA).
- A finished basement goes on its own below-grade line and is never added to the GLA.
- Excluded: garages even when finished, unfinished space, unheated porches and detached structures.
- Stairs count once, on the level they descend from; a two-storey foyer's open-to-below space is not counted upstairs.
- Ceilings must be at least 7 ft (6 ft 4 in under beams and ducts); in a sloped room at least half the floor needs 7 ft, and floor under 5 ft is not counted (Opendoor's summary).
| Area | Size | Category | ft² |
|---|---|---|---|
| Ground floor | 40 × 28 ft | above grade | 1,120 |
| Upper floor | 40 × 28 ft | above grade | 1,120 |
| Foyer open to below | 12 × 14 ft | subtract | −168 |
| Gross living area | 2,072 | ||
| Finished basement | measured | below grade, separate | 600 |
| Attached garage | 24 × 24 ft | excluded | 576 |
The calculator's house sheet sorts each area into these categories and keeps the totals apart. Fannie Mae has its appraisers report this way (Valuation Review), but for a sale, appraisal or lease the lender's appraiser or local rules have the final word; the tool is a measuring aid, not an official appraisal. More in the house square footage guide.
Wall square footage for paint
Walls are perimeter × ceiling height, minus the openings. A 12 × 14 ft bedroom with an 8 ft ceiling has a 52 ft perimeter, so 52 × 8 = 416 ft² of wall. Take off one door (3 ft × 6 ft 8 in, 20 ft²) and two windows (3 × 4 ft, 12 ft² each, 24 ft²) and you have 372 ft² to paint. Two coats make 744 ft²; at 350 ft² per gallon that is 2.13 gallons, so buy 2 gallons and 1 quart.
Use the coverage printed on your can. Sherwin-Williams puts a gallon at roughly 250–400 ft² depending on product and surface (paint FAQ); on textured plaster or bare drywall I plan from the low end. The door and window sizes above are typical defaults, not standards, so measure yours. Gable walls, ceilings and trim are in the wall painting guide.
Shapes and the formulas behind them
| Shape | What you measure | Area |
|---|---|---|
| Rectangle | length L, width W | L × W |
| L-shape | overall L × W, missing corner a × b | L × W − a × b |
| Triangle | base b and height h | ½ × b × h |
| Triangle | three sides a, b, c | Heron: √(s(s − a)(s − b)(s − c)) |
| Circle, half circle | diameter d | π × (d ÷ 2)², half of that |
| Trapezoid | parallel sides a, b, height h | ½ × (a + b) × h |
| Ellipse | half-axes a, b | π × a × b |
| Ring | outer radius R, inner radius r | π × (R² − r²) |
| Border strip | L, W, strip width w | L × W − (L − 2w)(W − 2w) |
| Any room by walls | each wall and its turn | shoelace: ½ × |Σ(xᵢyᵢ₊₁ − xᵢ₊₁yᵢ)| |
Square feet, square metres and square yards
One foot is exactly 0.3048 m (NIST), so 1 m² = 10.7639 ft² and 1 ft² = 0.09290304 m²; a square yard is 9 ft². Converting with a rounded 10.76 drifts on large areas: 500 m² × 10.76 = 5,380 ft², while the exact answer is 5,381.96 ft². When you measure in metres, the calculator shows square metres first and square feet second.
| m² | ft² | ft² | m² |
|---|---|---|---|
| 1 | 10.76 | 100 | 9.29 |
| 10 | 107.64 | 144 (12 × 12 room) | 13.38 |
| 50 | 538.20 | 500 | 46.45 |
| 100 | 1,076.39 | 1,000 | 92.90 |
Mistakes that skew the total
- Measuring a house inside the walls and comparing it with a listing measured outside: the inside figure is always a few percent smaller.
- Adding a finished basement or a converted garage into the main square footage.
- Counting a two-storey foyer's open space on the upper floor, or the stairs on both floors.
- Treating an out-of-square room as a rectangle from one length and one width.
- Writing 12 ft 6 in as 12.6 ft.
- Splitting an L into overlapping pieces and counting the corner twice.
- Forgetting closets and bump-outs that get flooring, or leaving in islands and tubs that don't.
- Painting: skipping the door and window subtraction, forgetting the second coat, or trusting smooth-wall coverage on texture.
The geometry inside, and the rooms I test it against
Feet and inches become decimal feet (inches ÷ 12) before any multiplication, and every metric factor is derived from 0.3048, so centimetres and millimetres convert without truncation. Walls are turned into corner coordinates and measured with the shoelace formula; four sides plus a diagonal use Heron's formula twice. Results are shown to two decimals, house totals to the whole square foot as ANSI asks, and paint is rounded up to the next quarter gallon. Negative sizes, a notch bigger than its room and impossible triangles are refused, not quietly computed. Curved walls are approximated with circle pieces, so treat those results as close, not exact. Everything runs in your browser; nothing you type is sent anywhere.
| Input | Expected result |
|---|---|
| Rectangle 12 ft 6 in × 11 ft 3 in | 140.63 ft² = 13.06 m² = 15.63 yd² |
| L 20 × 15 ft minus 8 × 5 ft, 1 ft border | 260 ft², border 66 ft² |
| Walls E 12, N 10, W 4, N 6, W 8, S 16 ft | 168 ft², perimeter 56 ft, gap 0 |
| Sides 15, 9, 13, 11 ft, diagonal 16 ft | 137.33 ft² |
| Triangle with sides 13, 14, 15 ft | 84 ft² |
| Walls of a 12 × 14 ft room, 8 ft ceiling, 1 door, 2 windows, 2 coats, 350 ft²/gal | net 372 ft², 2.13 gal, buy 2 gal + 1 qt |
Quick answers
How many square feet is a 12 by 12 room?
12 × 12 = 144 ft², which is 13.38 m² or 16 yd². For flooring, add the waste allowance your installer recommends on top of that.
Do you measure square footage inside or outside the walls?
For a room you are flooring or painting, measure inside, wall to wall. A house's listed square footage under ANSI Z765 is measured from the outside faces of the exterior walls, so it is always larger than the sum of the rooms.
Does a garage or basement count in square footage?
Under ANSI Z765 a garage never counts toward finished living area, even when it is finished. A finished basement is reported on its own below-grade line rather than added to the above-grade total.
Do stairs and closets count in square footage?
Closets count: they are finished floor inside the room and they get flooring. Stairs are counted once, on the level they descend from, never on both floors.
How do you calculate square footage with feet and inches?
Turn the inches into a fraction of a foot by dividing by 12, then multiply. 12 ft 6 in × 11 ft 3 in is 12.5 × 11.25 = 140.63 ft².
How many square feet are in a square meter?
One square metre is 10.7639 ft², because a foot is exactly 0.3048 m. One square foot is 0.0929 m².