Distance will always affect loss, and usually not for the better. Though the amount of loss could be so low that it doesn't matter.
The type of cable will also have a major impact on the loss, the cheapest cable you can find will usually have much greater losses then a good hardline cable.
If you google the type and manfg of cable you have, somebody probably has a loss per distance chart online for it.