In this chapter, we examine the question of how spectropolarimetric observations of magnetic stars may be modelled, and how modelling techniques may be used to extract much detailed information about the stellar magnetic field and other characteristics of the magnetized stellar atmosphere.