Work out how much memory a host needs before you order it.
A minimal Linux host needs about 1 GB. Windows Server and a monitoring stack need considerably more.
Memory the kernel uses to cache disk. On database and file servers this should be generous.
32 GB covers 8 instances with room to spare
Two constraints decide the module layout rather than the total. Channel population matters: a two-socket board wants memory in matched sets across every channel, and filling half of them costs real bandwidth even when the capacity is right. And modules per channel affect the clock, so four large modules usually run faster than eight small ones at the same total. Check the board's population table before ordering, since the same 32 GB can be a good configuration or a slow one.
What this cannot tell you
Take this with you
Server RAM Calculator on RunTheTests — free browser-based sysadmin tools, no sign-up.