Normally it's liters/100 kilometers but ignoring that detail.
If you have C in miles/gallon then you need to do 3 convertions
miles -> kilometers = times by 1.609
gallon -> liters = times by 3.785 (but note that gallons in underneath the line
distance/volume -> volume/distance = 1/x
so C miles/gallon === 1/(1.609C/3.785) = 3.785/1.609C liters/kilometer
So 30 mpg = 0.0784 liters/kilometer
Which as you can see is very small which is why liters/100 kilometer is more common
So 30 mpg = 7.8 liters/100 kilometer