De renta en renta

Housing costs and wages, tract by tract

ES EN
Contents

Data

Every figure of the atlas that has passed the validation gate is in a single file: the long table, in Parquet. This page describes what it contains, how to read it and under which licence it can be reused. It is a faithful translation of docs/datos.md; the sections «Column values» and «Indicator dictionary» are generated from the inventory (docs/data_dictionary.md).

Download

  • File: tabla_larga.parquet, 43.5 MB (43,545,822 bytes).
  • SHA-256 sum: 2c645890f79a7dfdc56e0e10e5a8c017ccbfd6d80e3dc78d31f20c7910b3826a
  • Data: generated on 18 November 2026, from commit 4354766.
  • Release: v1.2.0, with the site data and the base map.
  • Source versions: version.json.

The SHA-256 sum of the downloaded file must match the one above:

sha256sum tabla_larga.parquet

In PowerShell:

Get-FileHash tabla_larga.parquet -Algorithm SHA256

version.json also gives the version and the number of rows of each source. The release bundles the long table, the site data and the base map, with the sums of all of them in SHA256SUMS.

Licence and citation

  • Derived data, texts and inventory: CC BY-SA 4.0 (LICENCIA_DATOS.md). Anyone who reuses or transforms them cites the source and publishes what they derive under the same licence.
  • Code: MIT (LICENSE).
  • Source data: keep the terms of each source (inventario/fuentes.csv, column licencia), which is also cited. What each one requires and what is withdrawn if one changes: methodological note («Method»), §2.2 and §2.4.
  • Base map: INE 2021 census tract geometries.
  • Eurostat NUTS geometries (GISCO) of the European overburden map, which the site publishes as files (datos/sobrecarga/nuts_2021.geojson and datos/sobrecarga/nuts_2024.geojson): they are not covered by CC BY-SA 4.0. Their use is non-commercial and carries the notice «© EuroGeographics for the administrative boundaries»; commercial use requires a EuroGeographics licence.

Attribution of the data:

Astiaso Llamazares, G. (2026). De renta en renta: atlas de vivienda y salarios por sección censal [software and data]. https://gastiaso.github.io/de-renta-en-renta/. CC BY-SA 4.0. Data source: [original source].

Add the date of the data (shown below the map) and the date of access.

Citation of the atlas (CITATION.cff):

Astiaso Llamazares, G. (2026). De renta en renta: atlas de vivienda y salarios por sección censal (version 1.2.0) [software and data]. https://gastiaso.github.io/de-renta-en-renta/. CC BY-SA 4.0.

GitHub also offers it in APA and BibTeX from the repository («Cite this repository»).

How to read it

The table has millions of rows: it is best filtered while reading, without loading it whole. Both examples extract the median rent per m² of flats in the municipalities in 2024 and show the one for Madrid (28079).

R

With arrow and dplyr. The download:

download.file("https://gastiaso.github.io/de-renta-en-renta/descargas/tabla_larga.parquet",
              "tabla_larga.parquet", mode = "wb")

The reading:

library(arrow)
library(dplyr)

alquiler <- open_dataset("tabla_larga.parquet") |>
  filter(indicador == "alquiler_m2", nivel == "municipio", anio == 2024,
         corte == "tipologia", grupo == "VC") |>
  select(geo_id, valor, estado) |>
  collect()

filter(alquiler, geo_id == "28079")

Python

With pandas and pyarrow. The download:

from urllib.request import urlretrieve

urlretrieve("https://gastiaso.github.io/de-renta-en-renta/descargas/tabla_larga.parquet",
            "tabla_larga.parquet")

The reading:

import pandas as pd

alquiler = pd.read_parquet(
    "tabla_larga.parquet",
    columns=["geo_id", "valor", "estado"],
    filters=[("indicador", "==", "alquiler_m2"), ("nivel", "==", "municipio"), ("anio", "==", 2024),
             ("corte", "==", "tipologia"), ("grupo", "==", "VC")],
)

print(alquiler[alquiler["geo_id"] == "28079"])

Data model

One row per area, year, indicator, breakdown and source. The key is geo_id, nivel, anio, indicador, corte, grupo and fuente.

Column Type Content
geo_id text (string) Area code, with leading zeros. Census tract: 10 digits (province 2, municipality 3, district 2 and tract 3); Spain: 00.
nivel text (string) Geographic level of the area.
anio integer (int32) Reference year. Figures that pool several survey waves carry the latest one; those for periods shorter than a year, the year of their month, which goes in corte and grupo.
indicador text (string) Indicator code.
corte text (string) Breakdown variable (tenure, age, dwelling type…); total without a breakdown.
grupo text (string) Breakdown value; total without a breakdown.
valor decimal (double) Figure with the precision of the source, in the unit of the indicator; empty when estado is secreto or ausente.
estado text (string) dato, estimado, secreto or ausente.
fuente text (string) Source of the figure; calculo_propio for derived figures.
geo_ref text (string) Reference tract map (2021) of the figures built from tracts; empty for those the source already publishes for provinces, autonomous communities or Spain.
version text (string) Source version: date of the source file (YYYY-MM-DD).

