Experimental measurements have been made of the shell deformation during the impact of a motorcycle helmet, and the compressive stress-strain relationship of the foam liner. The information was used to construct a computer model of the performance of helmets, that allows the effects of different shell materials, and of different foam densities, to be predicted. The main events in the deformation of an impacted helmet were identified and the optimisation of the design for particular types of impact is discussed.