To supplement Matt's answer…
Are there other controls on the screen?
Research showsResearch shows users have more confidence in a product—they believe the product is more accurate—when its visual elements are nicely aligned.
If there are multiple controls, or text boxes, sizing each one to fit its anticipated content (below, left) would be a poor choice. Look at the two options separately—so cover one side with your hand, then the other side.
As always, different design goals will be in tension. Make an appropriate compromise.
—
I hope that helps you move forward.