The thin lens formula is an equation that relates the focal length of a lens to the object distance and the image distance. It is given by the formula $$\frac{1}{f} = \frac{1}{d_o} + \frac{1}{d_i}$$, where $f$ is the focal length, $d_o$ is the distance from the object to the lens, and $d_i$ is the distance from the lens to the image. This relationship is fundamental for understanding how lenses focus light to form images in various optical instruments.