💰 Finance

Semitone Calculator

Free semitone calculator to convert between notes and frequencies. Instantly find intervals, cents, and pitch shifts for music theory.

⚡ Free to use 📱 Mobile friendly 🕒 Updated: May 29, 2026
🧮 Semitone Calculator
📊 Frequency Ratios of Intervals in a 12-Tone Equal Temperament Scale

What is Semitone Calculator?

A semitone calculator is a specialized digital tool that computes the frequency ratio, pitch difference, or interval distance between two musical notes, measured in semitonesΓÇöthe smallest standard interval in Western music. This tool is essential for musicians, audio engineers, and music producers who need to transpose melodies, tune instruments, or understand the mathematical relationship between frequencies on the equal-tempered scale. The semitone, also known as a half step, represents a frequency ratio of the 12th root of 2 (approximately 1.059463), making it the fundamental building block of chromatic scales and modern harmonic theory.

Guitarists use semitone calculators to determine fret positions for bending notes or capo placement, while vocal coaches rely on them to adjust key signatures for singers without straining their range. Electronic music producers frequently employ these calculators to fine-tune oscillator frequencies, create microtonal effects, or map MIDI note numbers to specific hertz values. This free online semitone calculator eliminates manual math errors and provides instant conversions between frequency (Hz), MIDI note numbers, and semitone intervals, saving hours of calculation time during recording sessions or live performances.

Unlike generic frequency converters, this tool is optimized for the 12-tone equal temperament system (12-TET), the global standard for modern instruments and digital audio workstations (DAWs). It handles both ascending and descending intervals, supports fractional semitones for microtonal adjustments, and displays results in cents (hundredths of a semitone) for precision tuning tasks. Whether you are a beginner learning music theory or a professional mastering engineer, this calculator delivers accurate, real-time results without requiring any software installation.

How to Use This Semitone Calculator

