This paper describes a magnetic levitation-based method that can specifically detect the presence of antigens, either soluble or membrane-bound, by quantifying changes in the levitation height of capture beads with fixed densities.