The density of the magnetic field lines indicates the strength of the magnetic field. Where the lines are closer together, the field is stronger, and where they are farther apart, the field is weaker. The field appears strongest near the poles of the magnet and weaker farther away.