The calculator is awesome--thanks!
I tried inputting 99.99%, and got a really weird answer. I'm pretty sure its because of the way JS processes decimals. Maybe a solution is to not allow any values between 99.0% and 100%, non-inclusive? Not sure what the best solution would be.
Anyways, just wanted to leave this here in case anyone uses this in the future.