The Woodward-Fieser rule provides a method to calculate the maximum wavelength (λmax) of absorption in the UV spectrum of conjugated dienes and trienes. It assigns base values to different diene systems and allows additions to the base value based on structural features like alkyl substituents, extended conjugation, and polar groups. Examples are provided to demonstrate calculating λmax values for compounds containing homoannular dienes, heteroannular dienes, and exocyclic and endocyclic double bonds by applying additions to the appropriate base value.