What a great question! I think it is the diameter of the top since the bottom and heights vary according to use, i.e. a large but sqatty 12" pot for a Bonsai. Or a tall decorative pot flanking doorways. I think you basil will do great in that pot.
Life is short, Break the rules, Forgive quickly, Kiss slowly, Love Truly, Laugh
uncontrollably, And never regret anything that made you Smile.