For a fluid layer of thickness , density , thermal expansion coefficient , thermal diffusivity and viscosity , under gravity , with a temperature difference between its base and its top, the Rayleigh number is
the ratio of the diffusion time to the buoyant rise time .