how many gallons does it take to equal one inch of rainfall

That depends on the container. On my rain gauge, it is not even a quarter cup. Please be more specific in your question.