Win Shares isn't difficult to find. I'm under the impression that the formula is quite complex, though.
As for the formulas, well, I don't have them in front of me, but I'd imagine you could dig around and find them using Google without too much effort. I don't know. I've never really tried.