Food Substitution Calculator

Hello,
I'm looking for a Plugin or a solution for a Food Substitution Calculator... Like this:

http://roxstarfitness.com/Calculator/calculator.php

Any ideas/suggestions are greatly appreciated.

Thanks!
Jackson