computation of the class group is hard, in general; it can be done by hand for the ring of integers in an algebraic number field of small discriminant, using minkowski's bound. this result gives a bound, depending on the ring, such that every ideal class contains an ideal norm less than the bound. in general the bound is not sharp enough to make the calculation practical for fields with large discriminant, but computers are well suited to the task.