calculate VMR