Spectral inequalities in quantitative form