How long does a hermit crab take to move to anither shell?

It is not certain how long it takes you just habe to put a crab shell in a tank with the hermit crab and when that crab is getting too big for its shell it will move to another.