Skip to content

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

Shape

Feet and inches go in one box: 12' 6", 12 6, 12-6 or 12.5 all mean 12 ft 6 in.

Waste, cost and identical rooms (optional)

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”.

    A measuring aid, not an official appraisal: for a sale, loan or lease the appraiser’s or local rules have the final word.

    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.

    Feet and inches are not decimals. 12 ft 6 in is 12.5 ft, not 12.6 ft: divide the inches by 12. A bedroom of 12 ft 6 in × 11 ft 3 in is 12.5 × 11.25 = 140.63 ft² (13.06 m²). Typed as 12.6 × 11.3 it becomes 142.38 ft², almost two square feet of floor that does not exist. In the square footage calculator you enter feet and inches as you read them off the tape, so the conversion never happens in your head.

    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.

    1. 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.
    2. 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².
    3. 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.
    The same L-shaped room solved three ways: walking six walls, splitting into 120 and 48 square feet, and 192 minus a 24 square foot notch, each giving 168 square feet
    One L-shaped room, three methods, one answer: 168 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.

    s = (a + b + c) ÷ 2 · Area = √(s × (s − a) × (s − b) × (s − c))

    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.

    Four-sided room with walls of 15, 9, 13 and 11 feet split by a 16 foot diagonal into triangles of 66.33 and 70.99 square feet, total 137.33
    Four walls plus one diagonal pin down an out-of-square room.

    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.

    Two-storey house, exterior dimensions
    AreaSizeCategoryft²
    Ground floor40 × 28 ftabove grade1,120
    Upper floor40 × 28 ftabove grade1,120
    Foyer open to below12 × 14 ftsubtract−168
    Gross living area2,072
    Finished basementmeasuredbelow grade, separate600
    Attached garage24 × 24 ftexcluded576

    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

    ShapeWhat you measureArea
    Rectanglelength L, width WL × W
    L-shapeoverall L × W, missing corner a × bL × W − a × b
    Trianglebase b and height h½ × b × h
    Trianglethree sides a, b, cHeron: √(s(s − a)(s − b)(s − c))
    Circle, half circlediameter dπ × (d ÷ 2)², half of that
    Trapezoidparallel sides a, b, height h½ × (a + b) × h
    Ellipsehalf-axes a, bπ × a × b
    Ringouter radius R, inner radius rπ × (R² − r²)
    Border stripL, W, strip width wL × W − (L − 2w)(W − 2w)
    Any room by wallseach wall and its turnshoelace: ½ × |Σ(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²
    110.761009.29
    10107.64144 (12 × 12 room)13.38
    50538.2050046.45
    1001,076.391,00092.90

    Mistakes that skew the total

    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.

    Control cases the calculator must reproduce
    InputExpected result
    Rectangle 12 ft 6 in × 11 ft 3 in140.63 ft² = 13.06 m² = 15.63 yd²
    L 20 × 15 ft minus 8 × 5 ft, 1 ft border260 ft², border 66 ft²
    Walls E 12, N 10, W 4, N 6, W 8, S 16 ft168 ft², perimeter 56 ft, gap 0
    Sides 15, 9, 13, 11 ft, diagonal 16 ft137.33 ft²
    Triangle with sides 13, 14, 15 ft84 ft²
    Walls of a 12 × 14 ft room, 8 ft ceiling, 1 door, 2 windows, 2 coats, 350 ft²/galnet 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².

    Guides