Silicon Cost Calculator
This calculator gives a rough estimate of the manufacturing cost of unpackaged semiconductor chips. Wafer prices aren’t something that is generally available, but doing an internet search of “wafer price trends” should give you a rough idea. Of course, just like with software there isn’t necessarily a strong correlation between manufacturing cost and selling price.