If the service include these fields, you can display them. If a calculation is necessary, that's something you would have to do in your application. You can subscribe to GraphicsLayer mouse events to get to the graphic and inspect its attributes. You may then add this calculated value as an attribute to your graphic and display them to a control or map tip just as you would do for attributes that came from the service fields.