How long should input fields be?
Match fields to the fixed input length
Studies show that those input fields typically range from 18 to 33 characters.
What is the best size for input?
A rule of thumb is 45–57px for a touch target, but for mobile that often result in fields which look obnoxiously large. Sizing input fields between 32px and 40px in height makes your field finger-friendly and not very large at the same time.