lou.tools
EN

Fuel prices in Spain

Diesel and petrol prices in Spain, by province and petrol station

The national and provincial median price of the fuel you pick, every petrol station on a map and the cheapest municipalities, from the Ministry's Geoportal de gasolineras, updated every morning. Pick 30 days, 90 days, a year or all the data since January 2024; a click on a province or a bar filters the rest.

Updated

View only: the page fetches the same results for everyone and sends nothing about you; Near me uses your location only in this page.Privacy

This dashboard draws its charts in your browser with JavaScript. Turn it on to see them; the sources are below.

Sources

Source: Ministerio para la Transición Ecológica y el Reto Demográfico, Geoportal de gasolineras (terms of reuse; opens in a new tab). Retail prices in euros including VAT, unaltered. The medians, minimums, maximums and station counts per province and for all Spain are computed by lou.tools.

Boundaries: Obra derivada de BDLJE 2026 CC-BY 4.0 ign.es (opens in a new tab) (Instituto Geográfico Nacional), simplified by lou.tools.

How it works

Every day lou-data, lou.tools' data pipeline, collects the retail price at each of Spain's petrol stations from the Geoportal de gasolineras of the Ministry for the Ecological Transition, as it has since 1 January 2024, and computes the median, minimum and maximum per province and for all Spain.

Each morning a script runs this dashboard's queries over those prices for four ranges (the last 30 and 90 days, the last year and all the data), and for each fuel the dashboard lets you pick, and keeps only what each chart shows. This page fetches the range and the fuel you pick from lou.tools and draws them in your browser: the figures, the charts, the maps and each chart's table.

The figures at the top are the last day's. The map by province is coloured by each province's median price on that day, and the map of stations by each station's latest price: hover over or tap a province or a station for its price. A click on a province, a bar or a table row filters, in your browser, the charts whose rows allow it; the others say they are not filtered by it.

To find the cheapest station near you: type your municipality or postal code in the stations’ map, or press Near me, or pick a point on the map, and choose a radius of 2 to 25 km. The page keeps the stations within it, ranks them by price, nearest first when two cost the same, and shows the ten cheapest beside the map, numbered on it. The price range above the charts keeps only the stations between the two prices you set. The boundaries of the provinces and municipalities are the Instituto Geográfico Nacional’s, simplified.

Questions

Where do the prices come from?
From the Geoportal de gasolineras of Spain's Ministry for the Ecological Transition and the Demographic Challenge, which publishes the retail price at every petrol station. They are shown as published, in euros per litre including VAT.
Why the median and not the average?
The median is the price in the middle: half the stations charge less and half charge more. A few very cheap or very dear stations move an average but barely move the median, so it says better what most drivers pay.
How far back does it go?
To 1 January 2024, the first day lou-data collected. All shows every day since then; 30 days, 90 days and 1 year end on the last day with data.
How often is it updated?
Every morning, once the day's prices are collected. The sources under the dashboard say when the data was last updated.
Can I reuse these figures?
The prices are public-sector information reused under Spain's Law 37/2007: cite the Ministry as their source and the date of its last update. The medians, minimums, maximums and station counts are lou.tools' own figures, computed from them.
What does this page send?
Nothing about you. It fetches the results of the range and the fuel you pick from lou.tools, the same file for everyone, with no cookie and no account; a click on a chart, the price range and the search send nothing, and the maps’ boundaries and names come from lou.tools too. Near me asks your browser for your location, only when you press it, and uses it in the page to measure distances: it is never sent or saved. You can check: open your browser's network panel while you change the dates.

More tools