The official taxis from Madrid Airport now operate a flat fee system into the city centre. This fee is €30 and there are no supplements. There is a taxi desk in the arrivals area explaining this. You can also get a leaflet from the airport website. The driver will put €30 on the meter when he starts off. I am guessing that they do this to avoid drivers ripping off tourists.
The metro is €5 each.