The COVID-19 pandemic and the strong social distancing measures adopted by governments around the world provide an ideal scenario to evaluate the trade-off between lives saved and morbidity avoided on the one hand and reduced economic resources on the other. We adapt the standard model of willingness to pay (WTP) for mortality/morbidity risk reductions by incorporating a number of aspects that are highly relevant during an epidemic; namely, health-care capacity constraints, dynamic aspects of prevention (i.e., interventions aimed at flattening the epidemic curve), and distributional issues due to high heterogeneity in the underlying risks. The calibration of the model generates a WTP of the order of 24% of GDP. We conclude that the benefits in terms of lives saved and morbidity avoided can well justify the enormous economic costs generated by social distancing interventions. There is, however, significant that heterogeneity in WTP estimates depending on the degree of vulnerability to infection risk (e.g., by age), implying a large redistribution of income and well-being.