MPG stands for miles per gallon. [Miles Driven/Gallons used].
I believe you are mistaking 315mpg to actually be 315 miles traveled on 13.5 gallons. Unless you use some whacky non imperial system.
Otherwise, how does 27 miles per gallon equal 1 gallon. Where are you coming up with that number from? I think you need some more rest