What exactly do you mean by a formation? A squadron? If so then:
Escorts 2-6 vessels per squadron
Cruisers (including normal, heavy and battle- , and any combination thereof) 2-4 per squadron
Grand Cruisers 2-3 per squadron
Battleships 2-3 per squadron
If by formation you mean fleet, then there are only the limitations of your fleet list.