Calculators.Life Calculator
Physics

Semitone Calculator

Input Parameters

Scenarios

Computed Results

Semitone Difference
7
Cents Difference700
Frequency Ratio1.4983
Standard Interval NamePerfect 5th
Resulting Frequency (Hz)392

The semitone calculator determines the musical interval, cents difference, and frequency ratio between two notes or frequencies. It also allows you to shift a starting frequency by a specific number of semitones to find the resulting pitch, making it a practical tool for audio engineering, instrument tuning, and music theory.

How to Use the Calculator

This tool operates in three distinct modes depending on the information you have:

  1. Notes Mode: Select a starting note and octave, then choose a target note and octave. The calculator will determine the interval and semitone difference between them.
  2. Frequencies Mode: Enter two specific frequencies (in Hz) to calculate the exact semitone distance and frequency ratio between them.
  3. Semitone Shift Mode: Enter a starting frequency and a positive or negative semitone shift to calculate the resulting target frequency.

Formulas and Calculation Method

The relationship between musical pitch and frequency is logarithmic. In Western music, an octave consists of 12 semitones, and moving up one octave exactly doubles the frequency.

Frequency to Semitones

To find the number of semitones between two frequencies, the calculator uses the base-2 logarithm of their ratio:

Semitones = 12 × log₂(Frequency 2 ÷ Frequency 1)

Semitone Shift to Frequency

To calculate a new frequency after shifting by a specific number of semitones, the tool applies the frequency ratio:

Frequency Ratio = 2^(Semitones ÷ 12)
Resulting Frequency = Starting Frequency × Frequency Ratio

Inputs and Outputs

Input/OutputDescription
Calculation ModeThe method used for the calculation (Notes, Frequencies, or Semitone Shift).
Starting & Target NotesThe musical notes and their respective octaves (used in Notes mode).
Frequency 1 & 2 (Hz)The starting and target frequencies in Hertz (used in Frequencies mode).
Semitone Shift (st)The number of half-steps to transpose the pitch up or down.
Semitone DifferenceThe total number of half-steps between the two pitches.
Cents DifferenceThe interval measured in cents (1 semitone = 100 cents).
Frequency RatioThe mathematical multiplier between the two frequencies.
Standard Interval NameThe musical name for the interval (e.g., Perfect 5th, 1 Octave).

Verified Calculation Scenarios

Here are examples of how the calculator processes different modes and inputs:

Scenario 1: Interval Between Specific Notes

Calculating the distance from Note 0 (Octave 3) to Note 5 (Octave 4):

Scenario 2: Interval Ratio Between Frequencies

Analyzing the distance between 220 Hz and 440 Hz:

Scenario 3: Negative Semitone Shift

Transposing a starting frequency of 880 Hz down by 12 semitones:

Scenario 4: High Frequency Shift

Shifting a 12,000 Hz audio signal up by 24 semitones:

Practical Use Cases

Understanding semitone distances and frequency ratios is useful in several technical and creative fields. Audio engineers use these calculations to pitch-shift samples without losing harmonic alignment. Musicians and theorists use semitone math to identify complex intervals across multiple octaves. Additionally, synthesizer programmers rely on exact frequency ratios to design FM synthesis patches and tune oscillators accurately.

Frequently Asked Questions

What is a semitone?

A semitone, also known as a half-step, is the smallest musical interval commonly used in Western tonal music. It represents the distance between two adjacent keys on a piano.

How many cents are in a semitone?

There are exactly 100 cents in one semitone. Cents are used to measure microtonal differences in pitch that are smaller than a half-step.

How does frequency change when you move up one octave?

Moving up one octave (12 semitones) exactly doubles the frequency. For example, if a note is 440 Hz, the same note one octave higher is 880 Hz.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.