Here is the sample form and the accompanying javascript for calculating fields in a contact form 7 form.
The code was created originally for the Cazadero Performing Arts Family Camp, but never put into use because they changed their website.
There is some inline javascript which is very dense. I am sure the code could be improved by moving the inline code elsewhere, but, at the time, I was pretty happy to just have this working. The inline code does not allow any formatting like tabs and line breaks, so it looks like a jungle of code!