The detection of single molecules, e.g. in biology is possible by marking the interesting molecules with magnetic beads and detect the influence of the beads on giant magnetoresistance (GMR)/tunnel magnetoresistance (TMR)/spin valve (SV) sensors. The development of suitable multilayers has been studied experimentally as well as theoretically in order to optimize the sensor parameters. A finite difference (FD) method including the usually used contributions to the total energy [exchange, antiferromagnetically (af) coupling, anisotropy and magnetostatic] is used for the simulation with additional contributions to the local field according to the stray fields of the beads. In this work, we will show the results of micromagnetic calculations of the magnetization behavior of GMR/TMR sensors considering also the interaction between the domains in the magnetic layers of the sensor and the bead area. We can present first calculations where the bead particles (signal source) and the magnetic layers (sensor device) are considered as a whole magnetic ensemble. (C) 2004 Elsevier B.V. All rights reserved.