pick out of a hat

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

That number was just picked out of a hat.