Capital budgeting includes opportunity costs while ignores any sunk cost. Opportunity cost is the gain that will be missed by undertaking the project. In other words, it is a cost that the company will suffer if it chooses to undertake the project. Sunk costs on the other hand will be incurred regardless of the project going forward so they are not relevant to the project.