# How much energy is radiated when matter falls into a black hole

When a black hole consumes matter, it can form an accretion disc. Is there a relationship between the mass of the falling matter $m$, the mass of the black hole $M$, and the energy radiated during the process (until all mass is consumed)? On what other factors the amount of radiated energy depends?