For trim and doors, start with 1 gallon (3.8 L) of trim paint for every 600 sq feet of floor space. Purchase more at the store if/when needed. Trim is something that is difficult to calculate exactly, and it is more time-efficient to simply start with less than you need, and go buy more after you have used up the first round of paint and determined how much you will need to finish by seeing how much you have painted so far, compared to the gallons used.