This article suggests a mathematical model for defects of continuity-type cracks under electromagnetic flaw detection conditions. The model describes the process of redistribution of current density in the flaw vicinity and the associated change of the magnetic field. The essence of the calculation method consists in representing current loops of complex shape by a set of circular loops with equivalent electromagnetic effect. The reliability of the model is confirmed by comparing the results of calculation and experiment. The calculations were carried out on an ES-1033 computer.