where D d s is the distance from the lens to the source, D s is the distance from the observer to the source, and D d is the distance from the observer to the lens. For extragalactic lenses, these must be angular diameter distances.