Cost to drive from Madrid to Barcelona
Driving from Madrid to Barcelona covers 617 km (383 miles) and takes about 6h 51min without stops. At Spain's current fuel prices (week of 2026-08-31), the fuel for the trip costs about €74.81 in a typical petrol car — here's the full breakdown for petrol, diesel and electric.
Petrol, diesel or electric — priced for your car
Pick the kind of car you drive and whether you are coming back. Everything updates against Spain's live prices.
Driving Madrid → Barcelona in a family car, electric costs €51.48 less than petrol — 69% of the bill.
Madrid vs Barcelona: which end is cheaper?
Both ends of this route draw on the same regional averages — the comparison below shows what that means at the pump.
What if fuel prices move?
Booking this drive for later in the year? Pump prices swing with crude, season and tax changes — here is the same 617 km in a typical petrol car at four price levels.
Cheapest fuel before you leave Madrid
The cheapest forecourts within 15 km of Madrid, out of 370 that report a price. Local median €1.925 — filling 50 litres at the cheapest rather than the middle of the market saves about €14.00.
- 112 km€1.645BallenoilCarretera Pozuelo Majadahonda Km. 2
- 215 km€1.645BallenoilCalle Cereza, 4
- 310 km€1.669BallenoilCarretera Madrid Toledo Km. 12
- 412 km€1.669BallenoilCalle Fundidores, 24
- 513 km€1.669BallenoilCalle Franklin, 1
Cheapest fuel when you arrive in Barcelona
The cheapest forecourts within 15 km of Barcelona, out of 259 that report a price. Local median €1.879 — filling 50 litres at the cheapest rather than the middle of the market saves about €12.60.
- 13 km€1.627BallenoilCalle Lope De Vega, 125/139
- 23 km€1.627BallenoilCalle Clot, 2
- 33 km€1.627PetroprixCalle Badajoz, 108
- 45 km€1.659Gm Oil Hospitalet De LlobregatCalle Montserrat Roig Nº 25-29, 25, 29
- 512 km€1.659NuroilCalle Balmes, 34
Enter your fuel economy and see stops along the way.
How this cost is calculated
We take the real driving distance between Madrid and Barcelona (617 km) from OpenStreetMap routing, then multiply by a typical car's fuel use and Spain's current average pump price. The petrol figure assumes 7 L/100km · 34 MPG; diesel and EV use 6 L/100km · 39 MPG and 18 kWh/100km. Your real cost depends on your car, traffic, driving style and the stations you pick — use the planner for your exact numbers, and check live prices on the Spain fuel prices page.
Related routes
Frequently asked questions
Where is the cheapest fuel in Madrid?
The cheapest forecourt within 15 km of Madrid is charging €1.645 for petrol 95, against a local median of €1.925 across 370 stations that report a price — about €14.00 on a 50-litre fill.
Where is the cheapest fuel in Barcelona?
The cheapest forecourt within 15 km of Barcelona is charging €1.627 for petrol 95, against a local median of €1.879 across 259 stations that report a price — about €12.60 on a 50-litre fill.
How much does it cost to drive from Madrid to Barcelona?
The drive is 617 km (383 miles) and takes about 6h 51min without stops. Fuel costs roughly €74.81 in an average petrol car, €69.04 in a diesel, and €23.32 in an electric car, using Spain's current fuel prices.
How far is it from Madrid to Barcelona in miles and km?
About 383 miles or 617 kilometres by road — roughly 6h 51min of driving.
Is it cheaper to fill up in Madrid or Barcelona?
Both ends use the same regional prices on this route.
How many times will I need to fill up between Madrid and Barcelona?
None on the way. The drive needs about 43.2 L of petrol and a typical 55 L tank covers roughly 786 km, so one full tank at the start does the whole trip.
Is it cheaper to drive or fly from Madrid to Barcelona?
On fuel alone the drive costs about €75 one way, and that cost splits across everyone in the car — with €19 each for four people, which is where driving usually wins. Against that, the drive takes 6h 51min without stops, and a fair comparison also counts tolls, parking, wear and any overnight stay.
What will this trip cost if fuel prices change?
At today's Spain average the fuel is about €75. A 10% rise takes it to €82, a 25% rise to €94, and a 10% fall to €67. Prices here update every week from official data, so this page always reflects the current figure.
How do I get the exact cost for my car?
Set the vehicle type on this page for an instant estimate, or open the FuelWide route planner, enter your car's own fuel economy, and it prices the trip on live data — including fuel and charging stops along the way.
Driving distance via OSRM / OpenStreetMap. Fuel prices are Spain's current official averages; efficiency and electricity rate are typical estimates. Your figure will vary — use the planner for an exact result.
