My friends and I have had a weekly game for 7 or 8 years. Every game, one dedicated guy (Mike) (he often wins) does his best, though not always sober, to calculate the prizes based on the total pot.
Today, I made a tool to make things a little easier:
https://mostlydev.com/poker/
Have a look, let me know what you think. I've written up our typical rules for reference.
Btw: if you add this to your homescreen using the toolbar at the bottom, it will get its own icon and lose the address bar. Much easier to find when not operating at full mental capacity