Carpet is sold off a roll of fixed width, so the amount you buy depends on the roll as well as the room. This carpet calculator works out the square yards to buy for a room from a 12 ft or 15 ft roll, then adds padding and installation to give an estimated total.
Carpet Calculator
How much carpet to buy for a room — square yards off a 12 ft or 15 ft roll — plus padding and total cost.
The starting values are a 15 × 12 ft room on a 12 ft roll with carpet at $30, pad at $5 and installation at $6 per square yard, which gives 20 yd² and $820.
How is the carpet needed calculated?
The calculator divides the shorter side of the room by the roll width and rounds up to whole strips. Each strip runs along the longer side.
Strips = ceiling(Shorter side ÷ Roll width)
Carpet bought = Strips × Roll width × Longer side
Total = Carpet × Carpet price + Room area × (Pad price + Installation)
Pad and installation are charged on the room area, while the carpet is charged on the larger area you buy. The calculator shows both in square yards, where 1 yd² is 9 ft².
Worked example: the starting values
Strips = ceiling(12 ÷ 12) = 1
Carpet = 1 × 12 × 15 = 180 ft² = 20 yd²
Total = 20 × 30 + 20 × (5 + 6) = 600 + 220 = $820
Worked examples for different rooms
Worked examples
A 13 × 10 room
On a 12 ft roll the shorter side is 10, so there is one strip of 12 × 13 = 156 ft², or 17.33 yd². The room is 130 ft², or 14.44 yd², so you buy 1.2 times the room. At the same prices the total is $678.89.
A 14 × 13 room on two rolls
The shorter side of 13 ft is wider than a 12 ft roll, so you need ceiling(13 ÷ 12) = 2 strips: 2 × 12 × 14 = 336 ft², or 37.33 yd², for a room of 182 ft². A 15 ft roll needs one strip of 15 × 14 = 210 ft², or 23.33 yd². The totals are $1,342.44 and $922.44, a difference of $420.
How does the room shape change the carpet you buy?
Carpet is cut from a roll of fixed width, so the amount you buy can be much larger than the room. The table uses the same prices as the starting example.
| Room and roll | Strips | Carpet bought | Room area | Total |
|---|---|---|---|---|
| 12 × 10 ft, 12 ft roll | 1 | 16.00 yd² | 13.33 yd² | $626.67 |
| 15 × 12 ft, 12 ft roll | 1 | 20.00 yd² | 20.00 yd² | $820.00 |
| 15 × 15 ft, 15 ft roll | 1 | 25.00 yd² | 25.00 yd² | $1,025.00 |
| 20 × 14 ft, 15 ft roll | 1 | 33.33 yd² | 31.11 yd² | $1,342.22 |
The 15 × 12 ft room is an exact fit on a 12 ft roll, so nothing is wasted. The 12 × 10 ft room has 2.67 yd² of carpet left over, but you pay for it because you must buy the full 12 ft width. Pad and installation are charged on the room area only.
What the calculator leaves out
It assumes each strip runs the full length of the longer side, so it does not plan seams, pattern matching or a nap direction. It does not include stairs, closets or an allowance for waste beyond the roll width. Measure irregular rooms as rectangles and calculate each one, then check the layout with your installer before you order.
Frequently asked questions
How do I calculate how much carpet I need?
Divide the shorter side by the roll width and round up to strips, then multiply by the roll width and the longer side. For 15 × 12 on a 12 ft roll that is 180 ft², or 20 yd².
Which roll width should I use?
12 and 15 ft are the usual widths. A 14 × 13 room needs 37.33 yd² on a 12 ft roll but 23.33 yd² on a 15 ft roll.
Why do I pay for carpet I do not use?
Carpet is sold off the roll at full width. A 12 × 10 ft room on a 12 ft roll needs 16.00 yd² for a 13.33 yd² room, so the extra 2.67 yd² is paid for.
Are pad and installation charged on the carpet I buy or on the room?
On the room area. The starting room is 20 yd², so pad and installation are 20 × ($5 + $6) = $220, and the carpet is 20 × $30 = $600.
How many square yards is a room?
Divide the area in square feet by 9. A 15 × 12 ft room has 180 ÷ 9 = 20 yd².




