Others have suggested a spreadsheet on your smartphone. If you want something lower-tech, you might see if you can find an old-school programmable calculator. I wrote all sorts of junk in my HP-28S when I was in college.

You may be amused to see that you can buy new implementations that are compatible with the old HP calculators.