An item's worth it determined by two things.
The amount a buyer is willing to pay.
The amount a seller is wanting to get.

If I farm/craft a bunch of an item you want to sell, and I think it's selling price is less than yours.
Then the item is worth what I priced it at.