This study presents a simple metric to quantitatively evaluate the compensation of phase distortions in digital holographic microscopy. The metric calculates the difference between the minimum and maximum values in an unwrapped phase image. A phase compensation method based on the metric is proposed