 <p>Look into <a href="http://ncalc.codeplex.com/">nCalc</a>.</p> <p>You could store your calculations in a database field then simply execute them on demand. Pretty simple and powerful. We are using this in a multi-tenant environment to help with similar types of customization. </p>