Disadvantaged pupils who live in coastal areas achieve about three grades lower at GCSE than those living in non-coastal locations.