To read it:

  • Breakdowns. Each indicator has its own, and some have no total rows: rent only comes by dwelling type (corte tipologia, with the quartiles in tipologia_p25 and tipologia_p75) and tourist dwellings, by reference month (corte mes). Without filtering corte and grupo, breakdowns get mixed.
  • Statuses. estimado flags figures of tracts whose boundaries changed and had to be split; secreto, those the source withholds for statistical confidentiality, and ausente, those that do not exist.
  • Levels. Each level carries its own figure, the one the source publishes at that level or the one computed from figures at that level: medians and indices are not aggregated from tracts.
  • Geography. The tracts of every year are those of the 2021 Census: earlier series are carried to that tract map (methodological note, under «Method»).
  • Rent reliability. contratos_alquiler, margen_alquiler_m2 and margen_alquiler_mes accompany the SERPAVI medians with the number of contracts and the approximate margin of each one.

What this release contains

Rows, years, levels and breakdowns of each indicator in the long table of this release (version.json, indicadores).

Indicator Rows Years Levels Breakdowns
renta_persona 437,101 2015–2024 sc, municipio total
renta_hogar 437,101 2015–2024 sc, municipio total
renta_uc_mediana 429,282 2015–2024 sc, municipio total
peso_salarios 444,446 2015–2024 sc, municipio, provincia, ccaa, nacional total
bajo_60_mediana 443,361 2015–2024 sc, municipio, provincia, ccaa, nacional total
gini 443,359 2015–2024 sc, municipio, provincia, ccaa, nacional total
salario_medio 2,160 2011–2025 provincia, ccaa, nacional total, edad
alquiler_mes 1,966,170 2015–2024 sc, distrito, municipio, provincia, ccaa tipologia, tipologia_p25, tipologia_p75
alquiler_m2 1,966,170 2015–2024 sc, distrito, municipio, provincia, ccaa tipologia, tipologia_p25, tipologia_p75
var_alquiler 12,438 2015–2024 distrito, municipio, provincia, ccaa, nacional total, contrato
precio_compra_m2 792 2015–2025 provincia, ccaa, nacional total
valor_tasado_m2 4,048 2015–2025 municipio, provincia, ccaa, nacional total
esfuerzo_residentes 444,644 2015–2024 sc, municipio total
peso_alquiler_ingreso 1,650,040 2015–2024 sc, distrito, municipio, provincia, ccaa ficha
anios_salario_compra 4,048 2015–2025 municipio, provincia, ccaa, nacional total
esfuerzo_hipotecario 3,670 2015–2024 municipio, provincia, ccaa, nacional total
hogares_alquiler 72,810 2011–2021 sc, provincia, ccaa, nacional total
viviendas_turisticas 436,860 2020–2026 sc, provincia, ccaa, nacional mes
zona_tensionada 24,393 2024–2026 municipio total
sueldo_necesario 1,100,280 2015–2024 sc, distrito, municipio, provincia, ccaa total, superficie
sobrecarga 2,122 2016–2025 ccaa, nacional total, edad, tenencia, urbanizacion
busqueda_sin_exito 32 2025 ccaa, nacional total, edad, sexo, tenencia
pobreza_tras_vivienda 2,002 2016–2025 ccaa, nacional total, edad, olas, tenencia, urbanizacion
contratos_alquiler 1,100,300 2015–2024 sc, distrito, municipio, provincia, ccaa, nacional tipologia
margen_alquiler_mes 432,945 2015–2024 sc, distrito, municipio, provincia, ccaa tipologia
margen_alquiler_m2 432,945 2015–2024 sc, distrito, municipio, provincia, ccaa tipologia
linea_imv 24 2015–2026 nacional hogar
linea_pobreza_ecv 36 2007–2024 nacional hogar

12,293,579 rows in total.

Column values

Codes of the columns with a closed vocabulary and their meaning (inventario/vocabulario.csv and inventario/fuentes.csv).

estado

Code Meaning
dato Published or computed value
estimado Estimated: the tract boundaries changed and values had to be split
secreto No data (statistical confidentiality)
ausente No data

nivel

Code Meaning Digits of geo_id
sc Census tract 10
distrito District 7
municipio Municipality 5
cp Postcode 5
provincia Province 2
ccaa Autonomous community 2
nacional Spain 2 (00)

corte

Breakdown variable. Without a breakdown, corte and grupo are both total.

Code Meaning
total Total
tenencia Tenure status
edad Age
sexo Sex
tipologia Dwelling type (median)
tipologia_p25 Dwelling type, first quartile
tipologia_p75 Dwelling type, third quartile
mes Reference month
ficha Token (reference income)
oferta_privada Private asking-price data: transaction and portal (removable layer, only with PORTALES=TRUE)
contrato Age of the rental contract (IPVA)
superficie Assumed floor area (theoretical minimum of the pay needed)
urbanizacion Degree of urbanisation
hogar Household type (residual income line)
olas Pooled survey waves, whole population (anio, the last one)

grupo

Breakdown value, by corte.

