eVoost · · 4 min
How many years of income a flat costs in Spain
I wanted one number per town that anyone could check: how many years of income it takes to pay for a flat. We built it at eVoost, where I am CTO, for every Spanish municipality with more than 25,000 inhabitants. That is 306 towns and cities. The data is public, the arithmetic fits in three lines, and the full table is at the end of this post.

What it shows
The median town needs 8.3 years of income for 80 m². The range is wide. Puertollano, an old mining town in Castilla-La Mancha, needs 3.0. Madrid needs 17.9 and Barcelona 15.2. The top of the list is Santa Eulària des Riu, in Ibiza, at 23.3.
Years are hard to feel, so the chart also uses a second measure: the share of income that a mortgage on that flat would take. The Bank of Spain treats 35% as high effort. In 186 of the 306 municipalities a single person on the local median income would be above that line. In 69 the payment would take more than half. In Santa Eulària it would take 108%, which is a long way of saying it cannot be done on one income.
The part I did not expect is the middle band. Madrid and the islands surprise nobody. The orange dots are mid-sized towns, many of them in Catalonia and Andalusia, that rarely make the news. There too the sums no longer work for one person.
Renting follows the same map. In 210 of the 306 municipalities, renting 80 m² takes more than 30% of that same income. In Madrid it takes 58% and in Barcelona 55%.
How it is calculated
Three inputs per municipality, all from official sources:
- Appraised value per square metre of free-market housing, from the Ministry of Housing, second quarter of 2026. The ministry publishes it for municipalities over 25,000 inhabitants, which is why there are 306.
- Median income per consumption unit, from the household income atlas of INE, the national statistics office, for 2024.
- The average rate of new fixed-rate mortgages, also from INE: 3.16% in August 2026.
Then:
- Price of the flat = 80 × appraised value per square metre.
- Years of income = price ÷ median income.
- Mortgage share = yearly payment on a 25-year fixed-rate loan for 80% of the price ÷ median income.
Rent uses the ministry's reference rent per square metre for 2024, times 80, over the same income.
What it does not say
These are the limits I would raise if someone else showed me this chart.
- The income is from 2024 and the prices from 2026. With today's incomes the years would come out somewhat lower.
- The rent figures are also from 2024, so they understate what people pay now.
- INE publishes this income in steps of 350 euros. There are only 32 distinct values across the 306 towns, and Madrid and Barcelona share the same one, 24,150 euros. Differences of a few tenths between two towns mean nothing.
- Income per consumption unit is not a salary. It spreads a household's income across its members with a standard scale. I use it as a stand-in for what one person lives on.
- 80 m² is a yardstick so that towns can be compared. I am not claiming one person needs 80 m².
- The mortgage payment covers the 80% that is financed. The other 20%, plus roughly 10% in taxes and fees, has to come from savings and is not in the number.
- Appraised values run below asking prices, so the index is on the cautious side.
- Smaller towns are missing, because the ministry does not publish appraised values for them.
Why we built it
eVoost builds decision tools for residential developers. A developer decides what to build years before anyone buys it, and mostly by looking at what sold last time. Quórum is a public site we run where people say what home they need and what they can pay, and this index is the supply side of that picture.
What I take from the chart, as someone who works with the people deciding unit mixes: in six out of ten of these municipalities, 80 m² is a two-income purchase or it does not happen. That should be the starting point when choosing what to build, and often it is not.
Data and code
- The table as CSV: 306 rows with appraised value, median income, price of 80 m², mortgage payment, rent and the two ratios.
- The script that draws the chart: Python and matplotlib, about seventy lines.
- Method and sources on the Quórum site, in Spanish, with a page for each city.
If you think one of the choices is wrong, I would like to hear which. The two I am least sure about are using income per consumption unit for a single buyer and fixing the flat at 80 m² everywhere.