2x4 minimum, preferred 2x5.
The more space you give them the less floor time to give them. If the cage is small I.e having a 2x4 for three sows, you will have to make up for that fact by giving floor time in a large pen or free range each day.
I personally think 2x4 is for two piggies maximum, not three.