CCommons

Why does Sa-Pa feel "right"? The maths hiding inside my tanpura

Ratios, a string, a comma that doesn't close, and why my harmonium-loving cousin and I argue at every family function.

Pooja Iyer12th Sample

26 Sept 2026 ยท 5 min read

Photo: LBM1948 ยท CC BY-SA 4.0 ยท via Wikimedia Commons

Amma says I started singing before I started talking. I've been learning Carnatic music since I was six, so I've sung the same varnam about four hundred times. And only this year, in the waves chapter of physics, I realised that the thing I do every day is just maths in a costume. Dramatic, I know. Let me explain.

A string and its halves

Pluck a string and it vibrates at a fundamental frequency. Press the string at its middle and pluck again: the vibrating length is halved and the frequency doubles. For the same string and tension, fโˆ1/Lf \propto 1/L. A frequency ratio of 2 : 1 is an octave: the same note, higher. In my music this is Sa and the upper Sa. They feel like the same note because in a way they are.

Now stop the string at two-thirds of its length and the frequency is 3/23/2 times the original. A ratio of 3 : 2 is the perfect fifth. In Carnatic music it's Sa to Pa. That is why the tanpura is tuned to Sa and Pa (or sometimes Ma instead of Pa): after the octave, these have the simplest ratios, and they sound the smoothest.

Why smooth? A note is never one frequency. A string vibrating at fundamental f1f_1 also produces overtones at 2f1,3f1,4f1,โ€ฆ2f_1, 3f_1, 4f_1, \ldots, which is fn=nf1f_n = n f_1 (for a string fixed at both ends, fn=nv2Lf_n = \dfrac{n v}{2L}). Take a Sa with fundamental ff. Its third harmonic is 3f3f. Now take Pa, with fundamental 32f\tfrac{3}{2}f. Its second harmonic is 2ร—32f=3f2 \times \tfrac{3}{2}f = 3f. Same frequency! The two notes share overtones, so when you sound them together nothing fights. That's why the constant tanpura hum feels like the floor under the whole raga.

Another thing I love: in our system there is no fixed Sa frequency. Every singer picks their own Sa (their shruti), and everything else is a ratio relative to it. My Sa is higher than my brother's. Neither is "correct". Ratios, not numbers.

Some ratios I use every day

(This is just intonation, the "pure" version. In real performance, singers shade notes with ornaments.)

IntervalRatioIn my practice
Octave2 : 1Sa to upper Sa
Perfect fifth3 : 2Sa to Pa
Perfect fourth4 : 3Sa to Shuddha Madhyama
Major third5 : 4Sa to Antara Gandhara
Major second9 : 8Sa to Chatusruti Rishabham

The problem: the circle of fifths doesn't close

If you climb up by perfect fifths twelve times, you should land back on an Sa, seven octaves up. Check it:

(32)12=129.746โ€ฆ27=128\left(\tfrac{3}{2}\right)^{12} = 129.746\ldots \qquad 2^7 = 128

They don't match. The ratio (3/2)1227=531441524288โ‰ˆ1.0136\dfrac{(3/2)^{12}}{2^7} = \dfrac{531441}{524288} \approx 1.0136. That small leftover is called the Pythagorean comma. And it can never be fixed by cleverness, because 3a=2b3^a = 2^b has no solutions in positive whole numbers (unique prime factorisation, the same idea behind the โˆš2 proof Tushar wrote about). So any instrument with fixed notes has to compromise.

Equal temperament: the compromise

