Paint Calculator That Subtracts Doors and Windows

About this illustration
Illustration by Toolbox Weekend: a generated picture made to look like spray paint through stencils on plywood. It shows a quiet corner of a house on purpose, not a part or a step to copy. Reuse it with credit to Toolbox Weekend; this site claims rights in it only as far as the law grants them.Bottom line first
Enter the width and height of each wall, the length and width of any ceiling on its own line, each size of door or window, how many coats, and the coverage printed on your paint can. The calculator takes out the doors and windows, adds any ceiling, multiplies by the coats, divides by the coverage and rounds up two ways.
Work it out here
Whatever you enter here stays on this page. Toolbox Weekend doesn’t save it, send it anywhere or put it in the address bar, and there is no link to share it. Reloading the page clears every field.
Measure each wall, door and window yourself. Nothing is filled in for you. Use the coverage printed on your can (square feet per gallon). Makers give different numbers, so this page has no starting value.
Paint estimate
Still needed:
- at least one wall or ceiling
- coats
- coverage from the can
- Area to paint
- Paint, before rounding
- Up to whole gallons
- Up to gallons and quarts
Both roundings only ever go up, and choosing between them is a Toolbox Weekend rule, not advice from a paint maker. Neither number promises the paint will be enough. The can’s own directions come first. If the surface is rough, porous or newly patched, or you are covering a dark color with a light one, check what the can says about coverage and coats.
How it was worked out
If a primer or paint label calls for primer, the primer is its own coat with its own can and its own coverage; work it out as a separate run.
Without the calculator
- Multiply each wall’s width by its height, and each ceiling’s length by its width. If you measured in inches, divide each result by 144 to get square feet.
- Add up the walls. Multiply each door or window’s width by its height, times how many there are (divided by 144 too, if you measured in inches), and take that off the walls. Add the ceiling.
- Multiply by the number of coats.
- Divide by the coverage printed on your can (square feet per gallon). That is the paint in gallons; 1 gallon is about 3.79 liters and 4 quarts.
- Round up, either to whole gallons or to gallons plus quarts (1 gallon = 4 quarts). Rounding up, and showing both ways, is a Toolbox Weekend rule.
Three worked examples. The sizes and the coverage numbers are made up for the examples; use your own measurements and the number on your can.
-
A 12 × 14 ft (3.66 × 4.27 m) room with 8 ft (2.44 m) walls, one 3 × 7 ft (0.91 × 2.13 m) door, two 3 × 4 ft (0.91 × 1.22 m) windows, two coats, and a can that says 350 sq ft per gallon (8.6 m² per liter).
- Walls: 12 × 8 ft + 14 × 8 ft + 12 × 8 ft + 14 × 8 ft = 416 sq ft (38.65 m²).
- Doors and windows: 1 × 3 × 7 ft + 2 × 3 × 4 ft = 45 sq ft (4.18 m²).
- Area to paint: 416 − 45 = 371 sq ft (34.47 m²).
- 2 coats: 371 × 2 = 742 sq ft (68.93 m²).
- Paint: 742 ÷ 350 sq ft per gallon = 2.12 gal (just over 8 L).
- Rounded up to whole gallons: 3 gal (11.4 L).
- Rounded up to gallons and quarts: 0.12 gal × 4 = 0.48 qt, up to 1 qt, so 2 gal + 1 qt (8.5 L).
Result: 2.12 gal (8 L) before rounding; 3 gal (11.4 L), or 2 gal + 1 qt (8.5 L).
-
Only the ceiling of a 10 × 12 ft (3.05 × 3.66 m) room, one coat, and a can that says 400 sq ft per gallon (9.8 m² per liter).
- Ceiling: 10 × 12 ft = 120 sq ft (11.15 m²).
- Area to paint: 120 sq ft (11.15 m²).
- 1 coat: 120 × 1 = 120 sq ft (11.15 m²).
- Paint: 120 ÷ 400 sq ft per gallon = 0.3 gal (1.1 L).
- Rounded up to whole gallons: 1 gal (3.8 L).
- Rounded up to gallons and quarts: 0.3 gal × 4 = 1.2 qt, up to 2 qt, so 2 qt (1.9 L).
Result: 0.3 gal (1.1 L) before rounding; 1 gal (3.8 L), or 2 qt (1.9 L).
-
One accent wall measured in inches, 132 in (3.35 m) wide and 96 in (2.44 m) high, with one 36 × 80 in (0.91 × 2.03 m) door, three coats, and a can that says 300 sq ft per gallon (7.4 m² per liter).
- Lengths are in inches, so each area is divided by 144 (12 × 12) to give square feet.
- Walls: 132 × 96 in = 88 sq ft (8.18 m²).
- Doors and windows: 1 × 36 × 80 in = 20 sq ft (1.86 m²).
- Area to paint: 88 − 20 = 68 sq ft (6.32 m²).
- 3 coats: 68 × 3 = 204 sq ft (18.95 m²).
- Paint: 204 ÷ 300 sq ft per gallon = 0.68 gal (2.6 L).
- Rounded up to whole gallons: 1 gal (3.8 L).
- Rounded up to gallons and quarts: 0.68 gal × 4 = 2.72 qt, up to 3 qt, so 3 qt (2.8 L).
Result: 0.68 gal (2.6 L) before rounding; 1 gal (3.8 L), or 3 qt (2.8 L).
Check the math
The arithmetic is this site's own; no paint maker or agency supplied it. Each wall is its width times its height, and a ceiling is its length times its width. Each door or window is its width times its height, times how many of that size there are, and that total comes off the walls. Any ceiling is then added. That area is multiplied by the number of coats and divided by the coverage on the can, in square feet per gallon. The answer is the paint in gallons, before rounding.
Then the calculator rounds up two ways: to whole gallons, and to whole gallons plus quarts, with 4 quarts to the gallon. Rounding only up, and showing both, is a Toolbox Weekend rule. That means it is this site's own choice, not advice from a paint maker and not a standard. Neither number promises the paint will be enough.
The three worked examples sit under Work it out here, in the part headed Without the calculator. The same code works them out, so they match what the calculator shows step by step. The first is a 12 by 14 ft (3.66 by 4.27 m) room with 8 ft (2.44 m) walls. The 350 square feet per gallon (8.6 m² per liter) in it stands for what one can might print; it is not a number this site recommends.
The limits on each box only catch typing mistakes: a length from 0.1 to 200 ft (3 cm to 61 m), or 1 to 2,400 in (2.5 cm to 61 m); up to 50 doors or windows of one size; one to three coats; and a coverage from 50 to 1,000 square feet per gallon (about 1.2 to 24.5 m² per liter). Those limits are Toolbox Weekend rules too.
Why the coverage box starts empty
No agency or extension source this site has checked gives one coverage figure for wall paint, and makers print different numbers. So the calculator has no starting value, and you copy the number from your can. The can's directions come first in other ways as well. If the surface is rough, porous or newly patched, or you are covering a dark color with a light one, read what the can says about coverage and about how many coats.
Primer is a separate run
A 1981 U.S. military facilities maintenance manual (TM 5-618) describes two kinds of paint: the primer, the coat next to the surface, and the top coat, which gives the finished look. A 2021 U.S. military facilities standard (UFC 3-190-06) says that before patching materials go on, the surface should be clean, dry, free of loose material and primed the way the material maker's written instructions say. Whatever primer a label calls for is its own coat, from its own can, with its own coverage, so work it out as a separate run. The calculator doesn't add a primer coat for you. Do you need primer goes through when one is called for.
Measuring the walls
Measure every wall, door and window yourself; nothing is filled in for you, not even a common door size. Enter each wall on its own instead of the distance around the room, and each ceiling as its own line. If one door or window size appears three times, enter it once and say how many.
Credit and license
"One wall, measured and taken apart" from Toolbox Weekend (https://toolboxweekend.com/paint-and-caulk/paint-calculator/), licensed CC BY 4.0 (creativecommons.org/licenses/by/4.0); a diagram made by code, so real parts vary, and any source named on the page keeps its own termsThe 1981 manual paints the ceiling first, then the walls, then the trim, and lets each coat dry thoroughly before the next goes on; how to paint a room goes through that order, and the can says how long to wait. Cutting in along a ceiling line is the brushed edge you do before you roll. The 2021 standard has cracks and holes repaired before painting, as on the wall hole page.
Painting over old paint
The calculator counts paint; it doesn't look at what is under the paint. EPA says homes built before 1978 may have lead-based paint. If the walls need scraping or sanding first in a house that old, or one whose age you don't know, the lead paint page comes before any of the numbers here.
For a floor or a backsplash, the tile calculator does the same kind of count for tile. Deciding whether to paint a room yourself at all starts on the home repair starting page.

About this illustration
Illustration by Toolbox Weekend: a generated picture made to look like spray paint through stencils on plywood. It shows a quiet corner of a house on purpose, not a part or a step to copy. Reuse it with credit to Toolbox Weekend; this site claims rights in it only as far as the law grants them.Sources and Toolbox Weekend rules
- Primer and top coat being two kinds of paint: the coat next to the surface and the coat for the finished look
- Source [1]
- Each coat drying thoroughly before the next goes on
- Source [1]
- Painting the ceiling first, then the walls, then the trim
- Source [1]
- Repairing cracks and holes before painting
- Source [2]
- Surfaces being clean, dry, free of loose material and primed as the material maker's written instructions say, before patching materials go on
- Source [2]
- Homes built before 1978 possibly having lead-based paint
- Source [3]
- The arithmetic (walls and ceilings, doors and windows taken out, coats, coverage), rounding only up and showing whole gallons and gallons plus quarts side by side, the limits on each box, no starting value for coverage or sizes, and working primer out as a separate run
- Toolbox Weekend rule
Anything marked Toolbox Weekend rule is this site’s own choice, such as a time band, a wait before checking or the one-redo limit. It is not a building code, a standard or a research finding.
Sources
Numbers in brackets point to this list. Anything marked Toolbox Weekend rule is this site’s own choice, with no source behind it.
- Departments of the Army, the Navy and the Air Force. TM 5-618 / NAVFAC MO-110 / AFM 85-3, Paints and Protective Coatings. June 1981 (a U.S. military facilities maintenance manual) Go to the source Read: Sections 4.6.2, 4.6.3.2 and 6.3.4.2; figures not used.
- U.S. Department of Defense. UFC 3-190-06, Protective Coatings and Paints. 1 March 2021 (Unified Facilities Criteria) Go to the source Read: Sections 2-2 and 2-2.1.
- U.S. Environmental Protection Agency (EPA). Lead-Safe Renovations for DIYers. Last updated August 20, 2026 Go to the source
Other pages in this area
Corrections
No corrections on this page yet. If a step, a number or a drawing here is wrong, tell this site.