In this paper, an algorithm is proposed that determines the time quantum dynamically, by taking the available burst time of processes in the system. This algorithm together with RR are implemented and their results were compared based on average waiting time, average turnaround time, average response time and number of context switches. Results of the analyses show that the proposed algorithm is promising as it outperforms other algorithms with respect to the average waiting time, average turnaround time and number of context switches scheduling criteria.