This paper describes a computer program, named as PATRAF, which was developed for analysis of traffic flow. PATRAF is composed of PATRAF-BASIC and PATRAF-APPLICATION. PATRAF-BASIC is divided into three programs, i.e., PATRAF-IM, PATRAF-IA and PATRAF-IG. PATRAF-IM is a menu program and it starts arbitrarily programs in PATRAF-IA and PATRAF-IG. PATRAF-IA is consist of several programs to aggregate observed data and to carry out statistical analysis on the correlation of speeds between successive two vehicles and the distributions of headway, speed, bunch-size and bunch speed. PATRAF-IG is a program to print out the results obtained by running PATRAF-IA on output device, such as computer disply, printer or XY-plotter. These programs were developed for a 16-bit personal computer (NEC PC-9800 series) and changes, additions and recorrections of programs can be done easily since BASIC is used for the program language. Explanations of PATRAF-BASIC are main contents of this report. On the other hand, PATRAF-APPLICATION is now under developing with the aim of applying for simulation analysis of traffic flow and optimal designs of road facilities, so its concrete contents are not stated in this paper.