An algorithm for the comparative sequencing (COMPAS) of oligonucleotides is shown to be suitable for the sequence verification of nucleic acids ranging in length from a few to 80 nucleotides. The algorithm is based on the matching of a fragment ion spectrum generated by collision-induced dissociation to m/z values predicted from a known reference sequence employing established fragmentation pathways. Prior to mass spectrometric investigation, the oligonucleotides were on-line purified by ion-pair reversed-phase high-performance liquid chromatography using monolithic separation columns. This study evaluated the potential and the limits of COMPAS regarding the length and the charge state of oligonucleotides, the selected collision energy, and the analyzed amount of sample using a quadrupole ion trap mass spectrometer. The results revealed that oligonucleotides could be very reliably resequenced up to 60-mers, although the algorithm was successfully used to even verify sequences up to 80-mers. The relative collision energy was typically in the range between 13 and 20%, which allowed in most cases a verification of the reference sequence in a window of at least three consecutive collision energies. To select a proper charge state for fragmentation, a compromise had to be found between high signal intensity and low charge state. Furthermore, by reducing the eluent flow rate during elution of the oligonucleotide, the sequence of a 50-mer was successfully verified from the analysis of 295 fmol of the raw product. COMPAS was proven to be reproducible and was applied to the genotyping of the polymorphic, Y-chromosomal locus M9 contained in a 62-base pair polymerase chain reaction product. (J Am Soc Mass Spectrom 2004, 15, 510 -522)