9mm's a lot cheaper to shoot, 40's a little more power and more recoil. Depending what ammo you use, the difference between the two is marginal according to comparison tests I've seen. I'm sure there are those who'll disagree, but if it's me, I go with the 9.