# Difference between equal temperament and just intonation

I am learning Indian classical music and learned about just intonation and equal temperament. I want to know the difference between them. I know that Indian classical music uses just intonation and Western music uses equal temperament.

Can you give me some more info in layman language? You can also add some science.

• Don't get overly confused by statements made in online resources (like the statement that Just Intonation is the same as Pythagorean tuning). It's been repeated a lot online that Indian Classical Music uses Just Intonation, but the truth is that it's not just like that, not for the music of north India (hindustani sangeet) nor southern (karnataka) music. I went that way tuning my sitar frets to JI ratios in the beginning, but didn't worked. It's a very debatable topic and depends on style of playing, raga, mood, artist, gharana, etc. If interested, follow the research works of Wim Van Der Meer Apr 10, 2015 at 1:49
• For a thorough yet engaging mathematical explanation I recommend David Benson's Music: a Mathematical Offering. It is available to buy, or as a free download. Chapter 5 (it is free standing) covers scales and temperaments and Chapter 6 has a lovely explanation (in terms of continued fractions) as to why the octave is divided into 12 semitones Apr 10, 2015 at 7:05
• As noted in one of the answers, `"better" is a subjective term that involves making tradeoffs between the pros and cons of each, depending on what you want to be able do`. Purely opinion-based questions are off-topic here, so I've edited that part out of your question. I think you will find that the answers give you enough information to determine yourself what would be "better" to use for your own purposes :)
– user28
Apr 10, 2015 at 17:05
• Actually Carnatic music may use the equal tempered scale.
– user50691
Jan 12, 2021 at 17:41

Every note has a pitch, determined by the fundamental frequency of the sound wave that produces it. When you have two different notes, you have two different pitches, caused by two different frequencies. The distance between those pitches is called an interval, and corresponds to the ratio of the note's frequencies. For example, if one note is an octave above a second note, their frequencies will have the ratio 2:1.

In Just Intonation, which was historically common in Western music at least into the Baroque period, the intervals are determined by forcing the notes to have frequencies that are small whole number ratios to each other. For example, a perfect fifth is 3:2, a perfect forth is 4:3, a major third is 5:4, and a minor third is 6:5. In historical western music, they usually stopped there (the interval 7:6 is not used), and all other intervals are then combinations of these intervals. The benefit of this system is that, because the frequencies are numerically related to one another, they sound very consonant, or pure to the ear. The downside is that those pure intervals only exist in one key; outside of that, the intervals start to break down.

For example, if you start at A♭, and go up a major third you get to C (with a ratio of 5:4 = 1.25). If you go up another major third, you reach E (5:4 x 5:4 = 25:16 = 1.5625). If you then go up one more major third, you reach G♯ (5:4 x 5:4 x 5:4 = 125:64 = 1.953125). As you can see, this doesn't quite reach the next highest A♭ (which must have a ratio of 2:1, by definition). The basic mathematical problem is that no matter how many times you repeat any of these ratios (other than the octave), you will never get back to a power of two, which means you will never get back to the starting pitch (in any octave). Which further means that you either have to have an infinite number of notes in your scale, or you have to add in an impure interval somewhere to get back to where you started.

If you want to play in lots of different keys and maintain these pure intervals, one possible solution is to use instruments that can freely vary their pitch, like violins or voices, so that you can always adjust to the correct just interval. This is often done subconsciously by singers, even in western music, just by finding what sounds good.

However, many instruments cannot do this; especially keyboards and fretted instruments, both of which have to have a predefined scale. One possibility for them is to start adding a bunch of extra notes: Make A♭ and G♯ be two different notes, for example. However, there could be an infinite number of such notes, so things can get pretty insane pretty quickly, like this keyboard that has 24 notes per octave:

.\

This approach hasn't really been pursued much in western music.

Instead, the solution that Western music has devised is called 12-Tone Equal Temperament (12-TET). Rather than forcing frequency ratios to pure-sounding whole number ratios, it makes a compromise to divide each octave into twelve equally-sized intervals, and adds them together to get larger intervals. The frequency ratio required for this small interval (which happens to be a half step) is the 12th root of 2 (21/12 = 1.059463...), since multiplying it by itself 12 times gives you back 2 (an octave). In fact, the term "ratio" is a bit of a misnomer, since this is actually an irrational number.

