A new algorithm is proposed to determine the type-II restriction endonucleases' recognition site knowing the digested DNA sequence and fragment lengths in an actual case. The algorithm is implemented for the Commodore 64 microcomputer.