Rosemary is actually classified as a shrub and can grow to be quite large. At it’s smallest, it might only be 2 feet. However ...
Unfortunately, or fortunately — depending on what you’re looking for — rosemary will grow to be quite large. Even the smallest rosemary plants are likely to be too big to grow in your kitchen.