Viladecavalls (Barcelona): population and map

Viladecavalls is a municipality in the province of Barcelona (Cataluña), Spain. It has 7,878 inhabitants according to the municipal register of January 1, 2026, spread over 20 km²: 394 inhabitants per square kilometre.

Facts

Population
7,878 inhabitants (January 1, 2026)
Area
20 km²
Density
394 inh./km²
Altitude
265 m The altitude is that of its main settlement, not of the whole municipal area.
Province
Barcelona
Autonomous community
Cataluña
Coast
Inland
INE code
08300

How it compares

  • It ranks 106 by population among the 311 municipalities of the province of Barcelona.
  • In Cataluña it ranks 157 of 947, and in Spain 963 of 8132.
  • It holds 0.1% of the inhabitants of the province of Barcelona.
  • Its density, 394 inh./km², is 0.5 times that of its province (780 inh./km²) and 4 times that of Spain (98 inh./km²).
  • By area it ranks 159 of the 311 municipalities of Barcelona.
  • By altitude it ranks 164 of the 307 municipalities of Barcelona that have a figure.

Municipalities of a similar size in Barcelona

Neighbouring municipalities (5)

Map of the municipal area

Simplified outlines; the distance and direction to each neighbour are measured between points inside each municipal area.

Get to know Viladecavalls

Viladecavalls es un municipio de España perteneciente a la provincia de Barcelona, en la comunidad autónoma de Cataluña. Situado en la comarca del Vallés Occidental, tiene una población de 7817 habitantes (INE 2025).

History

Hacia mediados del siglo XIX, el lugar tenía contabilizada una población de 195 habitantes.

Source: Wikipedia (the article «Viladecavalls» of the Spanish Wikipedia, revision of November 8, 2026) · Licence CC BY-SA 4.0. Shortened excerpts of the article, in Spanish. You may reuse them under the same licence, citing the source.

Read more on Wikipedia

In the game

How many towns of Spain do you recognise by their outline? Try today’s challenge.

Where the figures come from

  • Population: municipal register at January 1, 2026.
  • Area, outline and neighbours: municipal boundary lines.
  • Altitude: that of the main settlement, according to the IGN.
  • Summary and history: the Spanish Wikipedia.

How each figure is calculated

All the municipalities of Barcelona