A cost-benefit analysis examines and evaluates the economic viability of a project before it is launched. The result serves as a basis for decision making.