How to Use the Semitone Calculator

Begin by entering two frequencies in hertz into the Frequency 1 and Frequency 2 fields. The calculator immediately displays the interval between them in both semitones and cents—the two most useful ways to express pitch distances.

You can also work backwards: input one frequency and the number of semitones (or cents) separating it from another note to find the target frequency. For instance, if you want to know the frequency that lies 12 semitones (one octave) above 440 Hz, enter 440 and 12 semitones; the tool returns 880 Hz.

All results appear in real time, making this especially useful for:

  • Audio engineering and frequency matching
  • Musical instrument tuning
  • Pitch analysis and comparison
  • Understanding tuning standards

Understanding Semitones and Musical Intervals

A semitone, or half step, is the smallest interval in Western music. On a keyboard, it's the distance between any two adjacent keys (white or black). On a guitar fretboard, it's one fret. Within a 12-tone equal temperament system—the standard tuning method—an octave spans exactly 12 semitones, each equally spaced.

This equal spacing means the frequency ratio between consecutive semitones is constant: each step multiplies the frequency by the 12th root of 2 (approximately 1.0595). That's why moving up an octave (12 semitones) always doubles the frequency, regardless of which note you start from.

Musically, semitones define scales and chords. A major scale follows the pattern: whole step, whole step, half step, whole step, whole step, whole step, half step. This precise interval structure is why the same major scale sounds identical on any instrument, from C major to F♯ major.

Converting Between Frequencies and Semitones

To find the number of semitones between two frequencies, take the logarithm of their ratio. To find a frequency at a given interval from a known pitch, multiply by a power of two.

f₂ = f₁ × (2^(n/12))

n = 12 × log₂(f₂ / f₁)

cents = 100 × n

  • f₁, f₂ — Frequencies in hertz (Hz)
  • n — Number of semitones
  • cents — Interval measured in cents (1/100th of a semitone)

The Cent: A Fine-Grained Unit of Pitch

While semitones suit musical conversation, cents provide finer precision for technical work. Defined in 1885 by Alexander Ellis, a cent divides an octave into 1200 equal parts. This means one semitone equals 100 cents, making conversions straightforward: multiply semitones by 100.

Cents are invaluable because the same frequency difference in cents remains identical across octaves, whereas the hertz difference compounds. For example, the interval from 220 Hz to 440 Hz (one octave) measures 1200 cents, and so does the interval from 440 Hz to 880 Hz. But in hertz, the first spans 220 Hz while the second spans 440 Hz—the same musical interval, different physical distance.

This unit proves essential for:

  • Precise instrument tuning (a well-tuned note usually stays within ±5 cents)
  • Comparing tuning standards (A440 vs. A432 differs by about 32 cents)
  • Analyzing audio deviations from target pitch

Common Pitfalls When Working with Pitch Intervals

Avoid these frequent mistakes when calculating or thinking about frequency relationships.

  1. Confusing Hz differences with interval size — A 10 Hz jump is tiny at 440 Hz but enormous at 55 Hz—both are the same musical interval (about 39 cents). Always use semitones or cents to compare intervals meaningfully across the audio spectrum.
  2. Forgetting the logarithmic nature of pitch — Frequency ratios, not differences, determine intervals. Doubling a frequency always increases pitch by one octave (1200 cents), whether you go from 100 Hz to 200 Hz or 4000 Hz to 8000 Hz. This is why musical scales feel evenly spaced despite unequal hertz spacing.
  3. Assuming tuning standards don't matter — The reference pitch A (often 440 Hz internationally, but sometimes 432 Hz or 442 Hz in orchestras) shifts all other notes proportionally. If your source material uses a non-standard reference, you may observe pitch discrepancies across semitones—check the tuning standard first.
  4. Rounding prematurely in multi-step calculations — When converting frequencies to semitones and then to cents, intermediate rounding compounds errors. Maintain full precision until the final result, especially for small intervals where cents precision matters.

Frequently Asked Questions

What is the mathematical relationship between frequency and semitones?

Semitones scale logarithmically with frequency. When you ascend by n semitones, the frequency multiplies by 2^(n/12). This is why equal intervals in music sound equally spaced to the human ear, even though the hertz differences grow larger at higher pitches. For example, 440 Hz to 880 Hz (one octave, 12 semitones) sounds identical in pitch distance to 110 Hz to 220 Hz, despite the first spanning 440 Hz and the second only 110 Hz.

How do you calculate the cents between two frequencies?

First, find the number of semitones using n = 12 × log₂(f₂ / f₁). Then multiply by 100 to convert to cents: cents = n × 100. Alternatively, use the combined formula: cents = 1200 × log₂(f₂ / f₁). A frequency pair separated by 31.767 cents, such as 432 Hz and 440 Hz, represents a difference of approximately 0.318 semitones—imperceptible to most listeners but significant for tuning systems.

Why is the octave divided into 12 semitones?

The 12-tone equal temperament system arose from a compromise: it divides the octave into 12 equal steps such that simple ratios (major thirds, perfect fifths) remain approximately in tune across all keys. Earlier tuning systems like just intonation had perfect intervals in some keys but sour ones in others. The 12-tone system, by making all semitones equally small (2^(1/12) ≈ 1.0595), allows music to modulate freely without noticeable tuning drift.

How accurate is ±5 cents for instrument tuning?

Five cents is roughly the threshold of just-noticeable difference for most listeners when comparing two steady tones. Professional musicians and audio engineers typically tune to within ±2 cents for critical applications like orchestral recording or precision synthesis. At larger deviations—say, 20 cents—the pitch error becomes obvious as beating or chorus effects if two notes sound together.

Can you express intervals in semitones even for non-equal temperament systems?

Yes, semitone calculations work conceptually for any tuning system, but the results will differ numerically from equal temperament. In just intonation, for instance, a major third is a frequency ratio of 5:4, which equals approximately 386 cents—slightly less than the 400 cents (4 equal-temperament semitones) used in modern tuning. The formulas remain valid; only the interpretation of semitone boundaries changes.

Why do some orchestras tune to A432 Hz instead of A440 Hz?

A440 became the international standard in 1939, but some musicians and composers prefer A432, citing historical precedent, acoustical properties, or personal preference. The frequency difference between 432 and 440 Hz is approximately 31.8 cents—noticeable to trained ears but not drastic. Switching standards shifts all subsequent pitches proportionally, so an entire piece tuned to A432 will sound slightly lower than the same work at A440, though the relative intervals remain identical.

More other calculators (see all)