Quantifying the effect of interactions in quantum many-body systems