This tool calculates odds of winning various prizes in a monetary raffle. It is designed specifically to calculate NS&I Premium Bonds, but will work with any similar scheme.
For full details, see the project on GitHub.