Every bullet, upon leaving the barrel, immediately impacts the atmosphere.
— Steve Johnson, circa 2020
Moral of the story: While air won’t always make a bullet expand, it certainly does help to slow it down. Consider the differences in air density at different altitudes and account for them in calculations. Also consider the density of the projectile and how well it will hold up to the atmosphere, especially if shooting beyond 400 yards.