The shake flask method is a traditional laboratory technique used to measure the partition coefficient (log P) of a chemical substance between two immiscible phases, typically water and an organic solvent. The partition coefficient is a critical parameter in toxicology, providing insight into a substance's hydrophobicity and bioaccumulation potential. It helps predict how a chemical will distribute in the environment and within biological systems.