Based on a chart of passenger flow of a bus line, a mathematical model is established to determine the bus schedule in the interest of both passengers and the bus company. The efficient data processing methods, including the graphic intuition, are presented in this paper.