That always depends on all your configs (how many players / which plugins are installed)
My server usually takes up to 1GB for 15 players, so let's say that you will need around 1.5GB for every 20 players slots server.
If is a Linux SO server probably will consume less RAM