Moreover, you might get hit by an illness and then you could be in desperate trouble that you will die unless you get some kind of emergency care, which might be very expensive.
Measuring economic costs weighs the expense of both vaccination and illness against the net present value of the future earnings of someone who would otherwise die from the disease.