A device that produces converging or diverging light rays due to refraction is known as a lens. Lenses are characterized by their focal length : a converging lens has positive focal length, while a diverging lens has negative focal length. Smaller focal length indicates that the lens has a stronger converging or diverging effect. The focal length of a simple lens in air is given by the lensmaker's equation.