not that i know of, but i have a pretty easy formula.

note:it does not apply in any unis like original where DSP is distributed evenly, but DOES apply in all unis where DSP is assigned based on participation.

Total DSP = A

Total DF = B

Total Losses = C

% of A = % of (B -C)

In other words, first distribute the DF to repair all losses.

Then divide the remaining DF by giving each participant the same % of it as the % of the DSP that they gained.

As far as plunder goes, that usually sorts itself out pretty fairly based on ships sent. I never worry about that one, just distribute the DF and call it good.