Calories calculator

~J~

~J~

Soldato
Joined
20 Oct 2003
Posts
7,558
Location
London
Anyone know of some sample code (and what parameters I'd need to pass into the formula) to calculate the number of calories lost?

Got a small program for a health place down here and they want to show this information next to some of the exercise equipment.

If it was running, I could probably understand I "may" need things like weight, height, running speed and running duration, but how the hell do you calculate it based on weights, cycling, etc?

Is there a generic formula?
 
This could be tricky one as there are so many variables when it comes to calculating calories burned. This could include; height, weight, fitness, temperature, activity ( if activity is running, is it up hill? or down hill? what is the ascent or descent?).

Might need to do some serious google work.

TrUz
 
Well initially it's for the running treadmill (which I've seen does go up and down to change the gradient), so I'll get that one out of the way first.

The only one I've seen (and could probably hack the JavaScript code to suit VB.Net) is this : http://www.primusweb.com/fitnesspartner/jumpsite/calculat.htm but it just seems too generic (and as post 2 said), there probably isn't a generic formula.
 
Back
Top Bottom