The diffusion rate of salt in water is slower than the flow of the water from the river into the ocean. The line is not sharply-defined – an intermediate area is called an estuary, where the flow diminishes and tidal flows interfere, the water is brackish (partly salty).
Latest Answers