 Transmission delay is a function of the packet's length and has nothing to do with the distance between the two nodes.This delay is proportional to the packet's length in bits,

It is given by the following formula