Skip to content
Soap Math

How to Make Shampoo

Professional Scalp & Hair Care Formulation

Formulating a high-quality shampoo is a balancing act between effective cleansing and hair protection. Unlike body wash, hair cleansers must respect the delicate structure of the hair cuticle, provide enough slip for detangling, and maintain a strict pH range to prevent frizz and damage.

In this guide, we'll use the BubbleMath calculator to design a professional-grade shampoo. Whether you're looking for a high-foam SLES-based formula or a gentle amino-acid system, the principles of ASM (Active Surfactant Matter) and pH management remain the core of successful formulation.

Shampoo Formulation

The Shampoo Standard:

Shampoo differs from body wash in its lower ASM target and its critical requirement for an acidic pH (5.0–5.5).

  • ASM Target: 8–14% (Lower than body wash to prevent stripping)
  • pH Range: 5.0–5.5 (Critical for cuticle closure and shine)
  • Conditioning: Panthenol and Polyquats for manageability
PhaseTypical %Function
Water Phase60–70%Base, humectants, water-soluble conditioners
Surfactant Phase15–25%Cleansing agents, foam boosters
Structure Phase1–5%Thickeners (Salt or Polymers), Pearlizers
Cool Down3–8%Preservative, fragrance, actives

Safety & Sanitation

Microbial Safety is Critical

Any product containing water is a breeding ground for bacteria and mold. Because shampoo is used in a warm, humid bathroom environment, proper preservation and sanitation are non-negotiable.
  • Sanitize all beakers, stirrers, and bottles with 70% Isopropyl Alcohol.
  • Use Distilled or Deionized water only — never tap water.
  • Wear gloves and a hairnet to prevent human contamination of the batch.

Essential Equipment

  • Digital scale (0.1g accuracy)
  • Heat-safe glass beakers
  • Overhead stirrer or low-speed mixer
  • pH Meter (calibrated)
  • Hot plate or water bath
  • Infrared thermometer

Formulate with BubbleMath

The BubbleMath calculator handles the complex math of surfactant charges and ASM. Follow these steps to build your shampoo formula.

1

Formula Setup

Select Shampoo as your product type. BubbleMath will automatically:

  • Set the target ASM range to 8–14%.
  • Set the target pH range to 5.0–5.5.
  • Select Gel/Cream format for standard viscosity.

Enter your target batch weight (e.g., 500g or 16oz).

2

Water Phase

Water is automatically set to QS (Quantity Sufficient) to reach 100%. Add your shampoo-specific additives:

Humectants: Glycerin (2–5%) for scalp moisture.

Conditioners: Panthenol (0.5–1%) is essential for hair strength. Add EDTA (0.05%) to help surfactants work in hard water.

Polymers: If using non-SLES surfactants, add HEC (0.8%) here for thickening.

3

Surfactant System

This is where you define the cleansing power. Use Auto Mode for the best results.

High Foam / Value

SLES 70% (15%) + CAPB (8%). This is the industry standard for great foam and ease of thickening with salt.

Ultra Mild / Sulfate-Free

Sodium Cocoyl Glutamate (15%) + CAPB (6%) + Decyl Glucoside (3%). Much gentler on the hair cuticle.

Watch the ASM Gauge — keep it in the green zone (8–14%) for shampoo.

4

Structure & Additives

Thickening Method:

If your surfactants are SLES-based, use Electrolyte (NaCl) at 1–1.5%. For sulfate-free, use Polymer (HEC or Guar).

Refatters & Aesthetics:

Add Glycol Distearate (1.5%) if you want a pearlescent "salon" look. Add PEG-7 Glyceryl Cocoate (1%) to restore lipids to the hair.

5

Cool Down Phase

Add heat-sensitive ingredients once the batch is below 104°F (40°C):

  • Preservative: (e.g., Optiphen at 1%) — Mandatory.
  • Fragrance/EO: (0.5–1.5%) — Ensure IFRA compliance.
  • Actives: Niacinamide, Keratin, or Biotin (0.1–1%).
  • pH Adjusters: Citric acid is QS to hit 5.0–5.5.

Manufacturing Steps

1

Prepare Water Phase

Combine distilled water, EDTA, and humectants in your main beaker. If using a polymer thickener like HEC, hydrate it in the water phase until clear and thick.
2

Add Surfactants

Add your anionic and nonionic surfactants to the water phase. If using solid surfactants (SLSa/SCI) or pearlizers, heat the phase to 158–167°F (70–75°C) until melted. If using all liquids, no heat is required.
3

Mixing

Stir gently with an overhead stirrer or spatula. Avoid high-speed blending that creates excessive foam. Mix until uniform.
4

Thickening

Add your amphoteric surfactant (CAPB) last. If salt thickening, add the NaCl solution slowly in 0.1% increments while stirring until the desired viscosity is reached.
5

Cool Down & Adjust

Once below 104°F (40°C), add preservative and fragrance. Check pH and adjust with a 50% Citric Acid solution until you reach 5.0–5.5. The shampoo will often thicken further as the pH drops.

Pro Tip

The "Salt Curve": When thickening with salt, more is not always better. Most surfactant systems follow a "salt curve" — they thicken as you add salt up to a certain point (usually 1–2%), but if you add too much, the viscosity will suddenly crash and the shampoo will become watery again.

Troubleshooting

If…Then…Solution
Shampoo is too thinSalt peak exceeded or insufficient polymerCheck if you've added too much salt. If sulfate-free, increase HEC or Xanthan Gum.
Hair feels rough after washingpH is too highEnsure final pH is 5.0–5.5 to keep the cuticle closed.
Cloudy appearance in clear formulaUnsolubilized fragrance or pH driftUse a solubilizer for fragrance or check if pH is causing precipitation.

Tip: Build your formula in BubbleMath

BubbleMath handles ASM calculations, charge conflict checks, salt thickening viability, and safety validation.

Frequently Asked Questions