Actually, it's not a good idea to keep common goldfish with fancy goldfish. They swim differently and the commons might hog the food before the others get enough.
Normally, common goldfish need 20gal each. The fancies, 10gal each. So really, you need at least a 20 for the common and at least a 40 for the others.