The optimal length for a subject line is generally between 40 to 60 characters. This length ensures that the subject line is concise yet informative. Mobile devices often truncate longer subject lines, so keeping it short can improve visibility across all devices.