Paint Calculator
Gallons or liters for walls, ceilings and trim
Work out how much paint to buy for up to four rooms. Enter wall sizes, doors, windows, coats and the coverage on your can to get wall, ceiling, trim and primer amounts rounded to quarts or half liters.
GeometryUpdated October 21, 2026Checked against 5 reference values
Use the figure on your can
Floor length times width, same number of coats
A band around the room, taken off the wall area
Covers every surface you are painting
Wall paint to buy
2 gal + 2 qt
366 ft² of wall × 2 coats + 10% extra = 2.3 gal needed.
- Total to buy
- 2.5 gal
- Rounded up to whole quarts
| Room | Gross wall (ft²) | Openings and trim (ft²) | Net wall (ft²) | Ceiling (ft²) |
|---|---|---|---|---|
| Room 1 | 416 | 50 | 366 | Not painted |
From tape measure to cans of paint
This calculator turns room measurements into the amount of paint to buy. Enter the length, width and wall height of up to four rooms, the number of doors and windows, how many coats you plan, and the coverage printed on the can. It works out the paintable wall area, adds ceilings, baseboard trim and a primer coat if you tick them, and rounds each product up to what you can actually buy: whole quarts in the US, half liters in metric.
Wall paint, ceiling paint, trim enamel and primer are usually different products, so each is estimated and rounded separately. The diagram unfolds each room’s four walls into one strip so you can check that the dimensions you typed look right.
How the area and volume are worked out
wall area = 2 × (L + W) × H − doors × door area − windows × window area − other
paint = area × coats × (1 + extra ÷ 100) ÷ coverage
L and W are the floor length and width, and H is the wall height, so 2 × (L + W) is the distance around the room. Door and window areas default to 20 square feet (a 36 by 80 inch door) and 15 square feet (a 3 by 5 foot window), or 1.9 m² and 1.4 m² in metric; change them to match your openings. Coverage is the spread rate per coat from the can label, in square feet per US gallon or square meters per liter. The extra percentage allows for rollers, trays, touch-ups and rough surfaces.
Ceilings use the floor area, L × W, with the same number of coats. Trim is treated as a band of the height you choose running around the room, and that band comes off the wall area. Primer is one coat over everything being painted, at its own coverage rate. A spread rate of 350 ft² per gallon is about 8.6 m² per liter.
Worked examples
A 12 by 14 foot bedroom
With 8 foot walls the room has 2 × (12 + 14) × 8 = 416 ft² of wall. Taking off one door and two windows leaves 366 ft². Two coats at 350 ft² per gallon with 10% extra need 2.3 gallons, so you would buy 2 gal + 2 qt. One coat would need 1.15 gallons (1 gal + 1 qt).
Adding the ceiling and a primer coat
The ceiling is 12 × 14 = 168 ft²; two coats need 1 gal + 1 qt. One coat of primer at 300 ft² per gallon over walls and ceiling (534 ft²) needs 1.96 gallons, so 2 gal.
A metric room
A 4 m by 3.5 m room with 2.4 m walls has 36 m² of wall, or 32.7 m² after one door and one window. At 10 m² per liter, two coats with 10% extra need 7.19 liters, rounded up to 7.5 L.
Wall paint for common room sizes
Gallons of wall paint for two coats at 350 ft² per gallon with 10% extra, one door and two windows per room. Ceilings are not included. Every figure comes from the calculator’s engine.
| Room | Wall area, 8 ft walls | Buy, 8 ft walls | Wall area, 9 ft walls | Buy, 9 ft walls |
|---|---|---|---|---|
| 10 × 10 ft | 270 ft² | 1 gal + 3 qt | 310 ft² | 2 gal |
| 10 × 12 ft | 302 ft² | 2 gal | 346 ft² | 2 gal + 1 qt |
| 12 × 12 ft | 334 ft² | 2 gal + 1 qt | 382 ft² | 2 gal + 2 qt |
| 12 × 14 ft | 366 ft² | 2 gal + 2 qt | 418 ft² | 2 gal + 3 qt |
| 14 × 16 ft | 430 ft² | 2 gal + 3 qt | 490 ft² | 3 gal + 1 qt |
| 16 × 20 ft | 526 ft² | 3 gal + 2 qt | 598 ft² | 4 gal |
Coverage, coats and primer
The coverage on a label assumes a smooth, sealed surface and the recommended film thickness. Textured walls, bare drywall, fresh plaster and patched areas soak up more paint, so the real spread rate is lower; raise the extra percentage or lower the coverage for those surfaces. Many wall paints list a range on the can, and using the low end of the range gives a safer estimate.
Two coats is the usual plan for an even finish, especially when changing color. Primer seals porous surfaces and blocks stains so the finish coats cover as stated. Paint and primer manufacturers publish the spread rate and recommended number of coats on each product’s data sheet, and those figures should take priority over the defaults here.
What the estimate leaves out
- Room shape. The wall formula assumes a rectangular room with a flat ceiling. For a vaulted ceiling, gable wall or stairwell, measure those surfaces separately and enter them as an extra room, or add their area by hand.
- Openings. Doors and windows are subtracted at the sizes you set. Large patio doors, archways and built-in shelving should go in the other unpainted box.
- Door and window trim. The trim option covers baseboards only. Casings, crown molding and doors themselves need their own estimate.
- Batch color. Tinted paint can vary slightly between mixes, so buying the full amount at once, and mixing cans together before you start, avoids a visible change partway along a wall.
Paint Calculator: common questions
How many gallons of paint do I need for a 12 by 14 room?
With 8 foot walls, one door and two windows, the walls are 366 square feet after openings. Two coats at 350 square feet per gallon plus 10% extra need about 2.3 gallons, so you would buy 2 gallons and 2 quarts. Ceilings are extra.
How much area should I subtract for doors and windows?
A standard 36 by 80 inch door is 20 square feet and a 3 by 5 foot window is 15 square feet, which are the defaults here. Measure larger openings such as patio doors and enter their actual area so you do not overbuy.
Should I use one coat or two?
Two coats is the usual plan for an even color, and it is the default. One coat can be enough when repainting the same color over a sound surface, but check the recommendation on the product's label.
Do I need primer?
Primer is generally recommended for bare drywall, new plaster, patched areas, stains and big color changes. Tick the primer box and the calculator adds one coat over every surface you are painting at the primer's own coverage rate.
Why does the calculator round up to quarts or half liters?
Paint is sold in fixed containers, so the useful answer is what to buy, not a fraction of a gallon. Each product is rounded up separately because wall paint, ceiling paint, trim enamel and primer are usually different cans.
Sources
- NIST Special Publication 811 (2008), Appendix B: foot and US gallon conversion factors
- Paint manufacturers' product data sheets (spread rate per coat and recommended coats are stated per product on each can and data sheet)
Related calculators
- Flooring CalculatorWork out how much flooring to buy for up to three rectangular or L-shaped rooms: floor area, waste allowance by layout pattern, whole boxes, material cost, underlayment and trim length, in feet or meters.
- Tile CalculatorCalculate how many tiles and boxes you need for a floor, wall or backsplash from the area, tile size, grout joint and layout pattern, with waste allowance, grout volume and cost.
- Area CalculatorFind the area and perimeter of a rectangle, circle, triangle, trapezoid, rhombus, ellipse, hexagon, sector and more, with a scaled diagram, step-by-step working and the result in other area units.
- Surface Area CalculatorFind the surface area of a cube, box, cylinder, cone, sphere, hemisphere, prism, pyramid or capsule, with lateral area, each face, volume and surface-to-volume ratio. Supports open-top boxes and cylinders.
- Perimeter CalculatorFind the perimeter or circumference of rectangles, triangles, circles, sectors, polygons, trapezoids, ellipses and more. Converts units, shows the area and a scale drawing, and prices fencing or edging by length.