# Paint calculator > How much paint do I need for a room? Litres or gallons of paint and whole cans to buy, from the room's size, the coats and the coverage on the tin. How much paint a room needs: wall area minus doors and windows, times the coats, over the coverage on the tin, rounded up to whole cans of your size. - Page: https://how.box/paint/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/paint/?l={l}&w={w}&h={h}&u={u}&ce={ce}&o={o}&ou={ou}&c={c}&r={r}&can={can}&cu={cu} - `l` (number 0.1 to 100): Room length in metres. Example: `4`. - `w` (number 0.1 to 100): Room width in metres. Example: `3`. - `h` (number 0.1 to 100): Wall height in metres. Example: `2.5`. - `u` (m, cm, ft or in): Room unit shown: m, cm, ft or in. Example: `m`. - `ce` (boolean): Paint the ceiling too (1) or not (0). Example: `false`. - `o` (number 0 to 1000): Doors and windows left out, in m². Example: `0`. - `ou` (m2 or ft2): Openings unit shown: m2 or ft2. Example: `m2`. - `c` (whole number 1 to 5): Number of coats, 1–5. Example: `2`. - `r` (number 1 to 30): Coverage of one coat in m² per litre. Example: `10`. - `can` (number 0.1 to 50): Can size in litres. Example: `2.7`. - `cu` (l, us_gal, us_qt or imp_gal): Can unit shown: l, us_gal, us_qt or imp_gal. Example: `l`. Example answer: https://how.box/paint/?l=4&w=3&h=2.5&u=m&ce=0&o=0&ou=m2&c=2&r=10&can=2.7&cu=l A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `paint_estimate`: Paint for a box-shaped room: walls 2 × (length + width) × height, plus the ceiling if asked, minus openings, times coats, divided by the coverage; cans rounded up. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"paint_estimate","arguments":{"length":4,"width":3,"height":2.5,"unit":"m","ceiling":false,"openings":0,"opening_unit":"m2","coats":2,"coverage":10,"can":2.7,"can_unit":"l"}}}` - GET: https://how.box/mcp/run/paint_estimate?length=4&width=3&height=2.5&unit=m&ceiling=false&openings=0&opening_unit=m2&coats=2&coverage=10&can=2.7&can_unit=l ## How it works The walls of a box-shaped room are two pairs of rectangles, so their area is 2 × (length + width) × height. Take off the doors and windows you won't paint, multiply by the number of coats and divide by the coverage: how many square metres one litre covers in one coat. Then round up to whole cans. Coverage depends on the paint and the surface, so the figure on your tin is the one to trust: around 10 m² per litre, or 400 square feet per US gallon, is typical for wall paint on smooth, primed walls. Bare plaster, rough or porous surfaces and big colour changes take more paint or an extra coat. The room is treated as a simple box; add alcoves and sloping walls separately. ## FAQ **Do I really need two coats?** Usually, yes: one coat rarely hides the old colour evenly. A primer and one coat can do on new plaster, and a strong colour change may need three. **Should I subtract doors and windows?** Subtract the big ones, such as patio doors and large windows. Small ones make little difference and the spare paint covers mistakes. **How much paint for the ceiling?** Switch on the ceiling: it adds length × width. Ceilings often use a different paint, so you can also work them out separately with that tin's coverage. **Where do I find the coverage?** On the tin or the product sheet, often as square metres per litre (m²/L) or square feet per gallon. Use the lower number if a range is given. **Can I buy fewer, larger cans?** Yes. Change the can size to compare the number of cans and leftover paint; the litres needed stay the same. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)