Madrid is overall a cheaper city to live in than Barcelona. You can buy a coffee for just €2 and eat out at a regular restaurant for €12 a head, according to Numbeo. You can use public transport for as little as €1.50 and your average monthly rent could be as little as €800 for one person or from €1,240 for a family.