An apparatus for determining a spectral ratio between a first signal having a first spectrum which depends on a biological quantity, and a second signal having a second spectrum which depends on a biological quantity, the first signal and the second signal having a plurality of harmonics of a periodic signal, the apparatus including a computer for computing a first wave ratio between a spectral value of the first spectrum which has a frequency of a harmonic of the plurality of harmonics, and a spectral value of the second spectrum which has the frequency of the harmonic and for computing a second wave ratio between a spectral value of the first spectrum which has a frequency of another harmonic of the plurality of harmonics, and a spectral value of the second spectrum which has the frequency of the other harmonic. In addition, the apparatus includes an optimizer.