I teach Hunter Ed so get this question a lot
Some thoughts..... I can't really add to Bounty Hunter's post but some thoughts anyway.
YES .22LR's can go over a mile. Stuff like wind, elevation and pressure/humidity will play a big part with those funky little slugs but they'll still carry more than a mile, sometimes. I've also fired 22's over water on days when you couldn't get much over 4-500yds seemed like.
"Hunting rifles" like 308's, 7MM's and such will show maximum ranges of 3-7 mi altho getting one to fly over 3mi is tough. The big 338's and 50's will go over 5 miles.
On shooting straight up. I get asked "if I shoot straight up will the bullet come back down and kill me?" And the answer is "NO...... unless you're on the moon."
(On the moon a bullet WOULD kill you on the way back in...) I use the old "it's illegal to drop a penny off the Empire State Building" wives tale to get their attention. Amazingly enough my informal poll indicates that about 5/8 of the population of America believes a penny can kill you.
And no, bullets can't "go into orbit" even on the moon
it takes a lot more than that to get outta' the gravity well....and going into orbit requires some serious finesse LOL
I know a girl who was shot (by a guy I know) at a documented distance of almost two miles by a 223. Low angle fire, dude shot at a coyote on a rock pile in the field, hit the girl on a motorcycle.
He could never duplicate the shot though..........
al