MathParser Parser and compiler/interpreter for arithmetic expressions http://nuget.org/packages/guilabs.mathparser This similar project has a nice list of links to other such projects: https://github.com/codingseb/ExpressionEvaluator