The partition coefficient is commonly measured using shake-flask or chromatographic methods. In the shake-flask method, the compound is shaken with two immiscible solvents, and the concentrations in each phase are measured after equilibrium is reached. Chromatographic methods, such as high-performance liquid chromatography (HPLC), are also used to determine log P values by comparing the retention times of the compound in different phases.