Methodology
Every number the paint calculator shows comes from the formulas on this page. If a result looks wrong, you can check it by hand with a tape measure and a calculator.
The calculator works at full precision and only rounds what it shows you (see rounding).
1. Area for each room
All measurements are in feet. The calculator treats each room as a rectangle.
Wall area = 2 × (length + width) × wall height
Openings = doors × door area + windows × window area + extra openings
Walls to paint = wall area − openings, never less than 0
Ceiling = length × width, only if you tick "Include ceiling"
Room area = walls to paint + ceiling
- Door and window areas are project settings, so one size applies to every room. They start at 20 sq ft per door and 15 sq ft per window.
- Extra openings is a square-foot amount you enter for anything else you won't paint: a closet opening, a big picture window, built-in shelves.
- If the openings add up to the whole wall area or more, the walls count as 0 and you'll see a warning: "Doors and windows exceed wall area. Check your counts."
2. Paint needed
Total area = all rooms' walls to paint + all rooms' ceilings
Paint needed (gallons) = total area × coats ÷ coverage per gallon × (1 + waste %)
The same coverage, coats and waste apply to walls and ceilings. If your ceiling paint has a different coverage rate, see ceiling vs wall paint for how to run it separately.
The per-room gallons in the room table are each room's share of the total: room area ÷ total area × paint needed.
3. The buy plan
Paint is sold in gallons and quarts (4 quarts = 1 gallon). The calculator turns the exact amount into cans:
- Take the whole gallons.
- Cover the leftover with quarts, rounding up to the next quart.
- If that would mean 3 or more quarts, buy one more gallon instead.
So 2.10 gallons becomes 2 gallons + 1 quart, 2.45 gallons becomes 2 gallons + 2 quarts, and 2.60 gallons becomes 3 gallons.
At 5 gallons or more, you'll also see a note that 5-gallon buckets may be cheaper.
4. Primer and cost (optional)
Primer is one coat over the same total area:
Primer (gallons) = total area ÷ primer coverage per gallon × (1 + waste %), rounded up to whole gallons
Cost only adds up the parts you've priced:
- Paint: gallons × gallon price + quarts × quart price. If you leave the quart price blank, any leftover quarts are priced as one extra gallon, which slightly overstates the cost rather than leaving it out.
- Primer: primer gallons × primer price per gallon.
- Supplies: the sum of any prices you enter on the shopping list.
- Total: paint + primer + supplies, counting only what has a price.
Prices are in the currency you choose (USD or CAD). The calculator doesn't add tax.
5. Rounding
| What | Shown as |
|---|---|
| Areas (walls, ceiling, total) | Whole square feet |
| Paint needed | Gallons to 2 decimals |
| Buy plan | Whole gallons + whole quarts, rounded up |
| Primer | Whole gallons, rounded up |
| Costs | 2 decimals |
Rounding only happens on screen. The buy plan is worked out from the exact amount, and tiny floating-point remainders are cleaned up first, so exactly 2 gallons stays 2 gallons instead of tipping into an extra quart.
6. Starting values and where they come from
Every value below can be changed in the calculator.
| Setting | Starts at | Where it comes from |
|---|---|---|
| Coverage | 350 sq ft per gallon (presets 300 / 350 / 400) | Behr says one gallon covers 250 to 400 sq ft with one coat. Sherwin-Williams says a gallon "typically covers about 350-400 square feet," and its Duration Home data sheet lists 350–400. PaintCare says: "If you don't know the coverage rate, use 350 to get a rough estimate." Premium lines can be higher; Benjamin Moore Regal Select lists 400–450. Use the 300 preset for textured or porous walls. |
| Coats | 2 | Benjamin Moore's data sheet for Ben recommends two coats "to achieve full color development and to optimize performance." |
| Waste | 10% | An allowance, not a standard. Resene's estimating guide uses a 0.90 "application condition factor" for brush or roller, which is a 10% loss. |
| Door | 20 sq ft | Behr: "an average door is 20 square feet." |
| Window | 15 sq ft | Behr: "An average window is 15 square feet." Many bedroom windows are smaller, so measure big or unusual windows. |
| Primer coverage | 300 sq ft per gallon | Sherwin-Williams says a gallon of primer covers about 200–300 sq ft. Primer data sheets run higher, such as KILZ 2 at 300–400 and Sherwin-Williams ProBlock at 400, so 300 leans cautious. |
| Wall height | 8 ft | A pre-filled starting value. Measure yours. |
| Doors / windows per room | 1 / 2 | Starting counts. Change them for each room. |
More detail: paint coverage and waste explained.
7. Input limits
| Input | Allowed |
|---|---|
| Length, width | 1–200 ft |
| Wall height | 6–20 ft |
| Doors | 0–20 (whole numbers) |
| Windows | 0–40 (whole numbers) |
| Door or window area | 1–100 sq ft |
| Coverage, primer coverage | 100–600 sq ft per gallon |
| Coats | 1–4 (whole numbers) |
| Waste | 0–25% |
| Rooms | Up to 20 |
If a field is empty or out of range, you'll see a message on that field and no result, so the calculator never shows a blank or broken number. A room side over 100 ft shows a note to double-check your measurements.
8. What it doesn't account for
- Surface texture and porosity. Rough, porous or patched walls take more paint. PaintCare says you may need up to 50% more for rough textures. Lower the coverage to match.
- Big color changes. Going from dark to light, or to a deep color, can need an extra coat or a tinted primer.
- Trim, doors and cabinets. Only walls and ceilings are counted.
- Rooms that aren't rectangles. Sloped ceilings, gables and alcoves need extra rows or extra openings. See how to measure a room for paint.
- Spraying. The 10% waste allowance assumes brush and roller. Spraying usually wastes more.
- Metric units. The calculator works in feet and US gallons only, for now.
- Labor, time and tax.
Your paint can's label is the final word on coverage and coats.
9. Worked example
A 12 × 12 ft room with 8 ft walls, 1 door and 2 windows. 2 coats, 350 sq ft per gallon, 10% waste, no ceiling.
| Step | Amount |
|---|---|
| Wall area: 2 × (12 + 12) × 8 | 384 sq ft |
| Openings: 1 × 20 + 2 × 15 | 50 sq ft |
| Walls to paint: 384 − 50 | 334 sq ft |
| Paint: 334 × 2 ÷ 350 × 1.10 | 2.0994 gal, shown as 2.10 gal |
| Buy plan: 2 gallons, then 0.0994 gal = 0.40 quart, rounded up | 2 gallons + 1 quart |
Add the ceiling (144 sq ft) and the total is 478 sq ft, which needs 3.0046 gallons: 3 gallons + 1 quart. Add primer at 300 sq ft per gallon on the walls only and you need 334 ÷ 300 × 1.10 = 1.22 gallons, rounded up to 2 gallons.
More: how much paint for a 12×12 room.
10. How we check it
The math is covered by automated tests, including this worked example, and we hand-check the published examples against the formulas above.
We also run other people's published examples through the calculator. When we use their assumptions, we get their answer. When we use our own starting values, the answer moves, and the tables below show why.
This Old House. Their example is a 20 × 10 ft room with 8 ft walls, 2 doors and 2 windows, painted with 2 coats.
| Method | Window / door deduction | Coverage | Waste | Walls to paint | Paint | Buy |
|---|---|---|---|---|---|---|
| This Old House | 10 / 20 sq ft | 400 sq ft per gallon | None | 420 sq ft | 2.1 gal | "2 gallons plus a quart" |
| Our calculator, set to their assumptions | 10 / 20 sq ft | 400 sq ft per gallon | 0% | 420 sq ft | 2.10 gal | 2 gallons + 1 quart |
| Our calculator, our window and waste settings | 15 / 20 sq ft | 400 sq ft per gallon | 10% | 410 sq ft | 2.255 gal | 2 gallons + 2 quarts |
| Our calculator, all starting values | 15 / 20 sq ft | 350 sq ft per gallon | 10% | 410 sq ft | 2.58 gal | 3 gallons |
For primer, This Old House divides 420 sq ft by 300 to get 1.4 gallons and buys 2. Our calculator, with no waste, gives the same 1.4 gallons, rounded up to 2.
PaintCare. Their examples are one coat, with no door or window deductions and no waste. Each room has 10 ft walls.
| Room | Coverage | PaintCare | Our calculator, set to their assumptions |
|---|---|---|---|
| 10 × 10 ft | 400 sq ft per gallon | About 400 sq ft, 1 gal | 400 sq ft, 1.00 gal, buy 1 gallon |
| 10 × 10 ft | 300 sq ft per gallon | 1.33 gal | 400 sq ft, 1.33 gal, buy 1 gallon + 2 quarts |
| 20 × 20 ft | 400 sq ft per gallon | 2 gal | 800 sq ft, 2.00 gal, buy 2 gallons |
Why the answers differ. Doors aren't the cause here. This Old House and Behr both use 20 sq ft per door, and we entered the same 2 doors. Windows are: we start at Behr's 15 sq ft average, and This Old House uses 10, so two windows leave 10 sq ft less wall to paint (410 instead of 420). Our 10% waste allowance then adds a tenth to the paint, and our 350 sq ft starting coverage, PaintCare's suggestion when you don't know your paint's rate, needs more paint than 400. Last, we round up to whole quarts and switch to a full gallon at 3 quarts, which is why 2.58 gallons becomes 3 gallons, while PaintCare quotes exact gallons.
Report an error
If a result doesn't match your hand calculation, or a source looks out of date, email info@sitewisesoftware.com. Include your room sizes, door and window counts, and the settings you used. We'll check it and fix it.
Estimates only. Actual paint needed depends on surface texture, porosity, color change, application method and the product's stated coverage. Check the label on your paint can. Not affiliated with or endorsed by Benjamin Moore, Sherwin-Williams, Home Depot or any manufacturer.
Sources
- Sherwin-Williams, Paint Calculator FAQs: https://www.sherwin-williams.com/en-us/color/color-tools/paint-calculator
- Sherwin-Williams, Duration Home Interior Latex Matte, Product Data Sheet: https://www.sherwin-williams.com/document/PDS/en/035777440223
- Sherwin-Williams, ProBlock Primer, Product Data Sheet: https://www.paintdocs.com/docs/webPDF.jsp?SITEID=STORECAT&doctype=PDS&lang=E&prodno=650430481
- Benjamin Moore, Regal Select (N547), Technical Data Sheet: https://media.benjaminmoore.com/WebServices/prod/assets/production/datasheets/TDS_0547/N547_TDS_US.pdf
- Benjamin Moore, Ben Premium Interior Acrylic Paint & Primer, Matte (N624), Technical Data Sheet: https://media.benjaminmoore.com/WebServices/prod/assets/production/datasheets/TDS_0624/N624_TDS_US.pdf
- Behr, "How Much Exterior Paint Do I Need?" (average door and window; 250 to 400 sq ft per gallon with one coat): https://www.behr.com/how-to/exterior/how-much-exterior-paint-to-buy
- PaintCare, "Buy Right": https://www.paintcare.org/buy-right/
- This Old House, "How Much Paint Do I Need?": https://www.thisoldhouse.com/painting/how-much-paint-do-i-need
- KILZ 2 All-Purpose Primer: https://www.kilz.com/primer/kilz-2
- Resene, "ECS 1:4 Cost Considerations": https://www.resene.co.nz/archspec/datasheets/ECS1-4CostConsiderations.pdf