<jats:p>We propose a simple method to calibrate a microscope lens using a grid lines pattern. We get four calibration patterns from each image, reducing the number of required images. In the final result, most of the spherical aberration is eliminated.</jats:p>