If you combine 7 of these small intervals (27/12 = 1.4983...) you get a close approximation to a pure perfect fifth (3:2 = 1.50). If you combine four of them (24/12 = 1.2599...) you get a less-close approximation to a pure major third (5:4 = 1.250) which is still somewhat serviceable. But the key point is that by making all of the intervals equally out of tune, no key is any worse than the other. You do have to sacrifice the pureness of the intervals, but it is a relatively subtle effect to the untrained ear.

Here is a video that demonstrates both types of intervals:

TLDR: Just intonation refers to using mathematically simple ratios between a pair pitches; justly tuned intervals are objectively more consonant than non-justly tuned intervals. However, it is mathematically impossible to construct a scale of fixed pitches in which every possible interval is justly tuned, and some may even sound quite bad. 12 TET is one way of compromising when tuning a scale; it equally detunes all intervals, so that no single interval is either perfectly just, nor terribly far away from being just.

• "a minor third is 6:5": except when it isn't. For example, if the fourth is 4:3 above the fundamental, and the second degree of the scale is 3:2 above the fifth, which puts it at 9:8 above the fundamental, then the minor third between the second and fourth scale degrees is 32:27 rather than 6:5, so the interval is 21.5 cents smaller. This answer perpetuates the myth that it is possible to use a scale derived strictly from just intonation in Western European harmony and counterpoint, but it is indeed a myth. Jul 2, 2019 at 4:10
• Your example is correct, a just M2 + a just m3 =/= a just P4. You cannot add just intervals in the same way as ET intervals. This is why I gave the example of the octave not closing, and is why in my closing paragraph I stated "it is mathematically impossible to construct a scale of fixed pitches in which every possible interval is justly tuned, and some may even sound quite bad." Thus I perpetuated no such myth, and as shown, explicitly warned against believing such. Jul 2, 2019 at 4:31
• But you say "In Just Intonation, which was historically common in Western music at least into the Baroque period...all other intervals are then combinations of these intervals." There was no such system "historically common at least into the Baroque period." There was Pythagorean tuning in the middle ages, which you can call 3-limit just, but as soon as you get into 5-limit just (just thirds and sixths), which became common in the renaissance, you have to start tempering the fifths (split-key keyboards aside), so you are not using pure just intonation but a temperament. Jul 2, 2019 at 6:08
• I think you should change «mathematically impossible to construct a scale of fixed pitches» to «...construct finite scale...». IOW JI is in principle an infinite set. Slightly more meaningfully its 700 notes Still more practically 43 of Harry Partch Otherwise good upvoted
– Rusi
Jul 3, 2019 at 6:59
• Though I agree with @phoog that rendering the western tradition as "originally just" is misguided historical revisionism. As is saying the western tradition is naturally ET oriented. Equal temperament ≠ well temperament and the only music ideally fitting ET is probably atonality; a fact that follows from both logic and history – the "common practice" period ended about the end of 19 century. Same time as the increasing tuning-standardization to ET.
– Rusi
Jul 3, 2019 at 7:30

A simple answer: One is not better than the other. They serve different purposes according to different musical traditions.

Just intonation is pure tuning according to the pure mathematical overtones produced by musical instruments. When an instrument is tuned to just intonation, it is more or less only able to play in one key, and to use limited chords and harmonies. This is perfectly suited to Indian music (which relies on elaborate melodies, drones and open intervals, but has no place for Western chord progressions and harmonies) and music of many other cultures.

12-tone equal temperament is a compromise developed in Western music that did not become widespread until about 150 years ago. In 12-tone equal temperament, the intervals between the notes are changed slightly to make them less pure. This enables an instrument so tuned to play in all Western keys and all modes, but with all intervals and chords being slightly out-of-tune to varying degrees. However, these compromises are deemed acceptable to Western musicians and listeners. This makes it possible for one instrument to play Western music that relies on complex Western chords and harmonies and which can modulate to different Western keys and modes at any time.

Classical Indian music would sound wrong and inauthentic if you played it on instruments tuned to 12-tone equal temperament (such as the Western guitar or piano). Some musicians and composers have worked out compromises for combining traditional Indian instruments with Western instruments (tuned to 12-tone equal temperament), but I suspect that these compositions lose some of the character that makes the music sound traditionally Indian.

