The mirror formula is \boldsymbol , where \boldsymbol } is the focal length, \boldsymbol is the image distance, and \boldsymbol is the object distance. It is used to calculate the position and nature of the image formed by concave and convex mirrors.