It's easier to figure out than you think. Let's assume average 3" wide trim. That's 1/4 foot. You've got 360 feet, 1/4 of that is 90 square feet. 1 gallon covers about 300 square feet. Double it for doing 2 coats, add in your square footage for your doors.