It is a mixture and not a chemical formula. Some people like more suds, less suds, more liquid, etc. The amounts are only approximations as it is a mixture. Mix it up and find out what proportions you like and write it down for the next batch. For example, I make my own washing detergent that will last for several years. The proportions are one grated bar of Felds Naptha soap, one cup of Borax and one cup of washing soda. I don’t want a 1/4 box of this or that laying around. So, I freeze the soap after it has air dried for a few months. I grind up 10 bars of Felds in my Kitchen Aid grinder and add one box of borax and one box of washing soda. Nothing is left over and I’m left with a bucket of dry detergent. I never use more than 3 tablespoons a load. I’m set for a few years at 6 cents a load. Regular detergent is 60 cents a load. No plastic containers are left over. No lugging detergent in from the store for a few years.