The math assumes a 20 × 20 ft rectangular room, 1 door (20 sq ft) and 2 windows (15 sq ft each) subtracted, paint covering 350 sq ft per gallon (the figure PaintCare’s Buy Right guide suggests when you do not know your paint’s rate), and typical 2026 prices ($45 a gallon, $20 a quart, $200 a 5-gallon bucket). The perimeter is 80 ft.
Paint for the walls by wall height
| Wall height | Gross wall sq ft | Paintable sq ft | Gallons, 1 coat | Cans, 1 coat | Gallons, 2 coats | Cans, 2 coats | Cost, 2 coats |
|---|---|---|---|---|---|---|---|
| 8 ft | 640 | 590 | 1.69 | 2 gallons | 3.37 | 3 gallons + 2 quarts | $175 |
| 9 ft | 720 | 670 | 1.91 | 2 gallons | 3.83 | 4 gallons | $180 |
| 10 ft | 800 | 750 | 2.14 | 2 gallons + 1 quart | 4.29 | 1 five-gallon bucket | $200 |
Worked example: 20 × 20 ft, 8 ft walls, 2 coats
| Step | Math | Result |
|---|---|---|
| Gross walls | 2 × (20 + 20) × 8 | 640 sq ft |
| Door | 1 × 20 | − 20 |
| Windows | 2 × 15 | − 30 |
| Paintable | 640 − 50 | 590 sq ft |
| Gallons (2 coats) | 590 × 2 ÷ 350 | 3.37 |
| Buy this | cheapest cans | 3 gallons + 2 quarts, $175 |
Next to a 18 × 20 room, it needs 0.18 gallons more for two coats at 8 ft. Leftover from the cheapest mix is about 0.13 gallon, which covers touch-ups.
How doors and windows change it (8 ft walls, 2 coats)
| Openings subtracted | Paintable sq ft | Gallons | Buy this | Cost |
|---|---|---|---|---|
| None (keep it simple) | 640 | 3.66 | 4 gallons | $180 |
| 1 door + 2 windows (used above) | 590 | 3.37 | 3 gallons + 2 quarts | $175 |
| 2 doors + 4 windows | 540 | 3.09 | 3 gallons + 1 quart | $155 |
Add the ceiling
The ceiling is 20 × 20 = 400 sq ft, bought as its own can because ceiling paint is usually flat white.
| Coats | Gallons | Buy this | Cost |
|---|---|---|---|
| 1 coat | 1.14 | 1 gallon + 1 quart | $65 |
| 2 coats | 2.29 | 2 gallons + 2 quarts | $130 |
Walls plus ceiling at two coats is about 5.66 gallons in total. See the ceiling paint chart for vaulted ceilings.
Primer
If the walls are new drywall, stained or going from dark to light, one coat of primer at 250 sq ft per gallon is 2.36 gallons: 3 gallons, about $90 at typical primer prices. See primer by room size.
Run your own numbers
Open this room in the paint calculator with the ceiling included, then change the doors, windows, height or prices.
Other room sizes
Next to this size: 18 × 20 room.
Back to the room paint chart. All sizes: 10×10 · 10×12 · 11×12 · 12×12 · 12×14 · 12×15 · 13×15 · 14×14 · 14×16 · 15×20 · 16×16 · 16×20 · 18×20.
Estimates only. Check your paint can’s label for coverage. Prices are typical 2026 US figures, so use your store’s.