Etymology, Math, and Acoustics

These two terms can mean different things depending on who you talk to, especially since they are not discussed nearly as thoroughly in music theory teachings. Naturally, this makes the terminology more vague and less agreed upon. You probably have a good sense of them already, though. On a basic level, just intonation is when a particular harmonic interval is ideal to the human ear.

For some people, this would be the members of an orchestra adjusting their intonation so that there is no beating in the chord. That could be called just. More commonly, it is the relation of intervals by whole number ratios. For more information on this, you need to understand some basic acoustics.

A sine wave is the most basic sort of sound that you can have. Flutes are quite close to a pure sine wave and you've most likely heard them produced electronically. When two sine waves interact, they can do so constructively or destructively. In the following image, there are three waves. The first is a sine wave representing our root and the second is a sine wave representing our fifth. The third is their interference:

If the third wave was played, you would hear both tones and they would be perfectly just. Now pay attention to the cycles. The first wave has two cycles in the same period that the second wave has three. At that point, they are perfectly in phase with each other and are both at the beginning of a new cycle. So these waves are said to have a 2:3 ratio. This is a just perfect fifth. So long as they remain just, their cycles will line up at a constant interval. This is a generally pleasing effect. Unfortunately, having all of our music set up like this is much more difficult than one might expect.

History

Pythagoras is commonly talked about in communities concerned with just intonation and microtonality and he is often credited with discoveries like diving a vibrating string in half to make an octave. Regardless of whether or not this is true, Pythagoras and his followers were heavily interested in music and believe its relationship to numbers to be divine. He attempted to stack fifths on top of one another to create scales which reflected these beliefs, but ran into a problem. The frequency ratio for an octave is 1:2, so a doubled frequency is an octave. So any octave of our root must be the root multiplied by a power of 2. Fifths are powers of 3. He considered this geometrically with pentagrams, but still soon came to an unfortunate conclusion. There is no way for a power of 2 to equal a power of 3. A circle of fifths will never close on an octave. There's a lot more information on Pythagorean tunings, but for now, let's move forward.

Musical tuning evolved and many tried to reconcile this circle of fifths problem. I'd like to point out that a circle of fifths is certainly not the only way to achieve just intonation. Regardless, people were very concerned. If you left that gap between the last fifth and the next octave, you weren't met with many problems in your root key. In fact, this is one way to derive a major pentatonic scale. However, shifting to other keys could get ugly quickly. The tuning that has won out in modern western music traditions is equal temperament.

More Math

If you flatten the fifth you're using in your circle of fifths, the circle will close. The fifth that we use as a generator is only a little flat of a just perfect fifth, gives us quite a few consonances to work with, and closes after 12 fifths. This is called tempering the fifth, ergo the name. With our fifth, it creates an equal temperament. Now, we hear frequencies logarithmically, meaning the difference in Hz between two intervals will be progressively larger as you move up in octaves. The difference between A4 and A5 is 440 Hz while the difference between A5 and A6 is twice that at 880 Hz. So to divide the octaves into equal sounding intervals, we use powers of fractions. This is essential the same as taking a root of a square, but I like this notation better.

For an octave divided into m equal parts, an interval of n steps will be 2n/m. A minor third in 12 tet is 3 steps (semitones). So that interval would be 23/12. The nice thing about this is that you can transpose a melody to any key and and its intervals will have the same qualities. It also makes for easier construction of fretted instruments. And really, most people can't tell the difference because 12 tet is pretty close to just intonation.

• "12 tet is pretty close to just intonation": In the fifths and fourths, yes. For thirds and sixths, not so much. Jan 2, 2019 at 4:49

If you want really clear as a bell, non-muddled tones, you want just intonation. We hear music in intervals. Just intonation is Pythagorean intervals, expressed as ratios. What we call the perfect fifth interval, 7 semitones, is a 3:2 frequency ratio. If you play it along with your root note, it will coincide in perfect clear harmony. However Pythagorean ratios get more complex, expressed as X^m / Y^n where you might end up with 128/27 or even (80*7) / (3*5) as a tone ratio in some scale.

