You calculate the E/Z ratio from the hight (integral) of the two different peaks, each for one isomer. If one integral for the E isomer is 2 and the integral for the other, Z isomer is, say, 0.4 [of course, you have to accurately assign the correct protonos of each isomer], this means that the ratio of E/Z = 2/0.4 which is 5/1