For obtaining a well-focused image, the diameter of the pinhole should be 0.236 mm.