I've done a lot of napkin math in NaSC [0]. Unfortunately it was buggy and often crashed so I had to stop using it. I'd love for something like this that could also be checked into repo and used to "compile" into constants that can be used in code. For example: plan the resources required to run for `demand(requests)` and load that into code and run that to scale up/down replicas or something.
[0] - https://appcenter.elementary.io/com.github.parnold-x.nasc/