ah now thats a good question, but its more difficult to answer as it all depends on the projectile used and payload, distance to target, length and width of barrel amount of charge used, wind conditions, elevation, speed of target and size.
so there is not really a straightforward answer, too many variables.
an example though

no wind, favourable conditions, using a powerful bolt action .22 air rifle, you could hit the target dead centre all the time using the dot in your sight from around 25-30m, (AS I DO ) now walk around 5-8m back and you will need to aim about the second inner ring of a standard rifle target.
now add in wind etc, and it could be higher if up wind, left or right, you can use the same principle as you got up the scale, in weapons,
a .50 cal sniper rifle, forgot its correct name, its huge!! virtually the same as on the top of a hum vee, but was converted for long range armour kills, has successfully hit moving targets up to an astonishing 3 miles, (this was a controlled shot though)
the longest sniper range at the moment is 2340m!!!
its like throwing a stone, small pebble, goes 20m straight. now use a brick you will have to use more charge (muscle) and throw higher.
so its a question that really can only be answered if you know all the variables,
are you trying to find the hardest things for me to answer,lol
