What's the optimal title tag length?

Google measures title tags in pixels (~580px), not strict characters, but ~60 characters is the safe rule of thumb. Anything longer risks truncation with "…". Aim for 50–60 characters with the primary keyword in the first 30.