Trying to send a  with webform
You could add a regular webform field to capture the calculation result, filling it via Javascript.
Then you hide the field via CSS.

Storing a bunch of html has a security risk though.