corte Code Meaning
total total No breakdown
tenencia OWN Owner
tenencia OWN_NL Owner with no outstanding mortgage or housing loan
tenencia OWN_L Owner with mortgage or loan
tenencia RENT Tenant or rent-free
tenencia RENT_MKT Tenant at market price
tenencia RENT_FR Tenant at reduced price or rent-free
tenencia RENT_RED Tenant at reduced price
tenencia FREE Rent-free
edad Y_LT18 Under 18
edad Y18-64 18 to 64
edad Y_GE65 65 and over
edad Y_GE18 18 and over
edad Y15-29 15 to 29
edad Y16-29 16 to 29
edad Y30-44 30 to 44
edad Y45-64 45 to 64
edad Y26-35 26 to 35
sexo M Men
sexo F Women
tipologia VC Flat in a multi-dwelling building
tipologia VU Single-family or rural dwelling
tipologia_p25 VC Flat in a multi-dwelling building, first quartile
tipologia_p25 VU Single-family or rural dwelling, first quartile
tipologia_p75 VC Flat in a multi-dwelling building, third quartile
tipologia_p75 VU Single-family or rural dwelling, third quartile
mes M02 February
mes M05 May
mes M08 August
mes M11 November
ficha tartera Minimum wage
ficha mochila Young adult, 26 to 35
ficha transistor Pensioner
oferta_privada alquiler_idealista Rent, Idealista (private asking-price data)
oferta_privada alquiler_fotocasa Rent, Fotocasa (private asking-price data)
oferta_privada venta_idealista Sale, Idealista (private asking-price data)
oferta_privada venta_fotocasa Sale, Fotocasa (private asking-price data)
contrato nuevo New contract (signed in the reference year)
contrato existente Existing contract (signed before the reference year)
superficie 50 Notional 50 m² flat
urbanizacion DEG1 Cities
urbanizacion DEG2 Towns and suburbs
urbanizacion DEG3 Rural areas
hogar una_persona One person
hogar dos_adultos Two adults without children
olas trienio Three waves: the year's and the two before it

fuente

Sources cited by the indicator inventory; calculo_propio marks derived figures. Their link and licence are in inventario/fuentes.csv (columns url and licencia).

