In Execution Hour the stated crew of the Macharius is 10,000 give or take a couple of hundred, whith room for a couple of Regiments of Ig plus Vehicles if you wanted to pack the bulkeads and nooks and crannies with stuff.
As to the above post by Warlock, the battleship is off I think. There are references to 5km long battleships. But Irrc the " standard" as much as there is one, is 7-8 km for most battleships, also shows up in Execution Hour and Shadowpoint.
A couple of older novels have 5km Battleships.
In a short story of Into the Maelstrom, (lol, really old book) the Ultramarines battlebarge, which is a converted battleship is 10km long.
On a side note, someone kinda worked out the math for a battleship, based off Execution Hour and Shadowpoint. If the Macharius is 3km long with a crew of 10,000 and a battleship is rouchly 8km long, with the design style and pictures going off of( really really rough estimate), the battleship sould be 3 times as wide, 2.5 times as long, and 3 times as tall. So, 10,000* 3(3 times width)*3(for the height) * 2.5( for the length, equals 225,000 crew roughly. Except that battleships have consequently bigger guns and more of them plus larger engines and reactors requiring a larger ratio of crew per gun and reactor than the Macharius. Also a consequently larger Armsmen crew as they are bigger and more valuable targets.
Another side note, lol. Shadowpoint puts the Cobra destroyer as .5 km irrc with a crew of only 800. Make of that what you will.