The portion of the pool's profit that goes to depositors is divided based on the type of product they have invested in, considering three factors: the investment duration (tenor), the amount invested, and how often profits are paid out. These factors are used to assign weightages, which determine how much each investment earns from the profit. For example, a two-year fixed deposit at maturity will have a higher weightage than a one-year fixed deposit at maturity, meaning it will receive a larger share of the profit.