Introduction
In our previous lesson, we established that 12-Tone Equal Temperament (12-TET) achieves perfect transposability by making a significant compromise: every interval, except the octave, is an irrational-number-based approximation of a pure, simple-integer ratio. We observed the "error" or deviation for intervals like the major third and perfect fifth, and I mentioned we would quantify this using a unit called the "cent."
This lesson will formally define that unit. We will explore why a linear scale like Hertz is inadequate for measuring musical pitch, leading us to the necessity of a logarithmic scale. Our learning outcome is to define the cent as a logarithmic unit of pitch and use it to compare intervals across different tuning systems. By the end of this lesson, you will have a precise mathematical and practical tool for analyzing the subtle but crucial differences between tuning systems, a skill that is foundational for both understanding harmony and for advanced sound design in an electronic context.
The Problem with a Linear Scale
Our perception of pitch, much like our perception of loudness, is logarithmic. This means we perceive equal ratios of frequencies as equal steps in pitch, not equal differences in frequency.
Consider the interval of an octave, which always corresponds to a frequency ratio of 2:1.
- An octave above A2 (110 Hz) is A3 (220 Hz), a difference of 110 Hz.
- An octave above A4 (440 Hz) is A5 (880 Hz), a difference of 440 Hz.
Although both are perceived as the same musical interval—an octave—the absolute difference in Hertz is four times larger in the second case. This makes Hertz a clumsy and non-intuitive unit for comparing musical intervals. A half-step in a low register might be a 12 Hz difference, while in a high register, it could be over 100 Hz. We need a unit that reflects our perceptual experience.
To see this demonstrated with clear examples, the following video is quite effective.
The video "All About Cents (Tuning)" from the channel KHansenMusic provides a concise illustration of this problem.
Watch from the beginning to the numerical examples. The presenter compares the Hertz difference for the same half-step interval (G# to A) across three different octaves, clearly showing why a linear scale is problematic for describing pitch perception.
The Cent: A Logarithmic Solution
The solution is to use a logarithmic unit that linearizes our perception of pitch. This unit is the cent.
The system is defined by two simple rules:
- An octave is divided into 1200 cents.
- In 12-Tone Equal Temperament, each of the 12 semitones is exactly 100 cents.
This is immediately intuitive. A major third (4 semitones) is 400 cents, a perfect fifth (7 semitones) is 700 cents, and so on. Since the scale is additive, it directly maps to our perception of musical distance.
Given your background, we can go straight to the formal mathematical definition. The number of cents between two frequencies, and , is given by:
Let's break this down:
- The Ratio : This captures the principle of logarithmic perception; the formula depends on the frequency ratio, not the difference.
- The Logarithm : The base-2 logarithm is chosen specifically because the fundamental interval, the octave, is a ratio of 2. For an octave, , providing a clean base unit for our calculation.
- The Multiplier 1200: This scalar simply scales the result so that one octave (which equals 1 in the calculation) becomes 1200 units, conveniently making each of the 12 semitones in 12-TET equal to 100 cents.
The following paper provides a succinct and formal introduction to this concept.
[PDF] The physics of musical scales: Theory and experiment
This paper from the American Journal of Physics formalizes the concepts we've discussed. It is an excellent resource for grounding your understanding in a rigorous context.
Please read the first part of the paper, specifically the section titled "II. SCALES AND INTERVALS." Focus on the paragraph that begins "Finer changes...", which formally defines the cent and provides the equation we just discussed.
Using Cents to Compare Tuning Systems
Now we have the tool to precisely quantify the compromises of 12-TET. Let's revisit the perfect fifth and major third.
Perfect Fifth:
- 12-TET Fifth: The ratio is . The cent value is cents exactly.
- Just Fifth: The ratio is . The cent value is cents.
- Difference: The 12-TET fifth is about 2 cents flat compared to the pure fifth. This is a very small difference, generally considered imperceptible to all but the most trained ears.
Major Third:
- 12-TET Major Third: The ratio is . The cent value is cents exactly.
- Just Major Third: The ratio is . The cent value is cents.
- Difference: The 12-TET major third is about 13.7 cents sharp compared to the pure, consonant third. This is a much more significant deviation and is clearly audible as a "beating" or slight dissonance when the two notes are played together.
This ability to attach a single, perceptually relevant number to any interval is incredibly powerful. The image below provides a clear, side-by-side comparison of Equal Temperament and a just tuning system (5-Limit Tuning), with all values given in cents.

For a more comprehensive comparison across multiple systems, the following resource is invaluable.
Maths of music - Science of Uselessness
The webpage "Maths of music" provides an excellent summary table that uses cents to compare Just Intonation, Pythagorean tuning, and Meantone temperament against the 12-TET baseline.
Focus on the table under the heading "| Note | Interval from C...". Observe the "Deviation from equal temperament" column. Notice how the deviations are not uniform; some intervals in just intonation are sharp (+) relative to 12-TET, while others are flat (-). This table is a perfect demonstration of how cents provide a common language for comparing these disparate systems.
Application in Electronic Music
Your goal is to make electronic music, so how does this theoretical knowledge translate into practice?
-
Sound Design (Detuning): A foundational technique in synthesis is to use two or more oscillators playing the same note but slightly detuned from one another. This detuning is almost always measured in cents. A slight detuning of ±3-10 cents creates a thick, "chorus"-like effect. A wider detuning of ±25-50 cents can create dissonant, metallic textures common in industrial music. Your understanding of cents allows you to control this with precision.
-
Microtonality and Experimental Music: Because cents provide a continuous scale of pitch, they are the language of microtonal music—music that uses intervals outside the standard 12 semitones. You can design scales based on any cent value, such as a 24-step scale where each step is 50 cents (a quarter tone). Many modern software synthesizers and DAWs support loading custom tuning files (e.g.,
.sclor.tunfiles) which are essentially lists of cent values for each note of a scale, allowing you to break free from equal temperament entirely. -
Analysis: When analyzing a piece of music, especially older works or music from other cultures, you may notice that the tuning doesn't quite match the piano. Using cents allows you to describe how it's different. Is the third flat? Is the fifth sharp? This analytical skill can inform your own productions if you wish to emulate a certain feel.
Conclusion
This lesson has formalized the cent as the fundamental unit for measuring musical intervals. It is a tool born from the logarithmic nature of human hearing, designed to be mathematically rigorous and perceptually intuitive.
Our key takeaways are:
- Logarithmic Perception: We perceive pitch based on frequency ratios, not absolute differences, making linear scales like Hertz impractical for music.
- The Cent Defined: The cent is a logarithmic unit where one octave is 1200 cents and one 12-TET semitone is 100 cents. The formal definition is .
- A Universal Comparator: Cents provide a standardized, additive scale to precisely quantify and compare the size of intervals across different and incompatible tuning systems (e.g., 12-TET, Pythagorean, Just Intonation).
- Practical Tool: In electronic music, cents are used directly in synthesizer parameters for detuning and are the basis for exploring microtonal and experimental tuning systems.
So far in this module, we have focused almost exclusively on pitch. But pitch is only one dimension of sound. The other is timbre—the quality or color that distinguishes a violin from a trumpet playing the same note. In our next and final lesson for this module, we will explore timbre by returning to the harmonic series and analyzing the harmonic content of the foundational waveforms used in synthesis.