Comma Pump Calculator for Tuning Drift

Comma Pump Calculator

Estimate how much a just-intonation pump drifts after repeated cycles, then compare the raw comma with common temperament absorption.

🎯 Quick Presets
🎹 Frequency Unit
⚙️ Inputs
One cycle means one complete return-to-name loop.
Use the starting pitch that should return as a unison.
Used only when custom absorption is selected.
Enabled for custom comma mode.
Net Drift
cents after all pump cycles
Final Pitch Ratio
relative to the start pitch
Frequency Offset
Hz at the reference pitch
Cycles to 100 Cents
same settings, one semitone drift

Comma Pump Breakdown

📊 Result Spec Grid
Single Pump
Absorbed
Cycles
Beat Rate
🔍 Pump Cycle Comparison
CycleSigned DriftPitch RatioFrequency OffsetBeats Per Second
Reading the drift: A positive result means the pitch lands sharper than the starting unison. A negative result means the same loop comes back flatter. The ratio and beat rate make the same drift easier to hear at your chosen reference pitch.
🎵 Common Comma Reference
CommaExact RatioDecimal RatioSizeTypical Pump Source
Syntonic comma81:801.01250021.506 centsFour fifths vs two octaves plus a just major third
Pythagorean comma531441:5242881.01364323.460 centsTwelve pure fifths compared with seven octaves
Septimal comma64:631.01587327.264 centsSeven-limit harmonic paths resolving to the same pitch name
Diesis128:1251.02400041.059 centsThree just major thirds compared with one octave
Schisma32805:327681.0011291.954 centsDifference between Pythagorean and syntonic comma residues
🎚 Temperament Comparison Grid
Temperament SettingAbsorbedNet Syntonic PumpEffectUseful When
Pure just intonation0%21.506 centsFull audible driftModeling exact harmonic ratios
Quarter-comma correction25%16.130 centsSmaller pump residueTesting partial comma tempering
Half correction50%10.753 centsSubtle but measurable offsetComparing compromise tunings
Fully tempered out100%0.000 centsLoop closes exactlyChecking a temperament relation
📐 Route And Spec Table
RouteMain Ratio ComparedExpected CommaCalculator UseResult Focus
4 fifths vs just M3(3:2)^4 / (4:1 x 5:4)81:80Syntonic pumpMajor-third drift
12 fifths vs octaves(3:2)^12 / 2^7531441:524288Pythagorean pumpCircle closure error
7-limit dominant chain64:63 residue64:63Septimal pumpBluesy 7-limit offset
3 just major thirds2:1 / (5:4)^3128:125Diesis pumpAugmented triad closure
Notated same-note loopAny chosen ratioCustomScore analysisCumulative drift
⏱ Drift Threshold Reference
Net DriftMusical SizeAt A4 OffsetAudibility CueAction
1 centVery small0.25 HzSlow beatingUsually acceptable
5 centsSmall1.27 HzClear shimmerCheck exposed unisons
10 centsNoticeable2.55 HzPitch color changesRetune or temper
21.5 centsSyntonic comma5.50 HzStrong beatingTreat as pump drift
100 centsSemitone26.16 HzNew pitch classRewrite or modulate
Temperament absorption: If a temperament intentionally narrows or widens intervals so the pump closes, use the absorbed percent field. Leaving it at 0% models an uncompensated just-intonation path where every cycle adds another comma.
Calculator formulas: cents = 1200 x log2(ratio), net drift = comma cents x cycles x direction x unabsorbed fraction, and final ratio = 2^(net cents / 1200).

To start, you hit note C then rise in a perfect succession of fourths (fifths), but as you attempt to complete the loop, you end up landing flat. It sounds magical but it’s simply your ear being tricked by some math. Musicians refer to that tiny gap as a comma pump. If you circle around too many times, all those commas adds up and pure intonation becomes a distant memory.

Using the calculator above take care of that for you so you don’t need to guesstimate how far off you’ll be after a dozen loops. One problem that commonly arises is so-called syntonic comma, which exist within the major triad itself. That is quite large at approximately twenty-one cents. Remember that we are talking about pitch shifts here that can be as small as five cents in quiet listening environments. So each time you tune up or down a semitone without tempering, you introduce audible sharpness into resulting unison.

How to Control Musical Drift and Stay in Tune

To most players this feels like something is wrong even though they cannot yet put their finger on what it is. The resolution of the chord isn’t clean anymore. Once you know how much it has drifted, you can choose to retune it live or just accept the beating as part of sound texture.

What happens when you use the tool to choose a pump route? You then test your chosen harmonic series against equal temperament base and will hear whichever one of these two is selected. For example, if you use seven octaves or twelve fifths, you will hear the Pythagorean comma. This is slightly larger than syntonic comma.

Why does this matter? Depending off the period of history being looked at, groups was tuned differently as some favoured pure fifths while others favoured pure thirds. Selecting the septimal option includes the number seven. What this do is add a quality that is completely missed by standard just intonation. You may not notice this in a pop song but in experimental or folk music, the change are significant in terms of it’s impact on the harmony.

It’s here that the theory and the practicalities meet: temperament absorption. Purely in terms off just intonation, there is no absorption at all. Each time the cycle repeats, you absorb the whole weight of the comma to your accumulating error. But in reality, we tend to perform with some kind of tempered tuning that will distribute that error elsewhere.

That is to say, if you make intervals slightly narrower this will reduce the percentage of absorption and therefore what proportion of the drift goes unnoticed. A value of twenty-five percent mimics a quarter-comma meantone system that was common in the Baroque period for its sweetness on the third. If you fully temper it out then the loop closes without any error which is good for theoretical purposes but not often how live instrument play.

Changing whether the drift is positive or negative sets its direction. It seems obvious now but really alters your thought process around retuning. When you’re drifting sharp, you pull your pitches down to regain tune. When you’re drifting flat, you push them up. This can be extremely important if you have to play with another player who’s using a fixed-pitch instrument such as a synthesizer or a piano. You don’t want to let the comma go on building and building until it eventually sounds like an entirely different note. The tool shows you precisely where that point occur.

Now it’s time to cross over from abstraction into physics: Frequency offsets convert these abstractions cents into real life Hertz. On a frequency counter, a cent shift of one is hardly perceptible, but move up to the higher notes and that same percentage change covers a wider range of hertz. That is because the relationship between pitch and frequency isn’t linear, which is why high register instruments sounds like they’re going out of tune quicker then lower ones.

In the results above, the beat rate column indicates how often per second the waves pass through one another. It is an audible clue as to when you risk getting dangerously close to being out of tune. Counting cycles in your head and adjusting pitch by ear in real-time is something most people greatly overestimate themselves at. You should of practiced this more.

In fact, knowing ahead of time that four cycles of a syntonic pump will pull you almost two semitones sharp is useful as it allows you to avoid discovering this in the middle of performing. This allows you to decide which pieces are suitable for performance or plan your modulation path.

The point isn’t to remove all the commas. That’s impossible. But rather, we control them and apply them to help the music rather than sabotage it. Once you realize where the cracks in the tuning system are, you stop trying to blindly patch them. Rather you begin to design intentionaly around them.

Comma Pump Calculator for Tuning Drift

Leave a Comment