The total number of miles for a round trip is 280 x 2= <<280*2=560>>560.
Therefore, he needs to refill his motorcycle 560/40 = <<560/40=14>>14 times.
#### 14