A new formula for the isotope effect in strong coupling superconductors