And here it is in a table. As some people may have noticed, I love tables:
Distance Interval Interval name A.K.A.
---------------------------------------------------------
0 1 unison
1 diminished 2nd flat 2nd, b2, b9
2 2 2nd 9th, major 2nd
3 minor 3rd flat 3rd, b3, b10
4 3 major 3rd maj 10th,b4
5 4 perfect 4th 11th
6 diminished 5th aug 4th, #4, b5, #11
7 5 perfect 5th
8 augmented 5th b6, #5
9 6 major 6th bb7, dim7
11 dominant 7th min7, b7
12 7 major 7th
13 8 octave
The first column, distance, is in semitones or frets. The second column, shows the degrees of the major scale. The third column shows formal names, and the fourth, various other names for the interval.