An octave in Western music theory contains exactly 12 semitones (half steps), which is equivalent to 6 whole tones (whole steps). This 12-note chromatic scale forms the foundation of Western music, with each semitone representing the smallest interval in standard equal temperament tuning.