Fractional stellar convection-zone depth and the generation of magnetic flux - an empirical approach