Well you call when you hand has > equity against villains range than the pot odds you are being offered. If you have 40% equity and are getting 2:1 pot odds, it's profitable to call. Even if you don't have the needed equity preflop it likely isn't going to be a mistake to call an open with a hand that has less equity against his opening range because of implied odds, and positional advantage.