What are the essential factors that determine the critical cash deposit ratio in a bank?

Cash deposit ratio plays a crucial role in banking operations. The banks try to fine-tune it. They do not want to hold more than necessary cash reserves because in that case they lose some of the profit, which they can otherwise earn.