Pot $80, villain shoves $20 more. Call 20 to win 100 total (80+20). Required ≈ 20/100 = 20%. If you think you win more than one in five times, calling is profitable (ignoring future considerations).
'Worked example' (poker math, G0): Required equity ≈ call / (pot + call). Compare to equity vs their continuing range.