Code Source
ine_adrh Household Income Distribution Atlas (ADRH)
mivau_serpavi State Rental Price Reference System (SERPAVI): database
gv_emal Rental Market Statistics (deposits)
ine_ipva Rental Housing Price Index (IPVA)
notariado Notaries’ Statistical Portal: home sales (price-map layer)
notariado_cien Notaries’ CIEN: «Full statistics» (home-purchase mortgages)
registradores Land Registry Real Estate Statistics: residential property sales by province (Spanish Land Registrars' Association; database under the ODbL)
mivau_valor_tasado Appraised value of open-market housing
portales Asking-price reports (Idealista and Fotocasa press rooms)
aeat_mercado_trabajo Labour market and pensions in tax sources
inss_pensiones Social Security contributory pensions (in payment)
boe_smi Royal Decree on the minimum wage
ine_censo2021 Population and Housing Census 2021
ine_censo2011 Population and Housing Censuses 2011
ine_vut Tourist dwellings (experimental statistics)
zonas_tensionadas Declarations of stressed residential market zones
ine_ecv Living Conditions Survey, EU-SILC (microdata)
ine_ecv_modulo Living Conditions Survey 2025: housing access difficulties module (tables)
eurostat_ilc_lvho07 Housing cost overburden rate (ilc_lvho07a, ilc_lvho07b, ilc_lvho07c)
eurostat_ilc_lvho07_r Housing cost overburden rate by NUTS 2 region (ilc_lvho07_r)
eurostat_ilc_li48 At-risk-of-poverty rate after deducting housing costs by degree of urbanisation (ilc_li48)
eurostat_ilc_li45 At-risk-of-poverty rate after deducting housing costs by age and sex (ilc_li45)
eurostat_ilc_lvho07d Housing cost overburden rate by degree of urbanisation (ilc_lvho07d)
bde_accesibilidad Housing affordability indicators (years of income, theoretical burden)
calculo_propio Own calculation from the sources of each term
boe_imv Minimum living income and non-contributory pension: annual amounts (uprating rules)
ine_ecv_umbral Living Conditions Survey: at-risk-of-poverty threshold (illustrative values)

Indicator dictionary

The 29 indicators of the plan and 5 auxiliaries (rent reliability and residual income lines), in the order of inventario/indicadores.csv. The indicador column of the long table holds the code. «Version» is the atlas version in which each indicator is added: those added in a version later than the release are not in the long table yet.

No. Code Name Unit Version
1 renta_persona Average net income per person € per person per year v0.1
2 renta_hogar Average net income per household € per household per year v0.1
3 renta_uc_mediana Median income per consumption unit € per consumption unit per year v0.1
4 peso_salarios Share of wages in income % of gross income v0.2
5 bajo_60_mediana Population below 60% of median income per consumption unit % of population v0.2
6 gini Gini index index (0–100) v0.2
7 salario_medio Average annual wage per employee (total and aged 26 to 35) € per employee per year (gross) v0.2
8 alquiler_mes Monthly rent (median) € per month v0.1
9 alquiler_m2 Rent per square metre € per m² per month v0.1
10 var_alquiler Annual change in rents annual % change v0.3
11 precio_compra_m2 Sale price per square metre € per m² v0.3
12 valor_tasado_m2 Appraised value per square metre € per m² v0.3
13 precio_oferta Asking price (rent and sale) € per m² (rent: per m² per month) v0.4
14 esfuerzo_residentes Median rent over the area's average household income % of household income v0.1
15 peso_alquiler_ingreso Rent share of income % of reference income v0.1
16 anios_salario_compra Years of wages to buy a home years v0.3
17 esfuerzo_hipotecario Mortgage payment over household income % of household income v0.3
18 hogares_alquiler Renting households % of households v0.1
19 viviendas_turisticas Tourist dwellings as a share of all dwellings % of dwellings v0.1
20 zona_tensionada Declared stressed housing market area category (2 whole municipality, 1 part of it, 0 none) v0.4
21 sueldo_necesario Net monthly pay needed to stay under the threshold net € per month v0.1
22 sobrecarga Housing cost overburden rate (Eurostat method) % of people v0.1
23 busqueda_sin_exito Unsuccessful housing search % of people aged 16 and over v0.1
24 pobreza_tras_vivienda At-risk-of-poverty rate after housing costs % of people v1.2
25 precio_escriturado_m2 Notarised sale price per square metre € per m² v1.3
26 precio_escriturado_vivienda Average notarised price per home sale € per home v1.3
27 compraventas_notariado Home sales notarised over 12 months sales v1.3
28 hipotecas_compra_vivienda Mortgages for home purchase mortgages per year v1.3
29 cuantia_hipoteca_vivienda Average amount of home-purchase mortgages € per mortgage v1.3
Auxiliary contratos_alquiler Rental contracts behind the median contracts v0.1
Auxiliary margen_alquiler_mes Approximate margin of the median monthly rent % of the median v0.1
Auxiliary margen_alquiler_m2 Approximate margin of the median rent per m² % of the median v0.1
Auxiliary linea_imv Residual income line: minimum living income € per month v1.2
Auxiliary linea_pobreza_ecv Residual income line: at-risk-of-poverty threshold € per month v1.2

renta_persona

1 · Average net income per person

  • Unit: € per person per year
  • Family: Ability to pay
  • Sources: ine_adrh
  • Version: v0.1
  • Definition: Average disposable income of residents: total income net of taxes and contributions of all households in the tract, divided by its population.
  • Calculation: Published by INE (ADRH) from tax records. Years published on another tract map are carried to the 2021 tracts as a population-weighted mean; where a tract has to be split, the status becomes «estimated».
  • Reading: Income for year t with population on 1 January of t + 1. Excludes imputed rent of owner-occupied housing. Published about 22 months after the reference year.

renta_hogar

2 · Average net income per household

  • Unit: € per household per year
  • Family: Ability to pay
  • Sources: ine_adrh
  • Version: v0.1
  • Definition: Average disposable income of households in the tract.
  • Calculation: Published by INE (ADRH). On other tract maps, mean weighted by the number of households (population divided by average household size), with the same status rules as indicator 1.
  • Reading: This is household income, often with several earners, not a wage. It is the denominator of median rent over the area's average household income (14) and the income of the «neighbourhood household» token.

renta_uc_mediana

3 · Median income per consumption unit

  • Unit: € per consumption unit per year
  • Family: Ability to pay
  • Sources: ine_adrh
  • Version: v0.1
  • Definition: Median disposable income per consumption unit (modified OECD scale): half of the tract population lives in households with lower equivalised income and half with higher.
  • Calculation: Published by INE (ADRH) at each scale; medians are not aggregated. On other tract maps the value of a single source tract is copied (the same tract or one contributing at least 95% of street numbers); if none dominates, it is left blank.
  • Reading: Comparable across household sizes. It underlies the relative poverty thresholds (indicator 5).

peso_salarios

4 · Share of wages in income

  • Unit: % of gross income
  • Family: Ability to pay
  • Sources: ine_adrh
  • Version: v0.2
  • Definition: Share of the gross income of the tract's residents that comes from wages.
  • Calculation: Published by INE (ADRH, income by source: wages, pensions, unemployment benefits, other benefits and other income, adding up to 100). Years published on another tract map are carried to the 2021 tracts as a mean weighted by each tract's gross income (average gross income per person × population); where a tract has to be split, the status becomes «estimated». Municipalities, provinces, regions and Spain use the published figure.
  • Reading: Links neighbourhood income to wages: a low share means income depends more on pensions, benefits or other income. No data for Álava until 2019, Gipuzkoa in 2015 or most of Navarre until 2020.

bajo_60_mediana

5 · Population below 60% of median income per consumption unit

  • Unit: % of population
  • Family: Ability to pay
  • Sources: ine_adrh
  • Version: v0.2
  • Definition: Population with income per consumption unit below 60% of the Spanish median (until 2022, the median of the common tax territory, without the Basque Country and Navarre).
  • Calculation: Published by INE (ADRH, relative thresholds, both sexes). Years published on another tract map are carried to the 2021 tracts as a population-weighted mean, since the threshold is the same across Spain each year; where a tract has to be split, the status becomes «estimated». Municipalities, provinces, regions and Spain use the published figure.
  • Reading: National threshold, not regional: the same income counts the same everywhere, although living costs differ. Break in 2023: the threshold moves from the median of the common tax territory to that of all of Spain. No data for Álava until 2019, Gipuzkoa in 2015 or Navarre until 2020.

gini

6 · Gini index

  • Unit: index (0–100)
  • Family: Ability to pay
  • Sources: ine_adrh
  • Version: v0.2
  • Definition: Gini index of income per consumption unit in the tract: 0 if everyone has the same income, 100 if one person holds all of it.
  • Calculation: Published by INE (ADRH), which first replaces the lowest 1.5% and the highest 1.5% of incomes with the nearest value. On other tract maps the value of a single source tract is copied (the same tract or one contributing at least 95% of street numbers); if none dominates, it is left blank. Municipalities, provinces, regions and Spain use the published figure.
  • Reading: Measures inequality within the neighbourhood, not between neighbourhoods. No data for Álava until 2019, Gipuzkoa in 2015 or Navarre until 2020.

salario_medio

7 · Average annual wage per employee (total and aged 26 to 35)

  • Unit: € per employee per year (gross)
  • Family: Ability to pay
  • Sources: aeat_mercado_trabajo
  • Version: v0.2
  • Definition: Average gross annual wage of employees with tax residence in the province, overall and aged 26 to 35.
  • Calculation: Published by the Spanish Tax Agency (AEAT, Labour market and pensions in tax sources, table by province, age and sex): wages / employees, overall and for the 26 to 35 age band; regions and Spain, with their published figure. The Basque Country and Navarre are not covered (foral tax residence) and have no data.
  • Reading: Actual pay over the year: it includes people who worked only a few months. It is a mean, not a median; the «young adult, 26 to 35» token converts it to a median with the median-to-mean ratio of the estimated average wage in its region, adjusted with the ECV to pay received over the year (including people who worked only a few months), and then to monthly net pay spread over 12, with the employee's social security contribution and the average AEAT withholding by region and income band (plan §3.1, method B).

alquiler_mes

8 · Monthly rent (median)

  • Unit: € per month
  • Family: Housing cost · Staying
  • Sources: mivau_serpavi, gv_emal
  • Version: v0.1
  • Definition: Median monthly rent of current main-residence tenancies in the tract, by building type (apartment and single-family); the first and third quartiles are also published.
  • Calculation: Published by the Housing Ministry (SERPAVI) from rents declared in personal income tax and the Cadastre, on the 2021 tracts for the whole series. Not published with fewer than 10 tenancies.
  • Reading: Covers the whole rented stock, not new contracts: newcomers pay more. It only counts landlords who are natural persons and declare the letting as a main residence in personal income tax: companies and public housing, undeclared lettings and lettings to relatives are left out (Housing Ministry methodology, 18-Mar-2026). The Basque Country and Navarre join SERPAVI between 2021 and 2024.

alquiler_m2

9 · Rent per square metre

  • Unit: € per m² per month
  • Family: Housing cost · Staying
  • Sources: mivau_serpavi, gv_emal
  • Version: v0.1
  • Definition: Median monthly rent per square metre of current main-residence tenancies in the tract, by building type (apartment and single-family).
  • Calculation: Published by the Housing Ministry (SERPAVI), using Cadastre floor area.
  • Reading: Allows comparing tracts with different dwelling sizes and underlies the pay needed (21). Same universe as 8: only landlords who are natural persons declaring the letting in personal income tax.

var_alquiler

10 · Annual change in rents

  • Unit: annual % change
  • Family: Housing cost · Staying
  • Sources: ine_ipva
  • Version: v0.3
  • Definition: Annual change in the Rental Housing Price Index.
  • Calculation: Published by INE (IPVA), which follows the same tenancies and separates new from existing contracts.
  • Reading: An index, not a price level: it shows trends, not how much is paid.

precio_compra_m2

11 · Sale price per square metre

  • Unit: € per m²
  • Family: Housing cost
  • Sources: registradores
  • Version: v0.3
  • Definition: Average price per square metre of housing sales entered in the land registries.
  • Calculation: Published by the Spanish Land Registrars' Association (Real Estate Registry Statistics, open data under the ODbL): average price per m² of housing for the year, that of the fourth quarter, which accumulates the calendar year; province, region and Spain, each with its published figure.
  • Reading: A registered sale price, not an asking price or an appraisal. It is not compared with the Notaries' price per m², which measures a different floor area; the province is the finest level.

valor_tasado_m2

12 · Appraised value per square metre

  • Unit: € per m²
  • Family: Housing cost
  • Sources: mivau_valor_tasado
  • Version: v0.3
  • Definition: Average appraised value per square metre of open-market housing.
  • Calculation: Quarterly figure published by the Housing Ministry from mortgage appraisals; the year is the average of its four quarters weighted by the number of appraisals.
  • Reading: An appraisal value, not a price paid; only municipalities above 25,000 inhabitants.

precio_oferta

13 · Asking price (rent and sale)

  • Unit: € per m² (rent: per m² per month)
  • Family: Housing cost · Moving in
  • Sources: portales
  • Version: v0.4
  • Definition: Average price per square metre in rental and sale listings.
  • Calculation: Monthly figure from each portal’s aggregated press-room reports (Idealista: the author’s extraction, matched to INE codes in inventario/portales_idealista_territorios.csv; format in R/fuente_portales.R); never individual listings. One value per year, portal and transaction: the mean of the published months, with at least 9 (with fewer, no data), or the annual figure if the portal publishes one; at each level, the one the portal publishes for that level. The last month of the year is no longer used (10 Nov 2026). A removable layer (PORTALES=FALSE by default), web only: not in the long table or the downloads.
  • Reading: An asking price, private asking-price data: not combined with contracts, deeds or appraisals, nor one portal with another.

esfuerzo_residentes

14 · Median rent over the area's average household income

  • Unit: % of household income
  • Family: Burden · Staying
  • Sources: mivau_serpavi, ine_adrh
  • Version: v0.1
  • Definition: Share of the annual income of the average household in the tract, across all its households (owners included), that the median rent of that same tract would take.
  • Calculation: Median monthly rent of flats × 12 / average net household income, same year, × 100. Census tract and municipality. If either term is confidential or missing, so is the result.
  • Reading: It is not renters' burden: it divides the rent of current tenancies by the average income of all households in the tract, owners included, and barely tells areas apart (in 2024, a median of 18.3% in the fifth of tracts with the lowest household income and 17.5% in the highest). Expensive areas look affordable because higher-income people live there.

peso_alquiler_ingreso

15 · Rent share of income

  • Unit: % of reference income
  • Family: Burden · Staying
  • Sources: mivau_serpavi, aeat_mercado_trabajo, boe_smi, inss_pensiones
  • Version: v0.1
  • Definition: Share of a token’s net monthly income (minimum wage, young adult, pensioner or the user’s own pay) that 50 m² of rent in the tract would take.
  • Calculation: Median rent per m² of flats × 50 / token’s net monthly income spread over 12 payments, × 100. Computed in the browser for the chosen token, with the token’s income from the same year as the rent (each year’s minimum wage, young-adult pay and pension, 2015 to 2024); if the token lacks that year, the latest is used and this is stated.
  • Reading: Measures what the rent of current tenancies in the tract (those already renting) would take from a given income; it is not the price of moving in today, which asking rents measure. Read by bands (up to 30%, 30–40% and over 40%), not as an exact figure.

anios_salario_compra

16 · Years of wages to buy a home

  • Unit: years
  • Family: Burden
  • Sources: mivau_valor_tasado, aeat_mercado_trabajo
  • Version: v0.3
  • Definition: Years of reference gross pay needed to buy a standard dwelling.
  • Calculation: Appraised value per m² × standard floor area (80 m² by default) / average gross annual wage per employee (Tax Agency), same year; for a municipality, the wage of its province.
  • Reading: Uses the appraised value, not the deed price, and ignores financing and down payment; see mortgage payment over household income (17). No data for the Basque Country and Navarre, which lack Tax Agency wages.

esfuerzo_hipotecario

17 · Mortgage payment over household income

  • Unit: % of household income
  • Family: Burden
  • Sources: mivau_valor_tasado, ine_adrh, bde_accesibilidad, registradores
  • Version: v0.3
  • Definition: Share of the average net income of the area's households taken by the first-year payment of a mortgage on the standard home: the average floor area of home sales in Spain.
  • Calculation: First-year annual payment of a French-amortisation loan for 80% of the appraised value of the standard home, at the Bank of Spain's rate on new home-purchase loans (average of the year's twelve months) and the average term of new mortgages (average of twelve quarters), divided by the average net household income from the ADRH (INE) for the same year and area, × 100. The standard home and the term are those of the Banco de España's theoretical burden: the average floor area of home sales in Spain according to Registradores (three-year average) and the average term of its new mortgages. The income is the one published at each level; where INE does not publish it, no value for the province and the region (Navarre until 2020, Álava and the Basque Country until 2019, Gipuzkoa in 2015) and, for Spain until 2020, the household-weighted mean of the municipalities, estimated.
  • Reading: A theoretical calculation: it assumes the remaining 20% and purchase costs are available. It uses the assumptions of the Banco de España's «theoretical first-year burden» shown in the Time machine (standard home, loan, rate and term), but not its income or its price: the Banco divides by the disposable income of the median household, which is not published by area, while here it is the average net income of all households in the area, which is higher, with the appraised value. That is why this figure comes out below the Banco's.

