To calculate how much paint you will need for a project, add up how many of each are in your project space and subtract such square footage from your wall paint square footage. Afterward, divide the number you get by 400 to obtain your best estimate for how many gallons of paint you will require for one coat on the walls and ceiling. Note that this calculation does not cover the doors and windows you wish not to paint.