Web apps: Bain, Ratio to Cents; Matthew Yacavone, Xen-calc
See also: Mathematical Terms & Concepts
If we divide a
string of length L and fundamental frequency f
into segments; e.g.,
1/2 L, 1/3 L, 1/4 L, 1/5 L, etc.,
plucking those segments will produce the following frequencies, respectively:
2/1 f, 3/1 f, 4/1 f, 5/1 f, etc.
For more information
about the relationship between string length and pitch
interval, see the Wikipedia article Mersenne's
Laws. For more information about the relationship between pitch
and frequency see the Wikipedia article pitch
(music).
Reciprocal
relationship
Be sure to notice the inverse relationship between L and f
above; e.g., 1/2 & 2/1, 1/3 & 3/1, 1/4 & 4/1,
1/5 & 5/1, etc. In mathematics, the
reciprocal of x is
defined to be 1/x;
e.g.,
Example. The reciprocal of 4/3 is calculated: 1 / (4/3) = 1 * (3/4) = 3/4
For more
information, see the Xenharmonic Wiki article interval.
For more
information, see the Wolfram MathWorld article Reduced
fraction or Wikipedia, Simplifying
(reducing) fractions.
Decimal
expansion
We can also represent a fraction
using a decimal expansion, where we divide the
fraction's numerator by its denominator as shown in the following
examples:
2/1 = 2.0, 3/2 = 1.5, 4/3 = 1.333..., 5/4 = 1.25, etc.
For more
information, see Decimal
expansion in Wolfram MathWorld.
1:1
In tuning theory, the ratio 1:1 serves as a very
important point of reference. For example, it may be used to
represent the unison interval {XW} or the fundamental
of a harmonic series. Most importantly, it is used to represent
the tonic degree in a scale, where every over pitch in
the scale is expressed as a precise frequency ratio in relation to
the prime unity 1:1 (Partch 1947).
For more information, see the Xenharmonic Wiki articles unison and scale, respectively.
Octave
reduction
In tuning theory, pitches and intervals are often
expressed as ratios within the 1/1 to 2/1 octave; i.e., as
fractions under octave reduction {XW}.
Examples. The frequency ratios 1/1, 2/1, 3/1, 4/1 & 5/1 are equivalent to the following ratios under octave reduction, respectively:
1/1, 2/1,
3/2, 2/1 & 5/4
For more information, see the Xenharmonic Wiki article octave reduction.
2/1,
3/2, 4/3, 5/4, 6/5, 7/6, 8/7, 9/8, 10/9, etc.
For more information see Wikipedia Superparticular ratio and Pythagorean means.
In twelve-tone equal temperament (abbr. 12-tet; See also12-edo, or 12ed2) {WP; XW}, the octave (2/1) is divided into 12 equal-sized intervals called semitones. The size of each semitone is equal to the twelfth root of two:
21/12 ≈ 1.059
In 12-tet, the chromatic scale may be represented using fractional powers of 2:
20/12, 21/12, 22/12, 23/12, 24/12, 25/12, 26/12, 27/12, 28/12, 29/12, 210/12, 211/12, 212/12
which may be
simplified to:
1/1, 21/12, 21/6, 21/4, 21/3, 25/12, 21/2, 27/12, 22/3, 23/4, 25/6, 211/12, 2/1
Here is the complete chromatic scale using EDO-step notation (n\n-EDO), where n is the nth step in n-EDO, with the diatonic scale highlighted using bold type:
EDO is an abbreviation for equal division of the octave. For more information, see the Xenharmonic Wiki article EDO. For other important EDOs, see Marc Sabat's article Introduction to EDO tunings on the Ableton website.
The cent
is a logarithmic
unit of pitch interval proposed by the nineteenth-century English
mathematician A.J.
Ellis (1814-90). By definition, there are 1200 cents in an
octave and 100 cents in a 12-tet
semitone. To compare the size of two interval frequency ratios, we
will typically convert ratios to cents
(¢). The following formula may be used to convert
an interval frequency ratio (f1/f2)
to cents (c):
c = 1200 log2 (f1/f2)
For example, rounding to the nearest cent, the ratio 3/2 is equivalent to 702¢, or more precisely:
1200 log2 (3/2) ≈ 701.995¢
when rounding to three decimal places, or nearest 1/1000 cent. The following mobile app will perform this calculation:
Calculator: Bain, Ratio to Cents
Here is the complete
chromatic scale using cents, with the diatonic scale highlighted
in bold type:
0, 100, 200,
300, 400, 500, 600, 700, 800, 900,
1000, 1100, 1200
For a multi-purpose
interval calculator/converter that can play any interval, see
Matthew Yacavone's Xen-calc.
For other interval size units, see the Xenharmonic Wiki article Interval size
measure.
A comma is a small difference that arises when a note is tuned in different ways. Here are some of the commas we will encounter in our study of tuning theory. For more information, see the Xenharmonic Wiki article comma.
Other commas {WP} (Gann 2019, pp. 35-36)
etc.
What is more, this web app can play any interval frequency ratio:
Matthew Yacavone, Xen-calc
Links
Huygens-Fokker Foundation: Centre for Microtonal Music {HFF} – https://mathworld.wolfram.com
Wikipedia {WP} – https://www.wikipedia.org
Wolfram MathWorld {MathWorld} – https://mathworld.wolfram.com
Xenharmonic Wiki {XW} – https://en.xen.wiki
References
See: BAIN
MUSC 726T Bibliography
Duffin, Ross W. 2006. "Just
Intonation in Renaissance Theory and Practice." Music Theory
Online 12/3. {MTO}
Gann, Kyle. 2019. The
Arithmetic of Listening: Tuning Theory and History for the
Impractical Musician. Urbana: University of Illinois Press. {GB}
Hero, Barbara and R. M.
Foulkrod, 1999. "The Lambdoma matrix and harmonic intervals." IEEE
Engineering in Medicine and Biology Magazine 18/2
(March-April 1999): 61–73. {Lambdoma.com}
Partch, Harry. 1974/1949. Genesis
of a Music, 2nd ed. New York: Da Capo Press. {GB}
Updated: January 19, 2026