The better way would be to assume a percentage of income cost and a harvest/labour cost then meld them based on the situation. (ie. a forest is nearby and free to harvest then it has a labour cost only as the equipment to mill is cheap and easy for any smith to make. but on the other hand if it is in a city then you have to assume that people are building in relation to income and that will tell the market how much it costs for everything)
If you mean for you own deck out back, I build houses now so I can get a pretty accurate cost expectation to you.