FuelWide

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.

MadridBarcelona
617 km (383 miles)6h 51min driving

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.

Price this trip
1 person
Petrol€74.81
7 L/100km · 43.2 L
Diesel€69.04
6 L/100km · 37 L
Electriccheapest€23.32
18 kWh/100km · 111.1 kWh

Driving MadridBarcelona in a family car, electric costs €51.48 less than petrol69% of the bill.

Fuel needed
43.2 L
petrol
Tank fills
0.8
55 L tank
Per km
€0.121
fuel only
Per person
€74.81
1 traveller
Driving time
6h 51m
one way
CO₂
100 kg
tailpipe

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.

€1.73/LPetrol€1.73/L
Same price at both ends
€1.87/LDiesel€1.87/L
Same price at both ends
€0.21/kWhElectricity€0.21/kWh
Same price at both ends
No advantage either way. The 43.2 L this trip needs costs the same at both ends — fill up wherever is convenient.
Official averages, week of 2026-08-31. Electricity is a typical domestic rate; public rapid charging costs two to three times more.

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.

If prices fall 10%€67€-7
At today's prices€75
If prices rise 10%€82+€7
If prices rise 25%€94+€19

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.

  1. 1
    Ballenoil
    Carretera Pozuelo Majadahonda Km. 2
    12 km€1.645
  2. 2
    Ballenoil
    Calle Cereza, 4
    15 km€1.645
  3. 3
    Ballenoil
    Carretera Madrid Toledo Km. 12
    10 km€1.669
  4. 4
    Ballenoil
    Calle Fundidores, 24
    12 km€1.669
  5. 5
    Ballenoil
    Calle Franklin, 1
    13 km€1.669
Station prices: Ministerio para la Transición Ecológica y el Reto Demográfico · 2026-09-09All Spain stations →

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.

  1. 1
    Ballenoil
    Calle Lope De Vega, 125/139
    3 km€1.627
  2. 2
    Ballenoil
    Calle Clot, 2
    3 km€1.627
  3. 3
    Petroprix
    Calle Badajoz, 108
    3 km€1.627
  4. 4
    Gm Oil Hospitalet De Llobregat
    Calle Montserrat Roig Nº 25-29, 25, 29
    5 km€1.659
  5. 5
    Nuroil
    Calle Balmes, 34
    12 km€1.659
Station prices: Ministerio para la Transición Ecológica y el Reto Demográfico · 2026-09-09All Spain stations →
Exact cost for your car

Enter your fuel economy and see stops along the way.

Open route planner →

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.