Home & DIY
Flooring, Carpet & Countertop Calculator
Work out how much flooring, carpet or countertop material you need — square feet with waste, boxes of flooring, square yards of carpet and the total cost.
How to use
- 1Enter the room (or counter) dimensions — add several rectangles for L-shapes, one per line as 'length width'.
- 2Enter the square feet per box and price per sq ft if you want boxes and cost.
How it's calculated
Area = Σ length × width. Order = area × (1 + waste). Boxes = order ÷ ft² per box. Carpet sq yd = ft² ÷ 9.
Frequently asked questions
How much waste should I allow?
About 10% for straight layouts, 15% for diagonal or herringbone patterns and rooms with many corners.
How is carpet sold?
In the US often by the square yard (9 sq ft), from rolls 12 or 15 ft wide — seams and roll width can add waste.
Should I include closets?
Yes, if they'll get the same floor. Measure each space as its own rectangle.
Why it takes multiple lines instead of one length and width
Most real rooms aren't single rectangles — there's a closet, a bump-out, an entryway alcove — so this tool lets you list as many 'length width' rectangles as you need, one per line, and sums their areas before applying waste. That's the practical way to handle an L-shaped bedroom or a kitchen with a pantry nook: measure each rectangular chunk separately and let the tool add them, rather than trying to force an irregular room into a single length-times-width calculation.
Boxes round up, and that's the point
Once the waste-adjusted order quantity is divided by square feet per box, the result is rounded up to a whole box with Math.ceil — you can't buy 10.6 boxes of flooring. That rounding compounds with the waste percentage, so a small room can end up needing a disproportionately large final box count relative to its size; it's often worth checking whether a slightly smaller or larger waste percentage changes the box count at all before finalizing an order, since you're always paying for a full box regardless of how much of it you use.
Worked example: Flooring, Carpet & Countertop Calculator
A main room measuring 14×12 ft plus a 6×4 ft closet totals 168 + 24 = 192 ft² of floor area. With 10% waste for cuts, that's 211.2 ft² to order. At 20 ft² per box, that rounds up to 11 boxes (220 ft² of material), and at $3 per square foot for the material ordered, the cost comes to 211.2 × $3 = $633.60 — priced on the order quantity including waste, not the raw 192 ft² of actual floor.
A blank price or box size hides that line, and waste starts at ten percent
Each line has to be a length and a width, both above zero, or that line is rejected with its line number. I can separate the two numbers with a space, a comma, or an x. Several lines are added together, which is how an L-shaped room is entered. The order quantity is the floor area plus the waste allowance, and that allowance opens at 10 percent. Boxes appear only when I enter a coverage per box above zero, and they round up. The cost line appears only when the price per square foot is above zero, so the default empty price does not show a zero-dollar total.
Related tools
- Square Footage & Area Calculator
Calculate the area of rooms, plots and surfaces — rectangles, circles, triangles and trapezoids — in square feet, square metres, square yards and acres, with material cost.
- Concrete Calculator (Slabs, Footings & Columns)
Calculate concrete for a slab, footing or round column in cubic yards and cubic metres — and how many 40, 60 or 80 lb bags you need.
- Mulch, Soil, Gravel & Sand Calculator
Calculate how many cubic yards (or bags) of mulch, topsoil, gravel or sand you need for an area and depth — plus the weight in tons.
- Paint Calculator
Estimate how much paint you need for a room's walls (and ceiling) in gallons or litres, allowing for doors, windows and the number of coats.
- Life Insurance Needs Calculator
Estimate how much life insurance cover you need with the DIME method — debts, income replacement, mortgage and education — minus savings and existing cover.
- Notice Period Calculator (UK Statutory Notice)
Work out your notice period and last working day — UK statutory minimum notice (one week per year of service, up to 12 weeks) or your contractual notice in weeks, months or days.