A rule of thumb is to have a bankroll worth 10% of the funds that you will burn through if the game is low variance. A middle variance game should have a bankroll of one-sixth the money that you go through while playing.