The problem with such theoretically clean ratios on a piano divided into 12 semi-tones per octave is that stepping up 7 semi-tones from C to G may give you an exact 3:2 ratio, but stepping up 7 semitones from D to A will not. - Essentially your compositions are limited to playing in the key of C on a piano in the key of C if you want to play with your set of clean scale frequency intervals.

Bach, with his treatise 'The Well Tempered Clavier' solved this by uniformly fudging the interval between all 12 semitones. Any jump of 7 semitones starting from any key will produce the identical frequency interval. Unfortunately this arrangement is a compromise, and that interval is no longer a sweet clean exact 3:2 any more.

The advantage of having done this is that any song can instantly be transposed from one key to another without changing it's interval flavor, and that pianos no longer have to be built with a primary key in mind. Songs in the key of F# or Db all have the same muddy intervals between them now.

Recent synthesizers have brought back the possibility of just intonation, where the whole keyboard, or just individual chord notes, remap to the key or root of the moment to sound clear.

Specifically equal temperament provides a ratio of 2^(1/12):1 for each semitone. After 12 semitone multiplications you end up with a ratio of 2:1, an octave, the only pure ratio in equal temperament.

There's more beyond that, with stretch tunings and such. Just intonation is possible on a fretless string instrument. With frets you can get just intervals between strings, but you are stuck with equal-temperament between frets. Just intonation requires tuning your instrument for a specific key. With standard equal temperament, you can play further down the neck in another key and not end up with different sound quality intervals between notes.

Sitar music is largely about the shimmering color produced with all the drones more so than the jumps between notes, so just intonation is more critical to have there. Also there's nothing out of place spending an hour to tune up for a raga. That wouldn't fly playing rockabilly at a pub.

Each has it's place. You could conceivably play some beautiful shoegazing rock with just intonation, but only if you find a band willing to put in a large investment in time and gear to do so.

Pythagorean ratios are a world of study unto themselves, and probably a huge distraction towards acquiring useful generic composition/playing skills in the Western world.

• The wiki page on The Well-Tempered Clavier seems uncertain on the actual temperament(s) intended... Apr 8, 2015 at 7:15
• I did not know the specifics. Interesting, thanks. Still, Bach has been generally attributed for decades, if not centuries, as the originator of tempered tuning. He may not have exactly intended logarithmic 12-tet, the ultimate in uniform tempering, but it is clear that his intent was to at least utilize a tuning which allows more universal key transposition than just intonation. The possibility that he compromised some intervals more, and others less, to achieve that is intriguing - although that would clearly limit the concept to merely some friendly key transpositions, not all. Apr 8, 2015 at 8:04
• Meantone temperament (credited to Pietro Aron) was used in the early 16th century, and Giovanni Maria Lanfranco apparently wrote of a temperament similar to equal temperament in 1533. kylegann.com/histune.html claims that the (erroneous) link between what we call equal temperament and what Bach used came from an error in the Grove Dictionary of Music... Apr 8, 2015 at 11:27
• Cool. Faulty history is hard to disspell. I once had a microtonal jam in which we used 3:2 ratios as our definition of the octave, and it worked well. I also plan on building a Pythagorean mono-synth which employs sliders controlling positive/negative powers of 2,3,5,7 for nominator or denominator of Pythagorean intervals, plus x-y thumb pads for note dynamics. Apr 8, 2015 at 11:45
• Make sure you pop up a link once you get it going! Will it have any control over the harmonic partial frequencies ? Apr 8, 2015 at 11:47

A couple of corrections. Pythagoras did write about 3:2 fifths and did build scales from these. He did not invent the idea, just as he did not invent the stuff about triangles. He studied in Egypt, where the same theories are written on papyrus documents from 2000 years before Pythagoras, and most probably predate the documents we have.

Bach did not invent Equal Temperament, and did not write the 48 Preludes and Fugues for Equal Temperament. He wrote them for Well-Temperament.

Well Temperaments are those where a) the cycle of fifths meets b) flats and sharps coincide such that there are only 12 pitches per octave c) all keys are playable d) some keys are purer than others e) each key has its own set of intervals and character

There are many ways of distributing the comma such that these conditions are met, the most famous of which are those by Andreas Werckmeister, and the most recent one, causing some excitment, is by Lehman, which he based on doodles written on Bach manuscripts.

Temperaments are vital when considering polyphonic music and harmony. Music which is monophonic can much better be suited using pure tuning of intervals. Indian music should never use ET or any other temperament.

