
20minutes is the nap ceiling for a clear head

Sleep starts in light stages 1 and 2. Deep slow-wave sleep usually begins after about 20 to 30 minutes. If an alarm pulls you out of deep sleep you get sleep inertia: heavy, slow thinking that can last 30 minutes or longer, which cancels the gain. A nap of 10 to 20 minutes stays in the light stages, so you wake ready to work.
A NASA-led study gave long-haul flight crew a planned 40 minute rest in cruise. The 12 crew who rested fell asleep in about 6 minutes and slept about 26 minutes on average. The rested group was compared with 9 crew who did not rest. The widely quoted gains of 34% in performance and 54% in alertness come from this work, but they are repeated by secondary sources, so treat them as a headline, not a rule for your own nap.
The 26 minute figure was how long the crew actually slept, not a tested ideal length. It is a good guide, but 20 minutes with an alarm is the safer target.