A piano or harmonium divides the octave into 12 equal steps. Each semitone is a frequency ratio of 21/12โ‰ˆ1.059462^{1/12} \approx 1.05946. Twelve steps give (21/12)12=2\left(2^{1/12}\right)^{12} = 2 exactly, so octaves are perfect. A fifth is seven semitones: 27/12โ‰ˆ1.49832^{7/12} \approx 1.4983 versus the pure 1.51.5. Your ear forgives that (it's about a tenth of a percent). A major third, four semitones, is 24/12โ‰ˆ1.25992^{4/12} \approx 1.2599 against the pure 1.251.25, and that one is more noticeable.

A quick check with real numbers: concert A is 440 Hz, so the E a fifth above it is 440ร—27/12โ‰ˆ659.3440 \times 2^{7/12} \approx 659.3 Hz in equal temperament, whereas the pure ratio would give exactly 660 Hz.

Carnatic music doesn't run on equal temperament. A singer, a violinist or a veena player places each note where it sounds right and can slide into it with gamakas, the oscillations and slides that give a raga its identity. A harmonium's pitches are fixed, so it can't do that, which is why many Carnatic musicians avoid it in concerts. Which is also why my cousin (harmonium fan) and I fight at every family function. He says convenient, I say honest. In fairness, plenty of beautiful music, bhajans and North Indian music included, uses a harmonium happily. It's about what the music needs.

Why twelve?

Twelve isn't magic. It's a good compromise because seven semitones happen to land very close to 3 : 2, the most important interval. Other cultures slice the octave differently. Indian theory also talks about 22 shrutis, and how those map onto actual sounded pitches is a long, friendly argument among musicians. I'm not going to settle that here.

What I take away

I used to think of music as feeling and maths as a subject. They're the same event seen from two sides: the feeling is the maths arriving at your ear. You can check it yourself with a ruler and a rubber band stretched between two fingers. Twang it, then press at the midpoint and twang again. Same note, one octave higher. You just did the first line of this blog.

WhatsAppPost on X

10 responses

Sign in to join the conversation.

  • [+]Riya Singh12thSampleยท 24d ago

    "Maths in a costume" is a lovely line, and the idea that your Sa belongs to you, that everything else is only relative to it, I've been thinking about it all morning. Writing something about it, I think.

  • [+]Aarav Kulkarni11thSampleยท 24d ago

    This is the best explanation of why the tanpura feels like "the ground" that I've read. Question from a guitar-ish person: is this the same reason guitar frets get closer together as you go up the neck?

    • [+]Sara Fernandes11thSampleยท 24d ago

      Yes, same maths. Each fret raises the pitch by one semitone, which means the vibrating length must shrink by a factor of 2โˆ’1/12โ‰ˆ0.9442^{-1/12} \approx 0.944 each time. So the spacing between frets keeps shrinking. And at the 12th fret the length is exactly half, which is why the 12th fret note is the octave and the harmonic at that fret rings so clearly.

  • [+]Ishaan Bose11thSampleยท 23d ago

    Music production angle: in my DAW pitch is measured in cents. A semitone is 100 cents, an octave is 1200. The Pythagorean comma works out to roughly 23.5 cents, and a pure fifth is about 2 cents wider than the equal-tempered one. That's why a perfectly pure chord on a keyboard sounds slightly "wrong" until you hear it next to a detuned one.

    • [+]Pooja Iyer12thSampleยท 23d agoAuthor

      Cents!! I knew that unit existed but never connected it to the comma. Thank you, adding to my notes.

  • [+]Tanvi Deshmukh12thSampleยท 23d ago

    Omg my brain! So does that mean all the notes on a keyboard are neat ratios of whole numbers like 3:2 and 4:3?? I love tables like yours!!

    • [+]Pooja Iyer12thSampleยท 23d agoAuthor

      Only the octave is. In equal temperament every other interval is a power of 21/122^{1/12}, which is an irrational number, just like โˆš2. So a piano fifth is about 1.4983, close to 3/2 but not equal to it. The neat ratios belong to the pure tuning I wrote the table for.

  • [+]Rahul DubeyDropperSampleยท 23d ago

    Slight history itch: there's a famous story that Pythagoras discovered these ratios by listening to blacksmiths' hammers of different weights. It's a lovely story, but if you actually test it, hammer weights don't give those intervals. The ratios come from string lengths. Your rubber band proof is better history than the blacksmith one.

    • [+]Pooja Iyer12thSampleยท 23d agoAuthor

      Ha, I did not know the hammer thing! Good to fix it before I repeat it at the next family function.

  • [+]Ishita GoyalDropperSampleยท 23d ago

    Okay but now I want to know what K-pop chord progressions look like in cents ๐Ÿ˜‚ Saved this post to read again when I'm less sleepy.

More from Pooja Iyer