Most beginner formulators approach shampoo making the same way they approach soap: pick a surfactant, add some water, and hope for the best. The result is almost always a formula that either strips the scalp, refuses to thicken, or crashes the moment you add salt. Shampoo formulation is genuinely one of the most technically demanding areas of cosmetic chemistry, and the reason is surfactants themselves.
Surfactants are not interchangeable. Each one has a distinct charge type, active percentage, mildness rating, foaming profile, and response to electrolytes. Blending them incorrectly produces formulas that are either too harsh for daily use or so mild they barely cleanse. Getting it right requires understanding the architecture of a cleansing formula, not just the ingredients in it.
This guide covers everything you need to formulate a professional-grade shampoo from scratch, including surfactant selection, Active Surfactant Matter (ASM) calculations, viscosity control, pH management, and a complete beginner formula build.
Want the full technical reference? The Ultimate Guide to Surfactants profiles 34 surfactants with full usage rates, mildness ratings, foaming data, and a complete troubleshooting guide across 26 pages.
Understanding Surfactant Charge Types
Every surfactant carries an electrical charge, and that charge determines how it behaves in a formula, how it interacts with other ingredients, and how mild or harsh it is on the skin and scalp. There are four charge categories relevant to shampoo formulation.
Anionic surfactants carry a negative charge and are the primary cleansing agents in most shampoos. They are highly effective at removing sebum, product build-up, and environmental residue. Sodium Lauryl Sulfate (SLS) and Sodium Laureth Sulfate (SLES) are the most widely known, but the category also includes much milder options such as Sodium Cocoyl Isethionate (SCI), Sodium Lauroyl Sarcosinate, and Disodium Laureth Sulfosuccinate. Anionic surfactants are generally the backbone of any cleansing formula.
Amphoteric surfactants carry both a positive and negative charge depending on the pH of the formula. Cocamidopropyl Betaine (CAPB) is the most commonly used amphoteric in shampoo formulation. It is milder than most anionics, contributes to foam quality, and helps reduce the irritation potential of the overall blend. It also assists with viscosity building when combined with salt.
Non-ionic surfactants carry no charge. They are the mildest category and are used in shampoos primarily as foam boosters, conditioning agents, and solubilisers. Decyl Glucoside and Coco Glucoside are popular non-ionic options for natural and sensitive-skin formulations.
Cationic surfactants carry a positive charge and are incompatible with anionic surfactants in the same phase. They are used in conditioners and conditioning treatments, not in cleansing shampoo bases.
The Three-Pillar Architecture of a Shampoo Formula
Professional shampoo formulation is built around three functional pillars: a primary surfactant that provides the majority of cleansing and foam, a secondary surfactant that modifies mildness and foam texture, and a co-surfactant or foam booster that rounds out the sensory profile. The ratio between these three determines whether your formula is a standard, conditioning, or ultra-mild shampoo.
| Formula Type | Primary Surfactant | Secondary Surfactant | Co-Surfactant | Target ASM % |
|---|---|---|---|---|
| Standard Cleansing | SLES (28–35%) | CAPB (5–8%) | Coco Glucoside (2–4%) | 14–18% |
| Conditioning | SCI (15–20%) | CAPB (5–8%) | Sodium Lauroyl Sarcosinate (3–5%) | 12–16% |
| Premium / Ultra-Mild | Disodium Laureth Sulfosuccinate (10–15%) | CAPB (5–8%) | Coco Glucoside (3–5%) | 10–14% |
Active Surfactant Matter: The Calculation That Changes Everything
Most formulators make the mistake of treating surfactant percentages as if they were 100% active. They are not. Surfactants are sold as aqueous solutions with varying active percentages. SLES, for example, is typically sold at 70% active, meaning a 30% inclusion of SLES in your formula contributes only 21% active surfactant to the finished product. CAPB is typically 30–35% active. SCI is sold as a powder or noodle at approximately 85% active.
Active Surfactant Matter (ASM) is the total percentage of actual surfactant molecules in your finished formula, calculated by multiplying the inclusion percentage of each surfactant by its active percentage and summing the results. A professional shampoo typically targets 12–18% ASM. Below 10% and the formula will not cleanse adequately. Above 20% and it risks being too stripping for regular use.
The formula is straightforward: ASM = (Inclusion % x Active %) / 100. For a formula containing 30% SLES at 70% active and 8% CAPB at 30% active, the ASM is (30 x 70)/100 + (8 x 30)/100 = 21 + 2.4 = 23.4%. That is too high for a daily-use shampoo. Reducing the SLES to 20% brings the ASM to 14 + 2.4 = 16.4%, which sits comfortably within the professional range.
Viscosity: The Salt Curve and Why It Matters
Thickening a surfactant-based formula is not as simple as adding a gum or polymer. Anionic surfactants, particularly SLES-based blends, respond to sodium chloride (common salt) by increasing viscosity up to a peak, after which additional salt causes the viscosity to crash. This is known as the salt viscosity bell curve.
The peak of the curve varies depending on the surfactant blend, the ASM level, and the presence of amphoteric co-surfactants. A typical SLES/CAPB blend peaks at approximately 1.5–3% sodium chloride. Adding more salt beyond that peak will thin the formula rather than thicken it. The only way to find the peak for your specific blend is to conduct a salt curve test: make a small batch, add salt in 0.25% increments, and measure viscosity at each point.
For formulators who want to avoid the salt curve entirely, hydroxyethylcellulose (HEC) or carbomer-based thickeners can be used as alternatives, though they require careful pH management and can affect foam quality.
pH Management in Shampoo Formulation
The scalp has a natural pH of approximately 4.5–5.5. Shampoos formulated above pH 7 can disrupt the scalp's acid mantle, cause cuticle swelling, and increase the risk of colour fade in chemically treated hair. Most professional shampoo formulas target a finished pH of 5.0–6.0.
Citric acid is the most commonly used pH adjuster in shampoo formulation. It is effective, inexpensive, and compatible with most surfactant blends. Sodium hydroxide (lye solution) is used to raise pH if the formula comes in too acidic. Always measure pH after all ingredients have been incorporated and the formula has cooled to room temperature, as pH readings shift with temperature.
One important exception: Sodium Lauroyl Sarcosinate requires a pH above 5.5 to remain stable and effective. If you include Sarcosinate in your blend, your target pH range shifts to 5.5–6.5. Formulating it below pH 5.5 will reduce its performance significantly.
The Role of Chelating Agents
Hard water contains calcium and magnesium ions that react with anionic surfactants to form insoluble soap scum. In a shampoo formula, this manifests as reduced lather, a dull or waxy residue on the hair, and decreased cleansing performance. Chelating agents bind to these metal ions and prevent them from interfering with the surfactant system.
Tetrasodium EDTA and Tetrasodium Glutamate Diacetate (GLDA) are the two most commonly used chelating agents in shampoo formulation. EDTA is highly effective and inexpensive; GLDA is the preferred option for natural and COSMOS-certified formulations. Both are used at 0.1–0.5% in the finished formula. Including a chelating agent is not optional for a professional shampoo intended for use across Australia, where water hardness varies significantly by region.
A Professional Beginner Shampoo Formula
| Phase | Ingredient | INCI Name | % (w/w) | Grams (100g batch) |
|---|---|---|---|---|
| A | Distilled Water | Aqua | 55.5% | 55.5g |
| A | Tetrasodium EDTA | Tetrasodium EDTA | 0.2% | 0.2g |
| B | SLES (70% active) | Sodium Laureth Sulfate | 25.0% | 25.0g |
| B | CAPB (35% active) | Cocamidopropyl Betaine | 8.0% | 8.0g |
| B | Coco Glucoside | Coco Glucoside | 3.0% | 3.0g |
| C | Glycerin | Glycerin | 3.0% | 3.0g |
| C | Panthenol | Panthenol | 1.0% | 1.0g |
| D | Sodium Chloride | Sodium Chloride | 2.0% | 2.0g |
| D | Preservative | Per supplier spec | 1.0% | 1.0g |
| D | Citric Acid (50% solution) | Citric Acid | q.s. | q.s. to pH 5.5 |
| Total | 100% | 100g |
Method: Dissolve EDTA in water (Phase A). Add surfactants (Phase B) gently, avoiding excessive agitation to prevent air incorporation. Add conditioning actives (Phase C) and mix until uniform. Add salt, preservative, and adjust pH with citric acid solution (Phase D). Target finished pH: 5.0–5.5. Target ASM: approximately 17.5 + 2.8 = 20.3% (reduce SLES to 20% for a milder formula targeting 14% ASM).
Common Shampoo Formulation Failures and How to Fix Them
| Problem | Most Likely Cause | Fix |
|---|---|---|
| Formula too thin after adding salt | Salt added beyond the bell curve peak | Dilute with water and rebuild viscosity with HEC or reduce salt and retest |
| Shampoo strips the scalp | ASM too high or pH too alkaline | Reduce primary surfactant inclusion and verify pH is below 6.0 |
| Poor lather in hard water | No chelating agent in formula | Add 0.2% Tetrasodium EDTA or GLDA to Phase A |
| Formula separates on standing | Incompatible ingredient added to surfactant phase | Check all additions for charge compatibility; cationic ingredients are incompatible with anionic surfactants |
| Sarcosinate not performing | Formula pH below 5.5 | Raise pH to 5.5–6.5 and retest cleansing performance |
Frequently Asked Questions
Sodium Lauryl Sulfate (SLS) is a direct-chain anionic surfactant with a smaller molecular size, which allows it to penetrate the skin barrier more easily and is associated with higher irritation potential. Sodium Laureth Sulfate (SLES) is ethoxylated, meaning it has a larger molecular structure that reduces skin penetration and irritation. SLES is the preferred option for most professional shampoo formulations, particularly those targeting sensitive scalps or daily use.
Replace SLES with a blend of Sodium Cocoyl Isethionate (SCI) as the primary surfactant, Cocamidopropyl Betaine as the co-surfactant, and Coco Glucoside as a foam booster. SCI is an anionic surfactant derived from coconut fatty acids that produces a rich, creamy lather without sulfates. The trade-off is higher cost and a more complex manufacturing process, as SCI is a solid that requires heat to incorporate.
The most commonly used preservatives in professional shampoo formulation include Phenoxyethanol (used at 0.5–1.0%), Sodium Benzoate combined with Potassium Sorbate (used at 0.5–1.0% each, effective only below pH 6.0), and Optiphen Plus. Always verify the pH compatibility of your chosen preservative system before finalising your formula.
Yes, with adjustments. A body wash typically targets a slightly lower ASM (10–14%) and a pH closer to the skin's natural pH of 4.5–5.5. The same SLES/CAPB/Coco Glucoside blend can be used for both, but the inclusion percentages and salt levels should be adjusted separately for each product type.
Ready to go deeper into surfactant chemistry?
The Ultimate Guide to Surfactants profiles 34 surfactants across all charge categories, with full usage rates, ASM data, the complete salt viscosity bell curve, and a 6-failure troubleshooting guide. 26 pages. Instant PDF download.
Get the Ultimate Guide to SurfactantsDisclaimer: All ingredients and products referenced in this article are intended for cosmetic use only. No therapeutic, medicinal, or TGA-regulated claims are made or implied. Always conduct a patch test before use and ensure your finished formulations comply with Australian cosmetic regulations.