A virtual detector (VD) is an imaginary device located at a fixed position in space that extracts information from the wave packet passing through it. By recording the particle momentum and the corresponding probability current at each time, the VDs can accumulate and build the differential momentum distribution of the particle, in a way that resembles real experiments. A mathematical proof is given for the equivalence of the differential momentum distribution obtained by the VD method and by Fourier transforming the wave function. In addition to being a tool for reducing the computational load, VDs have also been found useful in interpreting the ultrafast strong-field ionization process, especially the controversial quantum tunneling process.