Using this semitone calculator is straightforward, requiring only two inputs to generate accurate pitch interval information. The interface is designed for both desktop and mobile devices, with clear labels and instant feedback. Follow these five simple steps to calculate any semitone interval between notes or frequencies.

  1. Select Your Input Mode: Choose between "Note to Note" or "Frequency to Frequency" mode using the toggle button. Note-to-note mode lets you pick two notes from dropdown menus (C, C#, D, etc., with octave numbers 0ΓÇô8), while frequency mode accepts numeric values in hertz (Hz) ranging from 16 Hz (lowest organ pedal) to 20,000 Hz (upper human hearing limit).
  2. Enter the Starting Value: For note mode, click the first dropdown and select the root note (e.g., A4 = 440 Hz). For frequency mode, type the starting frequency in the "From" field. The calculator automatically displays the corresponding MIDI note number and scientific pitch notation beside your entry for verification.
  3. Enter the Target Value: Input the second note or frequency in the "To" field. The tool will immediately calculate the interval in semitones (positive for ascending, negative for descending) and display the result in cents. For example, entering C4 (261.63 Hz) to G4 (392.00 Hz) yields 7.00 semitonesΓÇöa perfect fifth interval.
  4. Adjust for Microtonal Precision: If your interval is not an exact whole number of semitones, the calculator displays fractional values (e.g., 3.45 semitones). Use the "Cents Display" checkbox to toggle between semitones and cents (1 semitone = 100 cents). This is crucial for tuning instruments with non-standard temperaments or correcting pitch drift in analog synthesizers.
  5. Review Additional Outputs: Below the main result, the calculator shows the frequency ratio (e.g., 1.5:1 for a perfect fifth), the interval name (major third, minor seventh, etc.), and the number of half steps on a piano keyboard. Click the "Copy Result" button to paste the data into your DAW, sheet music, or tuning software.

For best accuracy, always ensure your frequency inputs are precise to at least two decimal places. The calculator automatically rounds to four decimal places in results, but accepts inputs up to six decimal places for scientific applications. If you receive an error message, verify that your frequency values fall within the 16ΓÇô20,000 Hz range and that note names are spelled correctly (use "C#" not "Db" for sharp notes, though the tool also accepts flat notation in an alternate mode).

Formula and Calculation Method

The semitone calculator uses the fundamental logarithmic relationship between pitch and frequency, derived from the 12-tone equal temperament system. This formula ensures that each semitone represents an equal multiplicative step in frequency, allowing consistent transposition across all octaves. The calculation is based on the fact that one octave (12 semitones) exactly doubles the frequency, making the semitone ratio the 12th root of 2.

Formula
n = 12 ├ù logΓéé(fΓéé / fΓéü)  or  n = (12 / ln2) ├ù ln(fΓéé / fΓéü)

Where n is the number of semitones (positive for higher pitch, negative for lower), fΓéé is the target frequency in hertz, and fΓéü is the starting frequency in hertz. The natural logarithm (ln) version is used for computational efficiency, though the base-2 logarithm (logΓéé) is mathematically equivalent. For note-to-note calculations, the tool first converts both notes to their standard frequencies using the reference A4 = 440 Hz, then applies the same formula.

Understanding the Variables

The variable fΓéü (starting frequency) represents the pitch of your initial note, measured in cycles per second (hertz). In standard tuning, A4 equals exactly 440 Hz, but the calculator accepts any reference frequency if you use the manual input mode. The variable fΓéé (target frequency) is the pitch you want to compare, and the ratio fΓéé/fΓéü determines the interval size. When fΓéé is greater than fΓéü, the result is positive (ascending interval); when fΓéé is smaller, the result is negative (descending interval).

The constant 12 in the formula comes from the 12 semitones in an octave. The logarithmic function ensures that doubling the frequency (fΓéé/fΓéü = 2) yields exactly 12 semitones (one octave), while a frequency ratio of 1.059463 (the 12th root of 2) yields exactly 1 semitone. This logarithmic scaling matches human pitch perception, which is logarithmic rather than linearΓÇöwe hear equal pitch differences as equal ratio changes, not equal frequency changes.

Step-by-Step Calculation

To manually calculate the semitone interval between two frequencies, first divide the target frequency by the starting frequency to get the ratio. For example, if f₁ = 261.63 Hz (middle C) and f₂ = 392.00 Hz (G above middle C), the ratio is 392.00 / 261.63 = 1.498. Next, take the base-2 logarithm of this ratio: log₂(1.498) ≈ 0.583. Finally, multiply by 12: 0.583 × 12 = 7.00 semitones. This confirms that a perfect fifth (the interval between C and G) spans exactly 7 semitones in equal temperament.

For fractional results, such as calculating the interval between A4 = 440 Hz and a slightly sharp note at 445 Hz, the ratio is 445/440 = 1.01136. The base-2 logarithm of 1.01136 is approximately 0.0163, and multiplying by 12 gives 0.1956 semitones (about 19.6 cents). This level of precision is essential for tuning violin strings or adjusting synthesizer oscillators to match a reference pitch within 1ΓÇô2 cents accuracy.

Example Calculation

Consider a real-world scenario where a guitarist needs to tune their instrument to match a piano that is slightly out of tune. The piano's A4 key produces 442 Hz instead of the standard 440 Hz, and the guitarist wants to know how many cents sharp their open A string (normally 110 Hz for the A2 string) should be adjusted to stay in tune with the piano.

Example Scenario: A guitarist tunes to a piano where A4 = 442 Hz. The guitarist's open A string (A2) should normally be 110 Hz. How many semitones and cents should the guitarist adjust the A2 string to match the piano's reference? The guitarist uses the semitone calculator with f₁ = 110 Hz (standard A2) and f₂ = 110.5 Hz (calculated by scaling the piano's offset: 442/440 × 110 = 110.5 Hz).

First, calculate the ratio: 110.5 / 110 = 1.004545. Then compute log₂(1.004545) ≈ 0.00654. Multiply by 12: 0.00654 × 12 = 0.0785 semitones. Multiply by 100 to convert to cents: 0.0785 × 100 = 7.85 cents. The result indicates the guitarist needs to tighten the A string by approximately 7.85 cents (or 0.0785 semitones) to match the piano's tuning. In practical terms, this is a very slight adjustment—less than one-tenth of a semitone—which would be barely noticeable to untrained ears but critical for ensemble playing.

The calculator also displays this interval as a frequency ratio of 1.0045:1 and notes that it is less than a standard semitone (which would be 1.0595:1). This example demonstrates how the semitone calculator handles microtonal adjustments that are common in live performance settings where instruments drift due to temperature or humidity changes.

Another Example

A music producer is creating an electronic track and wants to transpose a vocal sample up by a major third (4 semitones) without changing the sample's duration. The original sample has a fundamental frequency of 200 Hz (roughly G3). Using the calculator in "Frequency to Frequency" mode, the producer enters f₁ = 200 Hz and sets the target interval to +4 semitones. The calculator reverses the formula to find f₂: f₂ = f₁ × 2^(n/12) = 200 × 2^(4/12) = 200 × 2^(0.3333) = 200 × 1.2599 = 251.98 Hz. The result shows that the transposed sample should have a fundamental frequency of approximately 252 Hz (approximately B3). The producer can then use this value to adjust the pitch-shifting plugin in their DAW, ensuring the transposition is mathematically exact and harmonically consistent with the track's key of E major.

Benefits of Using Semitone Calculator

This semitone calculator transforms a complex logarithmic calculation into an instantaneous, error-free result, saving musicians and audio professionals countless hours of manual computation. Beyond simple convenience, the tool provides several distinct advantages that enhance both creative workflow and technical precision in music production, performance, and education.

  • Eliminates Calculation Errors: Manual semitone calculations require logarithms, exponentiation, and careful handling of decimal placesΓÇöall prone to human error, especially under time pressure during recording sessions. This calculator performs every computation to eight decimal places of precision, ensuring that tuning adjustments, transpositions, and interval analyses are mathematically flawless. A single miscalculation of 0.5 semitones can make a performance sound out of tune, but the calculator guarantees exact results every time.
  • Supports Both Whole and Fractional Semitones: Unlike basic interval charts that only show whole-number semitone values (e.g., 1, 2, 3 semitones), this calculator handles fractional intervals down to 0.01 semitones (1 cent). This is critical for microtonal music, just intonation adjustments, and fine-tuning analog synthesizers where offsets of 10ΓÇô20 cents dramatically affect timbre and harmonic consonance. Producers working with non-Western scales (e.g., 24-tone Arabic maqam) can use fractional semitone calculations to map exotic intervals to standard MIDI controllers.
  • Provides Multiple Output Formats: The tool simultaneously displays results in semitones, cents, frequency ratio, interval name (unison, minor second, etc.), and MIDI note numbers. This multi-format output allows users to choose the most relevant metric for their applicationΓÇöguitarists might prefer semitones for fret positioning, while mastering engineers might need cents for EQ adjustments. The interval name feature also helps music theory students instantly identify intervals without memorizing 12 different pitch relationships.
  • Enhances Creative Possibilities: By removing the mathematical barriers to exploration, the calculator encourages musicians to experiment with unusual intervals and non-standard tunings. A composer can quickly calculate the frequency for a note 19 semitones above a given pitch (a compound minor third), or determine how many semitones separate two microtonal frequencies from different scales. This freedom fosters innovation in genres like ambient, experimental electronic, and film scoring where unconventional harmonies are valued.
  • Free and Accessible Without Installation: Unlike specialized music software that costs hundreds of dollars or requires complex setup, this calculator runs entirely in any modern web browser on desktop, tablet, or smartphone. There is no registration, no data upload, and no limit on the number of calculations. Music teachers can share the link with students for homework, and touring musicians can access it on their phones during soundchecks without carrying additional gear.

Tips and Tricks for Best Results

To maximize the accuracy and usefulness of this semitone calculator, apply these expert-level techniques that go beyond basic operation. Understanding these nuances will help you avoid common pitfalls and achieve professional-grade results in tuning, transposition, and music theory analysis.

Pro Tips

  • Always use the "Frequency" input mode when working with recorded audio samples, as the "Note" mode assumes standard A4 = 440 Hz tuning. If your source material is tuned to 432 Hz or 415 Hz (Baroque pitch), manually input the frequencies to avoid systematic errors of up to 31 cents per octave.
  • For transposing entire chord progressions, calculate the semitone interval between the root notes of the original key and the target key, then apply that same interval to every chord in the progression. For example, moving from C major to Eb major requires a +3 semitone shift for all chords (CΓåÆEb, FΓåÆG#, GΓåÆBb).
  • When tuning string instruments, use the calculator to find the exact frequency offset for each string relative to a reference pitch. For a guitar tuned to standard EADGBE but with the low E string intentionally detuned to D (a whole step down), calculate the interval as -2 semitones from E2 to D2 (82.41 Hz to 73.42 Hz) and tune accordingly.
  • Combine the semitone calculator with a frequency-to-MIDI converter for advanced DAW workflows. Calculate the desired transposition in semitones, then adjust MIDI note numbers by the same amount. For instance, raising a C3 (MIDI note 48) by 4 semitones yields E3 (MIDI note 52), which you can input directly into your piano roll.

Common Mistakes to Avoid

  • Confusing Octave Numbers: A common error is entering C4 (middle C, 261.63 Hz) when you mean C5 (523.25 Hz). This results in a 12-semitone (one octave) error. Always double-check the octave number in the dropdownΓÇöC4 is the middle of a piano keyboard, while C3 is one octave lower. The calculator displays the note's frequency beside the dropdown to help verify.
  • Using Incorrect Reference Frequencies: Some users assume A4 is always 440 Hz, but historical and regional variations exist (e.g., 442 Hz in many European orchestras, 415 Hz for Baroque instruments). If your instrument or recording uses a non-standard reference, manually input the frequencies rather than relying on note names. The calculator's "Note" mode defaults to 440 Hz, which may introduce systematic errors of 5ΓÇô30 cents.
  • Misinterpreting Negative Results: A negative semitone value (e.g., -5 semitones) means the target pitch is lower than the starting pitch. Users sometimes mistakenly take the absolute value and assume an ascending interval. Always read the sign: -5 semitones from C4 is G3 (descending perfect fourth), not G4 (ascending perfect fourth). The calculator labels the result as "Descending" or "Ascending" to prevent this confusion.
  • Forgetting to Account for Transposition in Cents: When making microtonal adjustments of less than 1 semitone, remember that 100 cents = 1 semitone. A result of 0.5 semitones equals 50 cents, which is a quarter-toneΓÇöa significant pitch shift in most musical contexts. Using the cents display mode helps avoid rounding errors when working with small intervals.

Conclusion

The semitone calculator is an indispensable tool for anyone working with pitch, providing instant, accurate conversions between frequencies, notes, and intervals using the mathematical foundation of 12

Frequently Asked Questions

A Semitone Calculator is a tool that computes the number of semitones (the smallest interval between two adjacent notes in a 12-tone equal temperament scale) between two musical pitches. It measures the frequency ratio or the pitch distance, typically by inputting two frequencies in Hertz or two note names (e.g., C4 and E4). For example, inputting 440 Hz (A4) and 523.25 Hz (C5) would yield an output of 3 semitones, indicating a minor third interval.

The core formula used is: number of semitones = 12 × log₂(f₂ / f₁), where f₁ is the reference frequency and f₂ is the target frequency. For example, calculating the interval from 440 Hz to 880 Hz gives 12 × log₂(880/440) = 12 × log₂(2) = 12 semitones, exactly one octave. The calculator also often uses the reciprocal formula for converting semitones back to a frequency: f₂ = f₁ × 2^(n/12).

Semitone Calculator values typically range from 0 to 120 semitones, covering up to 10 octaves, which encompasses the full audible human hearing range (roughly 20 Hz to 20,000 Hz). A "normal" musical interval might be 0 semitones (unison), 12 semitones (octave), or any integer value like 7 (perfect fifth) or 5 (perfect fourth). For practical tuning, deviations smaller than 0.1 semitones (10 cents) are considered acceptable for most instruments, with 0.01 semitone precision being typical for high-accuracy calculators.

This Semitone Calculator typically achieves an accuracy of ┬▒0.01 semitones (about 1 cent) when using precise frequency inputs, matching the resolution of many professional strobe tuners. However, it depends entirely on the accuracy of the input frequenciesΓÇöif you enter 440.0 Hz and 466.2 Hz, the result will be exactly 1.00 semitones. In contrast, professional chromatic tuners with built-in microphones may have ┬▒0.5 cent accuracy due to environmental noise, but this calculator is mathematically exact for given numbers.

A major limitation is that it assumes 12-tone equal temperament (12-TET), meaning it cannot directly handle just intonation or microtonal scales that use different divisions of the octave (e.g., 19 or 24 semitones). Additionally, it requires exact frequency inputsΓÇöif you input a frequency like 441.5 Hz for A4, the calculator will treat it as valid, but in reality, that pitch is out of tune by about 6 cents. It also cannot account for inharmonicity found in piano strings or acoustic drift in vocal performances.

Unlike a tuning fork, which provides only a single reference pitch (e.g., 440 Hz for A4), the Semitone Calculator can instantly compute intervals between any two frequencies, such as 261.63 Hz (C4) and 329.63 Hz (E4) giving 4 semitones. Compared to ear training, which relies on subjective perception and can have a margin of error of ┬▒10 cents for untrained listeners, the calculator provides objective numerical precision down to 0.01 semitones. However, it lacks the contextual understanding of musical key or harmonic function that a trained musician might use.

No, this is a common misconception. While the calculator uses the 12-semitone-per-octave formula, it can still calculate intervals for any two frequencies regardless of musical tradition. For example, if you input 220 Hz and 240 Hz, it outputs 1.49 semitones, which might correspond to a microtonal interval used in Indian or Arabic music. The calculator does not impose a scale; it merely computes the logarithmic distance. However, it does not label intervals with traditional names like "maqam" or "raga," so users must interpret the numerical result themselves.

A guitar player can use a Semitone Calculator to precisely transpose a riff from one key to another. For instance, if a riff starts on a note at 196 Hz (G3) and you want to shift it up by 5 semitones to match a singer's range, the calculator tells you the new starting frequency is 196 × 2^(5/12) ≈ 261.63 Hz (C4). This allows you to tune your guitar or capo placement accurately, ensuring every note in the riff is transposed correctly without relying on ear or trial-and-error fretboard experimentation.

Last updated: May 29, 2026 · Bookmark this page for quick access

🔗 You May Also Like