How do I calculate my investment limit?