Collaborative spreadsheet application
Create a Numbers spreadsheet with the appropriate function logic, then lock the cells that viewers shouldn't touch.

Then share a link from Numbers, with no protection so that anyone can use the web link.

I think you'll be pretty pleased with it.