pick out of a hat

listen to the pronunciation of pick out of a hat
Englisch - Englisch
To determine by chance
To substitute a guess for unavailable data

That number was just picked out of a hat.