off the top of one's head
off the top of one's head {adv.} or {adj. phr.}, {informal}
Without thinking hard; quickly.
Vin answered the teacher's question off the top of his head.
When Lorraine was asked to recite, she talked off the top of her head.
Categories:
Source: A Dictionary of American Idioms