Question: how to calculate how much paint for trim?
Answer: Add up the length of all the trim to be painted, then add up the width of all the trim. ... 
Multiply length x width to get the square footage of trim to be painted.
Divide the total by 400 to get the number of gallons of paint you'll need for one coat.