If a couple of 8s are in a box and you feed em high power then definitely use 18mm

12mm is fine for the front mate.
In terms of how many subs you put in a box, it depends where the box is going to be, you will need to build the box to the sub manucturer's recommended size.