There is no one rule that fits all as some applications require larger air tanks because of the process.
However, 2 rules of thumb can help to finetune:
Correctly sizing your air receiver brings the following benefits for your compressors' operations: