Which equation is used for measuring diffusion current?

The gradient of mass, momentum, or energy in the x direction is represented by the diffusion equation ds/ dx. DS is a diffusion coefficient, or diffusivity for mass, momentum, or energy in the medium. The word Q is also known as a flux density (flow per unit area per unit of time).