What is the Chemical Formula for Soap?

The chemical formula depends on the brand and type of soap, since different soaps have different ingredients. Once you find the ingredients, you can determine the chemical formula of the soap.