Off the top of your head

(adv.) Used to describe the production of an answer or estimate, instantly, without reference to any outside material. cf. Maths in public

Definition link