The distribution of random determinants