Cost-benefit analysis involves, whether explicitly or implicitly, weighing the total expected costs against the total expected benefits of one or more actions in order to choose the best or most profitable option. Rational agents are assumed to never take an action for which the expected benefits are less than the expected costs.