How far a 9mm pistol bullet travel?

A bullet from a 9mm pistol generally has the range of 2500yds, but rarely travels that far because before it can it generaly hits something. So in other words with a open range it can travel a little over a mile.