The "difference" cost increases the more difference in size the two ships have, whether larger or smaller.
I think he was looking for an equation.
The wiki claims that the size overhead is equal to 1/10th the difference in size, which is unfortunately lacking in units. At a guess, that might be 1 BP per 10 tons.