Alternatively, maybe the calculator is for the player to calculate how many balls they might need to aim for a Hole-in-One, based on probability.
Example code:
But this is just a hypothetical formula. Maybe the user has a different formula in mind. holeinonepangyacalculator 2021