Formations are just another type of Detachment. You will need enough models (and points) to field both the Detachment and the Formation you are taking. Note that, barring restrictions placed by Tournament Organizers or agreed upon by players, you can field an army of ONLY Formations, with no Combined Arms Detachments, Allied Detachments, Masque Detachments, etc.