Recalculate gauge / tension

I think I'm not the only person ot being able to get the right tension or gauge when doing crochet or knitting. Sometimes I don't use the same yarn as in the pattern and sometimes I does not work as tight or loose as described. I have made a little script to help calculating how many stitchtes you need.

The page can be found here. It also comes an Android app.