The diffusion coefficient, often denoted as D, measures the rate of diffusion of a substance in a medium. It is defined by Fick’s laws of diffusion, which describe how the concentration of a substance changes over time and space. Higher values of D indicate that molecules diffuse more rapidly.