How to fix % of shares an investor will be getting as per his investment?

I had borrowed Rs. 5 lakhs from my cousin, Rs. 3 lakhs from my brother and Rs. 1 lakh from my friend to start my e-commerce business. After 4 yrs they will be getting shares in my company. So my question is What is calculation on which the % of shares they will be holding in my company?