Motivation

This is just a thought experiment asking how long quarantine would be necessary if the idea of herd immunity is correct. We all hope this theory is wrong and we will get over this much quicker. You can contact us at corona at softwarerero dot com.

Methodology

The assumption is that 70% of the population needs to be infected to get back to normal life, btw. you can change the necessary infection rate and will see the effect directly. So from 70% of the population we subtract the already infected cases and divide this by the cases infected throughout the last day (yesterday). Assuming that the infection rate stays linear we get to the number of days left in quarantine. We just display this as years, months or weeks to increase readability .

Many countries have a non linear growth rate of infections for which our calculation leads to numbers that are too high, but other countries have a linear infection rate due to few cases and strict quarantine, a higher infection rate might be desireable as long as the health system is capable to absorb the cases.

Data

The data about COVID-19 cases are from NovelCovid/API .

The country data are from World Population Review.

Source Code

The source code is split into two repositories. The backend requires you to have a local MongoDB instance running, the Frontend is a Sapper App running statically on Vercel.

Copyright

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.