• This answer would be even stronger with some source references. Jan 6, 2021 at 17:54
• Indian music isn't purely monophonic. Jan 7, 2021 at 1:24

I will try to simplify this down as much as possible. The answers here either are not answering the fundamental questions, makes quantum leaps in assumptions, extremely long winded, make gross subjective judgements or are just flat out wrong.

So a little physics primer. All music instruments (including your voice) is some kind of a standing wave (e.g a wave on a string for guitars or air for flutes etc). All standing waves oscillate at certain frequencies called overtones (this is not a physics stack exchange so you can dive into what overtones are in https://en.wikipedia.org/wiki/Overtone). Whats important to know here however is that there exists a fundamental frequency f for a given standing wave and overtones are whole number multiples of this fundamental frequency).

Just intonation is an intonation scheme in which notes are arranged in fractions of these overtones. For instance the octave is the ratio between the first over tone and the fundamental (2f/f = 2). Similarly the perfect fifth is the ratio between the second overtone and the first overtone (i.e. 3f/2f = 1.5). The ratios are then multiplied by the fundamental and sorted in ascending order.

The reason this is done is to fit in as points of "consonance" in a given fixed amount of time. For instance if the fundamental is 10 hz, the perfect fifth is 15hz and in every 3 seconds, the waveforms are constructively interfering. Contrast to that for the octave of 20hz, its constructively interfering every 2 seconds. Thats why we find the octave more "consonant" than the perfect fifth. (Note this is a subjective intepretation, but anecdotally I find people correlate consonance with the frequency of constructive interference of waveforms in standing waves).

Now while this is the most optimal arrangement "consonant" arrangement of notes for a given fundamental, there is a big problem. This effectively fixes the fundamental. For instance if the fundamental is the note A4 (440Hz) then you can use B as the tonic (if you do, then the ratios between notes no longer follow the whole number ratios). You can plot just a just intontated scale with the frequencies and try changing the tonic from the fundamental to realize that this is indeed the case.

As western music became more complicated, there was a need to

1. Play music across multiple keys without changing instruments e.g. the sonata allegro form in Piano.

2. Play chords outside of the basic harmonization of a scale.

A just intonated system simply did not work in either of the scenarios. So instrument builders tried to adhoc fix intonations by tweaking the frequency values for certain notes.

The most elegant of the adhoc transformations resulted in this formula

f(n) / f(n - 1) = 2^(1/12)

where f(k) is the frequency of the kth note. This is equal tempered intonation.

This compromise made the ratios as close as possible to fractions of just intonation and kept the scale tonic invariant at the same time (for instance the perfect 5th of equal temparament has the ratio to tonic 2 ^ 7/12 = 1.4983... which is almost the same as 1.5).

It immediately solved the problems of western music at the time and was extremely close to a just intonation scale to have the same degree of consonance.

P.S

1. There is no peer reviewed literature in existence that I know of that A/B tests equal and just intonated identical pieces of music on large scale population sizes. Hence there is no existing proof its "Inauthentic" in any tangible sense.

2. There is a huge proliferation of equal tempered instruments in ICM. A notable example is the harmonium. Its popularity suggests that intonation is not the most central requirement of a musical system.

• Do you have any peer-reviewed articles you can cite to back up your claims? Jul 1, 2019 at 13:14
• "if the fundamental is 10 hz, the perfect fifth is 15hz and in every 3 seconds, the waveforms are constructively interfering": the frequency of the constructive interference is given by the difference between the frequencies, so it's actually five times per second in this case, not once every three seconds. This is often called a difference tone. The difference tone of a perfect fifth is an octave below the lower note (in this example, 5 Hz is an octave below 10 Hz), but the difference tone of an octave is the lower note (here, (20-10) Hz is equal to 10 Hz). Jul 2, 2019 at 3:52
• Furthermore, a scale based on JI does not even work for "the basic harmonization of a scale" because, for example, assuming a C-major scale, if the F-major chord is to have a just major third at a 5:4 ratio, then the fifths from C to G to D to A cannot all have a 3:2 ratio. But discussions of "harmonizations" with chords are not particularly relevant to Indian classical music, which does not employ chords. Jul 2, 2019 at 3:57