Cuánto Cuesta Mi Coche

How much does it cost to drive from Madrid to Barcelona?

628 km and about 7 h 51 min of driving. With a typical petrol car, about 79 € with fuel at today's price: 19,63 € per person if four of you go.

What it costs, one way

Estimated distance (straight line × 1.25): we couldn't query the routing service when this page was built. The calculator below tries again.

Petrol

79 €

44 l at 1,786 €/l (7 l/100 km)

Diesel

75 €

40 l at 1,888 €/l (6,3 l/100 km)

Tolls

–

no data

Per person (4)

19,63 €

on petrol, not counting tolls

Average fuel price in the provinces between the two cities, as of 15/10/2026.

Work it out for your car

From where to where?

The car

How many of you are going? (to split the cost)
1 person

Working out the route…

Other trips

Questions

Frequently asked questions

How many km is it from Madrid to Barcelona by car?+

About 628 km: it's an estimate (straight line × 1.25), because we couldn't query the routing service when this page was built.

How much petrol does it cost to drive from Madrid to Barcelona?+

With a petrol car using 7 l/100 km, about 44 litres: 79 € at today's average price along the route (1,786 €/l). With a diesel using 6,3 l/100 km, 75 €.

Are there tolls from Madrid to Barcelona?+

We can't tell without the road route: work it out above.

How much is each person's share if four of us go?+

In a petrol car, 19,63 € each, not counting tolls. Return trip, double that.

How we calculate it

  • Route, distance and time

    openrouteservice (HeiGIT), with OpenStreetMap data. If the service doesn't respond, straight line × 1,25, and we say so.

  • Fuel price and petrol stations

    Petrol station geoportal of the Spanish Ministry for the Ecological Transition: each station's price and each province's average, as of 15/10/2026.

  • Tolls

    2026 car tariffs from each concession company and the Ministry of Transport (source on each section of the table). Checked on 16/10/2026.

  • Consumption and CO₂

    Type-approval consumption and CO₂ from the European car register (EEA) plus each engine's real-world gap. CO₂ per litre: 2,26 kg for petrol, 2,62 kg for diesel and 1,74 kg for LPG.