Difference in concentration affects the rate of diffusion. The greater the concentration gradient, the quicker diffusion takes place.