The number of subshells in an atom depends on the principal quantum number, n. Each subshell is designated by a letter, starting with s, followed by p, d, f, and so on. For example, when n=1, there is only one subshell, s. When n=2, there are two subshells, s and p. When n=3, there are three subshells, s, p, and d.