Piston Travel Distance

I'm currently working on a coaxial spud gun with a 1.5 in. chamber and a 1/2 in. barrel. I need to know how much space behind the piston to leave. I was recently informed that the distance should be 1/4-3/8 in. Please tell me if you know anything