Depends entirely on how much you're primering or painting. Usually you don't need to prime the entire thing to paint it, just where you've done body work. I would buy a quart of primer to start and then another quart if you need it. As for paint, how much are you painting? (the whole vehicle? interior too?) What color? (yes, it matters). A gallon is almost assuredly too much, and with the price of auto paint you don't want too much that you have to throw away.