According to "Titanic, the Ship Magnificent" by Bruce Beveridge, Daniel Klistorner, Scott Andrews, and Steve Hall, here's the breakdown of cabins:
First Class: 370 + 4 sitting rooms
Alternate First/Second Class: 46
Second Class: 122
Alternate Second/Third Class: 40
Third Class: 257
During the James Cameron special, "Titanic: The Final Word with James Cameron", they give the figures without the alternate staterooms as:
First Class: 370
Second Class: 168 (the First/Second Class alternating rooms were added to the Second Class numbers)
Third Class: 297 (the Second/Third Class alternating rooms were added to the Third Class numbers)
there was 29 boiler rooms on the Titanic
3000 rooms
2223
2223
the total amount of rooms in the titanic is 64
9
800
29
340
The Titanic would've been able to hold 1,034 first class passengers and 2,566 passengers total
214
20