Accurately measure the k-factor