 In music theory , the interval or perceptual difference between two tones is determined by the ratio of their frequencies . Intervals coming from rational number ratios with small numerators and denominators are perceived as particularly euphonious . The simplest and most important of these intervals is the octave , a frequency ratio of 2 : 1 . The number of octaves by which two tones differ is the binary logarithm of their frequency ratio . 
