Method for the identification of a substance in a sample, comprising the following steps: a) Providing an NMR spectrum of the sample containing at least one substance having at least one NMR-active nucleus, b) Converting the NMR spectrum into discrete spectral values, wherein each spectral value has an integral value, specifying the height of an individual line of the NMR spectrum or the height and/or the area of an individual spectral section of the NMR spectrum, whereby each individual spectral section comprises one or multiple lines of the NMR spectrum, and a position value, specifying the position of the line considered or the mean position of the considered spectral section in the NMR spectrum, c) Determining a multitude of integral ratio values, in each case from at least two integral values of the NMR spectrum, wherein each integral ratio value specifies the ratio of the integral values of the underlying spectral values, d) Determining a multitude of distance values, in each case from at least two position values of underlying spectral values of the NMR spectrum, wherein each distance value is calculated as a direct difference of the position values, as a standardized difference of the position values, or as a quotient of the position values, e) Comparing the integral ratio values of the NMR spectrum with corresponding integral ratio values of an NMR reference spectrum of at least one reference substance, f) Selecting a first proper subset from the integral ratio values of the NMR spectrum, wherein the first subset comprises those integral ratio values which correspond to an integral ratio value of the NMR reference spectrum within first tolerance limits that can be given in each case, g) Comparing the distance values of the NMR spectrum with corresponding distance values of the NMR reference spectrum, h) Selecting a second proper subset from the distance values of the NMR spectrum, wherein the second subset comprises those distance values which correspond to a distance value of the NMR reference spectrum within second tolerance limits that can be given in each case, i) Comparing the first subset with the second subset and selecting those integral ratio values and distance values from both subsets as third proper subset which were formed from the same spectral values, j) Deciding whether the substance contained in the sample is identified as the reference substance, with the help of a quality criterion of the values of the third subset, said criterion being determined by comparing these values with the integral ratio values and/or the distance values of the NMR reference spectrum wherein steps e) to j) are repeated with further NMR reference spectra of other reference substances so often until the substance contained in the sample is identified as reference substance or until there are no further NMR reference spectra. a) Providing an NMR spectrum of the sample containing at least one substance having at least one NMR-active nucleus, b) Converting the NMR spectrum into discrete spectral values, wherein each spectral value has an integral value, specifying the height of an individual line of the NMR spectrum or the height and/or the area of an individual spectral section of the NMR spectrum, whereby each individual spectral section comprises one or multiple lines of the NMR spectrum, and a position value, specifying the position of the line considered or the mean position of the considered spectral section in the NMR spectrum, c) Determining a multitude of integral ratio values, in each case from at least two integral values of the NMR spectrum, wherein each integral ratio value specifies the ratio of the integral values of the underlying spectral values, d) Determining a multitude of distance values, in each case from at least two position values of underlying spectral values of the NMR spectrum, wherein each distance value is calculated as a direct difference of the position values, as a standardized difference of the position values, or as a quotient of the position values, e) Comparing the integral ratio values of the NMR spectrum with corresponding integral ratio values of an NMR reference spectrum of at least one reference substance, f) Selecting a first proper subset from the integral ratio values of the NMR spectrum, wherein the first subset comprises those integral ratio values which correspond to an integral ratio value of the NMR reference spectrum within first tolerance limits that can be given in each case, g) Comparing the distance values of the NMR spectrum with corresponding distance values of the NMR reference spectrum, h) Selecting a second proper subset from the distance values of the NMR spectrum, wherein the second subset comprises those distance values which correspond to a distance value of the NMR reference spectrum within second tolerance limits that can be given in each case, i) Comparing the first subset with the second subset and selecting those integral ratio values and distance values from both subsets as third proper subset which were formed from the same spectral values, j) Deciding whether the substance contained in the sample is identified as the reference substance, with the help of a quality criterion of the values of the third subset, said criterion being determined by comparing these values with the integral ratio values and/or the distance values of the NMR reference spectrum