GestureSynth.me

Music calculator

Pitch Shift Calculator

Calculate a shifted frequency and pitch ratio from semitones, then compare the original and shifted reference tones.

semitone pitch shift calculator

Pitch Shift Calculator guide

Semitones express equal musical steps even though the size in hertz changes with pitch. Fractional semitones let you plan fine adjustments before setting a pitch or speed control.

Play the instrument ↑
Example
Moving 440 Hz up 12 semitones produces 880 Hz. A shift of −12 produces 220 Hz. A seven-semitone shift produces about 659.255 Hz, close to E5 when A4 is tuned to 440 Hz.

Formula and units

Frequency ratio = 2 raised to (semitones ÷ 12). Multiply the original frequency by that ratio. If the change comes from playback speed, the duration ratio is the reciprocal.

Worked examples

Moving 440 Hz up 12 semitones produces 880 Hz. A shift of −12 produces 220 Hz. A seven-semitone shift produces about 659.255 Hz, close to E5 when A4 is tuned to 440 Hz.

How to use the result

Use the frequency and ratio as references in an editor. Dedicated pitch shifting may preserve duration and optionally change formants. Turning up playback speed shifts pitch while shortening the clip. The calculator only plays short test tones.

Convert a tuning goal to the control your editor offers

An editor can describe pitch as semitones, a ratio, or a percentage change. If you need a rise of seven semitones, the frequency multiplier is about 1.498307. An editor that expects a percentage change would use about +49.83%, while a speed multiplier would use approximately 1.4983. Use the editor's dedicated pitch effect to keep the original length if a speed change would put a clip out of sync.

For a transposed synth, start with a reliable reference tone. Enter 220 Hz and a shift of +12, then hear the two sine waves. The result is 440 Hz, exactly twice the original frequency. Repeat with +7 and listen for a fifth instead of an octave. The preview illustrates the pitch relationship without the overtones of a vocal, guitar, or sample, so it is useful for checking direction and size.

Decide between transposition and playback-rate change

A sample played at twice its original rate is both one octave higher and half as long. A dedicated pitch effect can produce the octave change while holding duration fixed, usually by processing short regions of the signal. The algorithm can affect attack shape, formants, or texture. Use a short test selection and listen at the boundaries before applying a substantial shift to a complete vocal track.

A small correction can use the same math. If a pad is a quarter-tone sharp relative to the desired tuning, enter −0.5 semitone for a downward adjustment. The ratio is about 0.971532. Make sure the editor's tuning knob is calibrated in cents or semitones before copying a value. Fifty cents and 0.5 semitone describe the same interval, but a knob marked “50%” describes a different operation.

Set the starting pitch from the material you are editing

The ratio is independent of the starting frequency, while the result in hertz depends on it. For a chord or a full mix, the number is best interpreted as an example for one partial; every component shifts by the same ratio in an ideal transposition. For a single wavetable oscillator, the output frequency can be entered directly. A physical instrument tuned by ear may drift during a note, so note where in the sound you took the measurement.

If a sound editor instead asks for percentage change, subtract 1 from the ratio and multiply by 100. For a downward octave the ratio is 0.5 and the change is −50%, while an upward octave uses a ratio of 2 and a +100% change. Enter the sign explicitly when sharing settings with another editor. A number marked “50% speed” means the rate itself, while “50% increase” means a rate of 1.5.

Answers before you play

Common questions

Can I enter a half semitone?

Yes. Enter 0.5 for a 50-cent rise or −0.5 for a 50-cent fall.

Why is a seven-semitone ratio close to 1.5 rather than exactly 1.5?

Twelve-tone equal temperament uses equal ratios across semitone steps. Its fifth is 2 to the power 7/12. The pure 3:2 fifth is slightly wider, about 1.955 cents higher.

What happens if the shifted tone is too high to preview?

The numerical calculation still works in the input range. The preview is offered only for frequencies between 20 and 8,000 Hz. Playback also depends on browser audio and your speakers.

Does a shift of zero reset the frequency?

A zero-semitone shift yields a ratio of one, so it leaves the entered frequency unchanged. The duration factor for a playback-rate change is also 100%.