ASTM method D4007 or API Manual of Petroleum Measurement Standards chapter 10.4 are commonly used to measure BS&W. These methods both consist of mixing equal volumes of solvent and crude oil then centrifuging in order to separate any solids, free water, or suspended particles.
More precise methods beyond BS&W are available to independently measure water or solids present in 
a sample of crude oil.