Instead of doing this math in your head, simply use this easy and free Equal Playing Time Calculator. Just input (1) the number of players on the team, (2) the number of players who play at one time, and (3) the length of the game, then let the calculator do all the work. 

http://www.playingtimecalculator.com/