ThisCalculator

Math

Normal Order Calculator Music Theory

Updated · Standard formula, shown below

Normal order 47
Intervals (semitones)
0
Result
Pitch classes (comma-separated)
47
You entered

Normal Order Calculator Music Theory

This calculator works out the normal order (also called normal form) of a pitch-class set in music theory. You enter the pitch classes of a set (for example, 0, 4, 7 for a major triad), and the calculator returns the normal order as a compact, ascending list of pitch classes, plus the interval vector between consecutive notes. The normal order is the most compact arrangement of a set’s pitch classes, used to identify and compare chords and scales in set theory.

Formula

The normal order is found by arranging the pitch classes in a circle (modulo 12) and finding the rotation that produces the smallest interval from the first to the last note, with ties broken by comparing the first interval, then the second, and so on. For a set of pitch classes P = {p1, p2, …, pn}, the normal order is the rotation that minimizes the ordered list of adjacent gaps (in semitones) when read clockwise.

Variables:

  • Pitch classes – integers from 0 to 11, where 0 = C, 1 = C#, 2 = D, …, 11 = B. Duplicates are removed.
  • Normal order – the pitch classes re-sorted in ascending order after choosing the best rotation.
  • Intervals – the semitone gaps between consecutive notes in the normal order, including the wrap-around from the last to the first (mod 12).

The calculator uses the standard algorithm: list all rotations of the set, convert each to a list of gaps (including the wrap), and pick the rotation whose gap list is lexicographically smallest. For sets with fewer than 3 notes, the normal order is simply the ascending sort.

Worked Example

Using the default input 0,4,7 (a major triad):

  1. Remove duplicates and sort: [0,4,7].
  2. List all rotations: [0,4,7], [4,7,0], [7,0,4].
  3. Convert each to gap lists (including wrap):
    • [0,4,7] → gaps: 4,3,5 (4-0, 7-4, 12-7+0)
    • [4,7,0] → gaps: 3,5,4 (7-4, 12-7+0, 4-0)
    • [7,0,4] → gaps: 5,4,3 (12-7+0, 4-0, 7-4)
  4. Compare gap lists lexicographically: [3,5,4] is smallest (since 3 < 4).
  5. So normal order is [4,7,0] – but we usually write it starting on the lowest pitch class, which is 4,7,0. However, the standard convention is to write the normal order starting on the first note of the chosen rotation, which is 4,7,0. The calculator outputs 4,7,0.

The intervals are 3,5,4 (semitones). The result: normal order = 4,7,0, intervals = 3,5,4.

Why Normal Order Matters

Normal order is a fundamental tool in musical set theory, developed by Allen Forte and others in the mid-20th century. It allows theorists to identify a chord or scale by its pitch-class content, regardless of voicing or octave. For example, a C major triad (C,E,G) and an E minor triad (E,G,B) share the same set of pitch classes? No, they don’t – but a C major triad and an A minor triad (A,C,E) do share the same pitch-class set (0,4,7), just in different order. Normal order gives a unique label to that set, making it easy to see that they are the same chord type.

It is also the first step toward finding the prime form, which is the most compact normal order transposed to start on 0. Prime form is used in set-class tables and analysis.

How to Choose the Normal Order

Choosing the correct normal order involves a few steps that are easy to get wrong:

  • Always remove duplicate pitch classes – a set is a set, not a multiset.
  • Sort the pitch classes in ascending order first, then consider rotations.
  • For each rotation, compute the gap from each note to the next, wrapping around from the last to the first (add 12 to the first note).
  • Pick the rotation with the smallest first gap; if tied, compare the second gap, and so on.
  • If two rotations have identical gap lists (which happens with symmetrical sets like a diminished seventh chord), any of them is acceptable – but the convention is to choose the one that starts on the lowest pitch class.

For sets with 3 or more notes, this “most compact� rule is standard. For sets with 1 or 2 notes, the normal order is just the ascending order.

Common Mistakes and Misconceptions

One common mistake is forgetting to include the wrap-around interval. For example, for the set [0,4,7], the gap from 7 back to 0 is 5 (12-7+0), not 7. This wrap is essential for comparing rotations.

Another misconception is that normal order is the same as “root position� in traditional harmony. They are related but not identical. Root position is about the lowest note in a voicing, while normal order is about the most compact arrangement on the pitch-class circle. A chord in root position may not be in normal order.

Also, normal order is not unique for symmetrical sets. For example, the diminished seventh chord (0,3,6,9) has four rotations that all give the same gap list (3,3,3,3). The convention is to pick the one starting on the lowest pitch class, which is 0,3,6,9.

Limitations of the Calculator

This calculator only works with pitch classes 0-11, not with note names or frequencies. It does not compute prime form or Forte’s set-class names – you would need to transpose the normal order to start on 0 and then look up the set class in a table. It also does not handle pitch-class sets with more than 12 notes (which are impossible) or non-integer pitch classes (like microtones).

For sets with many notes, the manual calculation can be tedious, but the algorithm is straightforward. The calculator does the rotation and comparison for you, but you must enter the pitch classes correctly.

Frequently Asked Questions

What is the difference between normal order and prime form? Normal order is the most compact arrangement of a pitch-class set, but it can start on any pitch class. Prime form is the normal order transposed so that it starts on 0 (C), and then possibly inverted to ensure the first interval is the smallest. Prime form is the standard label for set classes.

How do I convert note names to pitch classes? Use the standard mapping: C=0, C#/Db=1, D=2, D#/Eb=3, E=4, F=5, F#/Gb=6, G=7, G#/Ab=8, A=9, A#/Bb=10, B=11. For example, E, G#, B becomes 4, 8, 11.

Why does my set have two possible normal orders? For symmetrical sets, like a diminished seventh chord (0,3,6,9) or an augmented triad (0,4,8), multiple rotations have the same gap list. The convention is to choose the one starting on the lowest pitch class, but any is theoretically valid.

Can normal order be used for scales? Yes, any collection of pitch classes, including scales, can be put in normal order. For example, the C major scale (0,2,4,5,7,9,11) has a normal order of 0,2,4,5,7,9,11 because it is already compact. But the G major scale (7,9,11,0,2,4,6) would have a different normal order – the calculator can find it.

Does normal order depend on the octave? No, pitch classes ignore octave. The normal order is the same for any voicing of the same set of pitch classes.

Related

Formula used
in pcs | Pitch classes (comma-separated) | - | 0,4,7 | 0
out normal | Normal order | - | pcs | 0
out intervals | Intervals (semitones) | - | 0 | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.