The Madrid metro and buses have four different zones: A, B1, B2 and B3. Most of the main attractions in Madrid are within zone A, and it's unlikely that you'll need a ticket to the outer perimeters unless you're going to a very specific suburban destination to visit someone, or to the airport.