The cost of living in Madrid is generally lower than in the United States. But this depends on your salary and where you will be living. To compare prices in specific Spanish cities with prices in the USA we recommend using the tool Numbeo.