Use Pot-Odds for this calculation. You call with anything that has enough equity, as defined by your pot odds, to be profitable. So it depends on their betting range, and the size of the bet.
For example, if villain bets 200% pot, you need to win at least 40% of the time against their betting range to call.
Your equity depends on their betting range. If you know they would only make this bet with the nuts, then you won't have the pot odds to call with anything less than the nuts. If you know they're betting wide, then you'll have more equity and be able to call wider.
Their betting range defines your equity. The size of their bet defines your pot odds. Call when equity > pot-odds