Certain areas of Iwasawa theory requires knowledge of only the p-part of the class group. Computing this unconditionally with the full class group algorithm is infeasible for all but the simplest number fields. In this talk I will present a p-adic algorithm for computing/verifying the p-valuation of class numbers of totally real abelian number fields. This is joint work with my supervisor Claus Fieker.