A paint calculator estimates how many gallons or litres of paint a room needs from its length, width and wall height, after taking off doors and windows and allowing for the number of coats and the coverage of your paint.
Paint Calculator
How much paint you need in gallons or litres — for a room’s walls and ceiling, or any area — with coats, doors and windows.
The starting values are a 14 ft by 12 ft room with 8 ft walls, one door, two windows, no ceiling, two coats and a coverage of 350 ft² per gallon. Known area mode starts at 400 ft². Replace them with your own room and the coverage printed on your paint can.
What the paint calculator works out
Room mode builds the paintable area from the room size, subtracts doors and windows, and can add the ceiling. Known area mode skips that step and uses an area you already have. Both modes then apply the number of coats and the coverage per gallon, and return the paint needed in gallons and litres, plus the number of one-gallon cans to buy, rounded up.
The paint formulas
Wall area = 2 × (Length + Width) × Height
Paintable area = Wall area − 21 × Doors − 15 × Windows + Ceiling area
Paint needed = Paintable area × Coats ÷ Coverage
Where:
- Length, Width, Height = the room dimensions in the same unit
- Doors, Windows = the number of each in the room
- Ceiling area = Length × Width, included only if you choose to paint the ceiling
- Coats = the number of coats you plan to apply
- Coverage = the area one gallon covers in one coat, from the can
The calculator takes off 21 ft² for a door and 15 ft² for a window. One paint manufacturer guide uses 20 ft² and 15 ft², so the difference is small.
Worked example: the starting room, walls only
Wall area = 2 × (14 + 12) × 8 = 416 ft²
Paintable area = 416 − 21 − 2 × 15 = 365 ft²
Paint needed = 365 × 2 ÷ 350 = 2.09 gal, which is about 7.9 L
Gallon cans = ceil(2.09) = 3 cans
Worked example: adding the ceiling
Ceiling area = 14 × 12 = 168 ft²
Paintable area = 365 + 168 = 533 ft²
Paint needed = 533 × 2 ÷ 350 = 3.05 gal
Gallon cans = ceil(3.05) = 4 cans
The ceiling adds only 0.96 gal, but it pushes the total just past 3 gallons, so the can count rises from 3 to 4. The spare paint is useful for touch-ups.
Worked example: a known area in litres
Take 450 ft² of wall, two coats and a coverage of 375 ft² per gallon.
Paint needed = 450 × 2 ÷ 375 = 2.4 gal, which is about 9.1 L
Gallon cans = ceil(2.4) = 3 cans
How coverage changes the answer
Coverage is the least certain input. One paint manufacturer guide gives 250 to 400 ft² per gallon for one coat, and a cost guide quotes roughly 350 to 400. Apply that range to the 365 ft² of walls with two coats. At 250 ft² per gallon you need 365 × 2 ÷ 250 = 2.92 gal, so 3 cans. At 400 ft² per gallon you need 1.83 gal, so 2 cans. The same walls need two or three cans depending on the paint.
The manufacturer guide adds that porous, rough, textured or unpainted surfaces and dramatic color changes need more paint, while a smooth, primed or sealed surface or a subtle color change needs less. Use the lower end of the coverage range for the harder surfaces.
Trim, primer and other surfaces
The calculator does not measure trim, baseboards or window frames. The same guide estimates trim area as the total trim length multiplied by 0.5 ft, which assumes trim about six inches wide. For example, 60 ft of trim is 60 × 0.5 = 30 ft². Add that figure to the area in Known area mode, using the coverage of the trim paint.
Primer is not calculated either. Fresh drywall, porous surfaces and a move from dark to light may need a primer coat first. To size it, use Known area mode with one coat and the coverage printed on the primer can.
Using the result when you buy
Treat the can count as a minimum, not a target. Tinted paint is mixed to order, so a later can may differ slightly from the first, which is a good reason to buy all the paint for a room together and blend the cans before you start. Keep the leftover for touch-ups, and note the color name and code from the lid.
How many coats to enter
The calculator starts at two coats. Enter three for a strong color change or a very porous surface, and check the can before entering one, because a single coat suits only a smooth, sealed surface and a similar color. More coats raise the paint quantity in direct proportion, so double-check this input before you buy.
Frequently asked questions
How do I calculate how much paint I need?
Find the paintable area, multiply it by the number of coats, then divide by the coverage of one gallon. For a 14 ft by 12 ft room with 8 ft walls, one door and two windows, the walls are 365 ft², so two coats at 350 ft² per gallon need 2.09 gal, which means 3 gallon cans.
Do I subtract doors and windows when calculating paint?
Yes, the calculator takes off 21 ft² for each door and 15 ft² for each window. If your openings are unusually large or you plan to paint the door and window frames, adjust the counts or use Known area mode with your own measured area.
How much area does a gallon of paint cover?
One paint manufacturer guide gives 250 to 400 ft² per gallon for one coat, and the calculator starts at 350. The right figure is printed on the can, and it falls for rough, porous or textured surfaces.
Does the paint calculator include the ceiling or primer?
The ceiling is optional in Room mode and adds Length × Width at the same coats and coverage. Primer and trim are not calculated, but you can size them in Known area mode with their own area, coats and coverage.




