I live in a place that's generally cold for a large part of the year, so I have all windows shut for most of the time. I've discovered that tracking CO_2 levels is a very good proxy for general air quality, and a good measure of both when to open windows and for how long to keep windows open.
For my apartment, I was surprised that the amount of time I needed to keep the windows open was 5x longer than what I initially assumed (I assumed 5 mins would be enough. Data shows that I need about 25 mins to get CO2 levels down to around 500ppm). I was also surprised to see how much more rapidly CO2 builds up when I have just 2 additional people at home.