hogares_alquiler

18 · Renting households

  • Unit: % of households
  • Family: Structure and pressure
  • Sources: ine_censo2021, ine_censo2011
  • Version: v0.1
  • Definition: Households renting as a share of all households (main residences) in the tract.
  • Calculation: From INE’s 2021 and 2011 Population and Housing Censuses, on the 2021 tracts; 2011 is carried from the 2011 Census tracts with its conversion table.
  • Reading: A snapshot at two dates, not an annual series. The 2011 Census is sample-based: its tract figures are estimates.

viviendas_turisticas

19 · Tourist dwellings as a share of all dwellings

  • Unit: % of dwellings
  • Family: Structure and pressure
  • Sources: ine_vut
  • Version: v0.1
  • Definition: Tourist dwellings as a share of all dwellings in the tract.
  • Calculation: Tourist dwellings from INE’s experimental statistics (platform listings) over all dwellings in the Census, the denominator used by INE: the 2011 Census up to February 2023 and the 2021 Census from August 2023. From August 2020 to February 2023 on the 2011 Census tracts, and from February 2024 on the 2024 tracts, carried to the 2021 tracts with their conversion tables; twice a year.
  • Reading: Measures pressure from tourist use. Numerator and denominator are not from the same year: dwellings are those of the 2011 Census up to February 2023 and of the 2021 Census from February 2024. Reference months changed in 2024 (from February and August to May and November).

