Diffusion current is a current in a semiconductor caused by the diffusion of charge carriers (electrons and/or electron holes). This is the current which is due to the transport of charges occurring because of non-uniform concentration of charged particles in a semiconductor. The drift current, by contrast, is due to the motion of charge carriers due to the force exerted on them by an electric field. Diffusion current can be in the same or opposite direction of a drift current. The diffusion current and drift current together are described by the drift–diffusion equation. It is necessary to consider the part of diffusion current when describing many semiconductor devices. For example, the current near the depletion region of a p–n junction is dominated by the diffusion current. Inside the depletion region, both diffusion current and drift current are present. At equilibrium in a p–n junction, the forward diffusion current in the depletion region is balanced with a reverse drift current, so that the net current is zero. The diffusion constant for a doped material can be determined with the Haynes–Shockley experiment. Alternatively, if the carrier mobility is known, the diffusion coefficient may be determined from the Einstein relation on electrical mobility. Overview Diffusion current versus drift current The following table compares the two types of current: {| class="wikitable" |- ! scope="col" width="450px" | Diffusion current ! scope="col" width="450px" | Drift current |- | Diffusion current = the movement caused by variation in the carrier concentration. | Drift current = the movement caused by electric fields. |- | Direction of the diffusion current depends on the slope of the carrier concentration. | Direction of the drift current is always in the direction of the electric field. |- | Obeys Fick's law: | Obeys Ohm's law: |} Carrier actions No external electric field across the semiconductor is required for a diffusion current to take place. This is because diffusion takes place due to the change in concentration of the carrier particles and not the concentrations themselves. The carrier particles, namely the holes and electrons of a semiconductor, move from a place of higher concentration to a place of lower concentration. Hence, due to the flow of holes and electrons there is a current. This current is called the diffusion current. The drift current and the diffusion current make up the total current in the conductor. The change in the concentration of the carrier