Intervals are distances between objects. The table below shows that intervals may be formed by pitches, pitch classes, name classes, or octaves. Furthermore, intervals may be ordered or unordered.
| Objects | Ordered Intervals | Unordered Intervals |
| Pitches |
Ordered pitch interval |
Unordered pitch interval ip(a,b) = | b - a | |
| Pitch Classes |
Ordered pc interval |
Unordered pc interval ipc(a,b) = lesser of (ipc<a,b>, ipc<b,a>) |
| Name Classes |
Ordered nc interval |
Unordered nc interval inc(a,b) = lesser of (inc<a,b>, inc<b,a>) |
| Octaves | Ordered octave interval ioct<a,b> = octb - octa |
Unordered octave interval ioct(a,b) = | octb - octa | |
To compute an ordered pitch interval, follow the sequence shown by the Flash movie. Click the red arrow to proceed to the next stage.
To compute an unordered pitch interval, follow the sequence shown by the Flash movie. Click the red arrow to proceed to the next stage.