You could make a spreadsheet that calculated that for you. You would only need either an corp ESI, if all fleet members were in the same corp or individual ESI from all the pilots, if it was othervise.
this Is a problem that was solved by players well over a decade ago and since then CCP has given players more and more tools that has made it mind numbingly easy.
how individual groups have solved it separates the efficient and profitable ones from the disorganized rabble