The longer the distance, the larger the diameter of the wire you need, due to resistance/heat.
Typically, extension cords are going to be manufactured with the thinnest wire they can get away with based on the safety requirements, in order to save on materials cost.
So plugging 2 short cords together might cover the same distance as 1 longer cord, but the longer cord will use thicker wire to maintain the proper margin of safety.
The longer the distance, the larger the diameter of the wire you need, due to resistance/heat.
Typically, extension cords are going to be manufactured with the thinnest wire they can get away with based on the safety requirements, in order to save on materials cost.
So plugging 2 short cords together might cover the same distance as 1 longer cord, but the longer cord will use thicker wire to maintain the proper margin of safety.