zona_tensionada

20 · Declared stressed housing market area

  • Unit: category (2 whole municipality, 1 part of it, 0 none)
  • Family: Structure and pressure
  • Sources: zonas_tensionadas
  • Version: v0.4
  • Definition: Municipality or area declared a stressed residential market zone under Law 12/2023, in force on 31 December of each year.
  • Calculation: Quarterly Housing Ministry resolutions in the BOE listing the zones declared by the autonomous communities (art. 18.2.d): in force for three years from the day after publication. 2 if the declaration covers the whole municipality; 1 if it covers part of it (villages, neighbourhoods or districts), painted on the whole municipality with its own category; 0 with no declaration in force.
  • Reading: A public policy layer, not a market measure: it shows where the measures of Law 12/2023 apply (caps on new-contract rents and a local definition of large landlord), not how much housing costs.

sueldo_necesario

21 · Net monthly pay needed to stay under the threshold

  • Unit: net € per month
  • Family: Burden · Staying
  • Sources: mivau_serpavi
  • Version: v0.1
  • Definition: Net monthly pay needed so that the tract's median monthly rent does not exceed 30% of pay. Alongside, the theoretical minimum: the same calculation for a 50 m² flat.
  • Calculation: Median monthly rent of flats / 0.30 (threshold can be changed to 40%). Theoretical minimum (cut superficie, group 50): median rent per m² of flats × 50 / 0.30 (floor area can be changed to 70 or 90 m² on the website). Each figure carries the status of its rent.
  • Reading: It is rent expressed in another unit, not a new indicator. The main figure pays for the tract's median rented home, around 79 m² (the median, across tracts, of the ratio of median monthly rent to median rent per m²; not the median of floor areas); the 50 m² minimum falls below it and is never given without it. The 30% is a convention and counts rent only: Law 12/2023 and Eurostat also count utilities and use household income. On the website, renters' other housing costs (ECV) can be added.

