Archimedes approximated pi by inscribing and circumscribing polygons around a circle, calculating their perimeters, and using their ratios to approximate the value of pi.