.177 vs .22 same weight pellets

I'm new here and am having trouble deciding between a 177 or 22. I have a power line 880 177 Cal I shoot 12.6 grain pellets out of and at 10 yards have quarter size groups. Drops squirrels no problem out to 20 yards. I need more tho. I want to be able to drop them out to 40. I am concerned about the extra diameter of the 22 catching more wind and not hitting my mark. I'm really impressed with the 40 dollar 880 and am scared to get anything different because I can't justify a 200 dollar gun to gain 10 yards. Mind all this I always shoot from a bench. Squirrels and all. I live in town and can't use a 22 rim and need to continue getting these little garden destroying fruit robbing rats disposed of. But what I really want a answer for is if both shot the same weight what is better. I really think that the 177 would be but can't find any facts to back in up. Thanks
 
For shooting at same weight you have to choose a very high weight .177 pellet which your gun will probably shoot slower and at a higher curve (more drop) and in comparison a .22 pellet of same weight will be at the lighter end of spectrum and the gun will be shooting it faster giving you flatter trajectory. Usually more weight means less effect of wind and that is why target shooters choose .25 and .30 calibers when they have a choice. You will be better off choosing an accurate .22 pellet and airgun combination as it will buck the wind better and allow longer range hits due to more energy for this caliber.
 
I think that the heavier 177 pellets would have superior ballistics but you will have a problem finding pellets in the 14-25 grain range of a .22. Then you are going to have to find a gun that can squirt them out at over 800 fps.The if you try to shoot normal pellets they will be supersonic and probably as accurate as throwing stones. You would also need a custom barrel with a twist rate that could stabilize those torpedoes So if you want more range and more power the only practical thing is going bigger.