The type of lens used in a magnifying glass is determined by its ability to produce a magnified, virtual, and erect image. A convex lens does this when the object is placed within its focal length.