How do you calculate this? Exel?
Yes, it's an Excel spreadsheet

But the calculations are fairly simple, if you look at the columns titles

It's just simple math.
If your thinking about how I get the payouts and all other information from PB's site, then don't bother : It's all copy/paste

And I've been keeping these records since day one, so it wasn't hard to have them

No fancy stuff, no programming, no APIs, parsing algorithms and whatnot. Just plain old copy/paste from one browser window to an Excel one