As far as I know this isn't possible int he Work Item Definition schema language. If you want the UI to do math based on your work item values, you need to build a server side plugin. There is an open source solution available that handles these kinds of things which you might be able to use for your solution, or you could derive your own solution from that.
See also: TFS Aggregator project on Codeplex.