A virtual MCA (Multichannel Analyzer) was developed via a software in the computer environment to display a spectrum for radiation detection experiments. A pulse generator that substitutes for a particle detector was used to supply the signals to be analyzed in the MCA. The pulses from the generator were analyzed by a virtual MCA and a real MCA. Channel numbers and the number of counts in these channels, and the total counts obtained from the virtual MCA and the real MCA were compared with each other. For comparing of the number of counts, data were accumulated in different acquisition times. After comparison of the results, it was observed that the virtual MCA was quite successful as well as a real MCA. It was concluded from the introduced work that the developed virtual MCA would be able to use in a radiation detection system like a real one.