calculates the Wp/Wm ratio