The short answer: it depends...
5 Millions rows with 2 columns or with 100 columns. String values or boolean...
How many concurrent users/sessions are you planning to have on your system....
I would say that 32 GB of RAM should cover basic needs (~50 users, with few active applications running).
64 GB preferable.
CPU parameters are not that critical nowadays... It's hard to find a server with less than 3 GHz CPU speed.
The engine in Sense is pretty much the same, so you can use the QV RAM calculator for your estimates.
But I never found it useful for several reasons:
1. Your applications'/users' pool is dynamic thing, so it is very hard to estimate how your system will be used ~ 2 years from now.
2. I am usually allocating server resources based on available budget (the maximum budget allows)
3. It's simpler and cheaper to add more RAM resources later, if needed.