sobrecarga

22 · Housing cost overburden rate (Eurostat method)

  • Unit: % of people
  • Family: Overburden and access (survey)
  • Sources: ine_ecv, eurostat_ilc_lvho07, eurostat_ilc_lvho07_r, eurostat_ilc_lvho07d
  • Version: v0.1
  • Definition: People living in households whose total housing costs, net of housing allowances, exceed 40% of disposable income, also net of allowances.
  • Calculation: EU-SILC microdata (INE) with Eurostat’s method: only mortgage interest counts; previous-year income; person weights. Reproduces Eurostat figures (±0.1 points); for Spain also by degree of urbanisation (ilc_lvho07d). Region × tenure, age and degree-of-urbanisation breakdowns pool three waves.
  • Reading: Measures the burden on those already housed; outright owners dominate it and it misses people unable to leave home. Read it alongside unsuccessful housing search (23) and by tenure, especially market-rate renting.

busqueda_sin_exito

23 · Unsuccessful housing search

  • Unit: % of people aged 16 and over
  • Family: Overburden and access (survey)
  • Sources: ine_ecv_modulo
  • Version: v0.1
  • Definition: People aged 16 and over who actively looked for housing in the last 12 months without moving.
  • Calculation: Published by INE in the tables of the 2025 EU-SILC module on housing access difficulties, with the main reason (mostly price).
  • Reading: A one-off measure (2025). It captures those trying to move in and failing, unlike the overburden rate.

pobreza_tras_vivienda

24 · At-risk-of-poverty rate after housing costs

  • Unit: % of people
  • Family: Overburden and access (survey)
  • Sources: ine_ecv, eurostat_ilc_li48, eurostat_ilc_li45
  • Version: v1.2
  • Definition: People whose equivalised disposable income, once total housing costs are deducted, falls below the at-risk-of-poverty threshold (60% of median equivalised income before deducting housing costs).
  • Calculation: EU-SILC microdata (INE) with Eurostat’s method (ilc_li48): previous-year disposable income minus 12 times monthly housing costs (only mortgage interest counts), divided by modified OECD equivalence units; the wave’s threshold is not recalculated; person weights. Reproduces Eurostat’s figures for Spain, also by age (ilc_li45) and degree of urbanisation (±0.1 points). Region × tenure and age breakdowns pool three waves.
  • Reading: The statistical version of the residual-income approach: instead of a maximum cost share, it asks whether what is left after paying for housing reaches the poverty threshold. Read it alongside the overburden rate (22), which measures the income share, and by tenure, especially renting.

precio_escriturado_m2

25 · Notarised sale price per square metre

  • Unit: € per m²
  • Family: Housing cost
  • Sources: notariado
  • Version: v1.3
  • Definition: Average price per square metre of housing sales notarised over the last 12 months (all dwellings: new and second-hand, flats and single-family houses).
  • Calculation: Published by the General Council of Notaries on its Statistical Portal (price-map layer, queried at each update and kept with its date): a rolling 12-month snapshot, with no public series. With fewer than 20 sales reporting price and floor area, the atlas does not publish the price (withheld). Each level with its published figure; nothing is aggregated.
  • Reading: A notarised price, not an asking, appraised or registered one: it is not compared with the Land Registrars' price per m² (11), which measures a different floor area. A single 12-month snapshot, dated in the profile. © Consejo General del Notariado, non-commercial use only: shown on the map and in the profile, not downloadable.

precio_escriturado_vivienda

26 · Average notarised price per home sale

  • Unit: € per home
  • Family: Housing cost
  • Sources: notariado
  • Version: v1.3
  • Definition: Average price of housing sales notarised over the last 12 months.
  • Calculation: Published by the General Council of Notaries on its Statistical Portal, from the same 12-month snapshot as 25 and with the same threshold of 20 reported sales. The average floor area is not published separately: it is this price divided by that of 25.
  • Reading: Price per home, whatever its size: it is higher where the homes sold are larger. © Consejo General del Notariado, non-commercial use only: shown on the map and in the profile, not downloadable.

compraventas_notariado

27 · Home sales notarised over 12 months

  • Unit: sales
  • Family: Structure and pressure
  • Sources: notariado
  • Version: v1.3
  • Definition: Number of housing sales notarised over the last 12 months.
  • Calculation: Published by the General Council of Notaries on its Statistical Portal, from the same snapshot as 25. Published for every area that has it, with no threshold: it is the count behind the price. A municipality with no sales in the 12 months is absent from the source (no data).
  • Reading: Shows how many sales stand behind the prices of 25 and 26, and the size of the purchase market. It is the date the deed is signed, not registered. © Consejo General del Notariado, non-commercial use only: shown on the map and in the profile, not downloadable.

hipotecas_compra_vivienda

28 · Mortgages for home purchase

  • Unit: mortgages per year
  • Family: Structure and pressure
  • Sources: notariado_cien
  • Version: v1.3
  • Definition: Number of real-estate mortgages signed before a notary in the year whose purpose is buying a home.
  • Calculation: Annual figure published by the General Council of Notaries' CIEN («Full statistics»: act 1203, real-estate mortgage, home-purchase subcategory), for Spain, regions and provinces, since 2007; only years with all twelve months published. Andalusia is the sum of its eight provinces, because CIEN includes Ceuta and Melilla in it, which come together as one province and are left without data.
  • Reading: It is the signing (authorisation) date, not the registration date: it does not match INE's Mortgage Statistics, which counts registered mortgages for all purposes. © Consejo General del Notariado, non-commercial use only: shown on the map and in the profile, not downloadable.

