Foam formulation comprising a substantially emulsifier-free emulsion of the oil-in-water type, comprises an oil phase and an aqueous phase, where the emulsion comprises at least one surface active, ionic polymer with a molecular weight of more than 5000 g/mol, and the ionic polymer is a copolymer comprising as monomer units an ionic monomer, and at least one further monomer. An independent claim is included for manufacturing the foam formulation, comprising preparing an emulsion of the oil-in-water type, filling the emulsion with propellant into a pressurized container, or filling the emulsion into a container other than a pressurized container that upon dispensing of the emulsion generates a foam.