The price of goods in villages/castles/towns ranges between 5 and 25, that's the selling price. When you craft a good, it costs half the selling price rounded up. So if the good price is 5 gold in your village, it would cost 3 gold to make each good in that location. If the good price is 25, it'll cost 13. Then you'd want to sell them in the the locations that have a 25 price, the further away the better distance bonus.
So if you were crafting goods for 3 gold each over near Kwynn and hauled them to Halmar in DRZ territory you might get a 160% distance bonus, selling them for 65 gold each and making a bigger profit but with more risk involved taking goods that far because of bandits.