How far will a 40 caliber bullet travel?

It depends on several factors, but "about a mile" is a good average.