The X-ray crystal density method is primarily a method for determining the Avogadro constant NA but as the Avogadro constant is related to the Planck constant it also determines a value for h. The Avogadro constant is determined to be the ratio between what two factors in the X-ray crystal density method