Hi Sergio,
The density of memory foam is the single biggest factor in its durability but memory foam comes in many different versions and has a wide range of different properties (see post #9 here) regardless of density so the density is more about the durability than how it feels (although higher density memory foams can often but not always feel firmer than lower density).
There really is no formula that can tell you which design will be best for you based on your height and weight and preferences outside of the generic guidelines that are in the previous post I linked. Each person is different in terms of PPP. In terms of quality/durability I would suggest using the memory foam density guidelines here. There is also more about the factors that can affect the durability and useful life of a mattress in post #4 here but density is the single biggest factor in durability.
The only way to know with any certainty how a mattress will feel, perform, and interact with your body is with your own personal testing or experience either before a purchase (if you test it locally) or after a purchase (if you purchase it online).
Phoenix