cuantia_hipoteca_vivienda

29 · Average amount of home-purchase mortgages

  • Unit: € per mortgage
  • Family: Housing cost
  • Sources: notariado_cien
  • Version: v1.3
  • Definition: Average loan amount of home-purchase mortgages signed before a notary in the year.
  • Calculation: Annual figure published by the General Council of Notaries' CIEN (same series as 28, average amount). Andalusia, without Ceuta and Melilla: mean of its eight provinces weighted by mortgages with a reported amount, which reproduces each region's published mean (check notariado_cien_cuantia).
  • Reading: It is the loan amount, not the price of the home. © Consejo General del Notariado, non-commercial use only: shown on the map and in the profile, not downloadable.

contratos_alquiler

Auxiliary · Rental contracts behind the median

  • Unit: contracts
  • Family: Housing cost · Staying
  • Sources: mivau_serpavi
  • Version: v0.1
  • Auxiliary of: alquiler_mes, alquiler_m2, esfuerzo_residentes, peso_alquiler_ingreso, sueldo_necesario
  • Definition: Number of current main-residence tenancies from which SERPAVI computes the area's median rent, by building type (apartment and single-family).
  • Calculation: Count published by the Housing Ministry (SERPAVI). With fewer than 10 tenancies the median is not published; 0 means there are no registered rental contracts, which is not the same as «no data».
  • Reading: Shows how many tenancies support the median: with fewer than 30, the tract profile flags «few contracts». It accompanies 8, 9, 14, 15 and 21 and has no map of its own.

margen_alquiler_mes

Auxiliary · Approximate margin of the median monthly rent

  • Unit: % of the median
  • Family: Housing cost · Staying
  • Sources: calculo_propio, mivau_serpavi
  • Version: v0.1
  • Auxiliary of: alquiler_mes, esfuerzo_residentes, sueldo_necesario
  • Definition: Approximate 95% margin (1.96 standard errors) of the median monthly rent (8), as a percentage of the median, by building type.
  • Calculation: 1.821 × (P75 − P25) / (P50 × √n), using the SERPAVI quartiles and tenancies (n): 1.96 times the approximate standard error of the median, 0.929 × (P75 − P25) / (P50 × √n); only where the median is published (10 or more tenancies).
  • Reading: Order of magnitude of the noise in the median: it assumes a regular distribution within the area and does not correct for current rather than new tenancies. It accompanies 8, 14 and the main figure of 21, which are monthly rent in another unit.

margen_alquiler_m2

Auxiliary · Approximate margin of the median rent per m²

  • Unit: % of the median
  • Family: Housing cost · Staying
  • Sources: calculo_propio, mivau_serpavi
  • Version: v0.1
  • Auxiliary of: alquiler_m2, peso_alquiler_ingreso
  • Definition: Approximate 95% margin (1.96 standard errors) of the median rent per square metre (9), as a percentage of the median, by building type.
  • Calculation: 1.821 × (P75 − P25) / (P50 × √n), using the SERPAVI rent-per-m² quartiles and tenancies (n): 1.96 times the approximate standard error of the median, 0.929 × (P75 − P25) / (P50 × √n); only where the median is published (10 or more tenancies).
  • Reading: It also applies to 15 and to the theoretical minimum of 21 (50 m² or the floor area chosen on the website), which are rent per m² in another unit: the profile warns when «Can you make rent?» sits on the edge between two bands.

linea_imv

Auxiliary · Residual income line: minimum living income

  • Unit: € per month
  • Family: Ability to pay
  • Sources: boe_imv
  • Version: v1.2
  • Auxiliary of: peso_alquiler_ingreso, sueldo_necesario
  • Definition: Guaranteed income of the minimum living income scheme (IMV) for a one-person household or a household of two adults without children: what the law guarantees such a household for all its expenses, housing included. From 2015 to 2019, before the IMV, the annual non-contributory pension divided by 12.
  • Calculation: 100% of each year's annual non-contributory pension (BOE uprating rules) divided by 12; two adults, + 30% (Law 19/2021, art. 13). 2020: €5,538 a year, from June; 2022: month-weighted mean of the January–March amount and the April–December amount (+15%). To the cent.
  • Reading: Line against which the website compares what is left each month after paying for housing (residual income). It is not a budget for other expenses: as a residual line it is low. No households with children.

linea_pobreza_ecv

Auxiliary · Residual income line: at-risk-of-poverty threshold

  • Unit: € per month
  • Family: Ability to pay
  • Sources: ine_ecv_umbral
  • Version: v1.2
  • Auxiliary of: peso_alquiler_ingreso, sueldo_necesario
  • Definition: At-risk-of-poverty threshold of the Living Conditions Survey (60% of median equivalised income) for a one-person household or a household of two adults without children, for the income year.
  • Calculation: Annual threshold for a one-person household published by INE (without imputed rent) divided by 12; two adults, × 1.5 (modified OECD scale). Year = income year: the 2025 survey gives 2024. To the cent.
  • Reading: Line against which the website compares what is left each month after paying for housing, as in Eurostat's at-risk-of-poverty rate after housing costs. It is a threshold for total income, not for non-housing expenses: as a residual line it is high.