de cabeça

Etymology
lit. 'from head'.

Adverb

 * 1) in one's head; from one's thoughts
 * 2) off the top of one's head

Usage notes

 * This term usually refers to a context of searching for answers without tools or aids, when tools or aids are expected, such as when solving complex mathematical questions.