Here is an applet:
http://www.juststand.org/OnlineToolbox/tabid/637/Default.aspx
This applet takes a bioenergetics approach. Straight mechanics, like
@Dale cites, is correct if you were a dead blob. Most of us are at least conscious blobs. Humans use food energy, consume oxygen, and generate CO
2. Simply doing zero movement.
This energy consumption is typically stated in exercise physiology and medicine in terms of units called a MET, or metabolic equivalent.. To calculate this using standard Physics is complex to say the least. So measuring oxygen consumption works as a very easily measured and pretty accurate proxy for this energy use.
There are standards for determining this value, so you can use tables to get an approximate value.
https://en.wikipedia.org/wiki/Metabolic_equivalent.
So, simply sitting still, for a 60kg human, uses ~1 MET. Illness or trauma affects this value, for example.
Exercise machines in gyms, like treadmills, often have an option to enter your weight and show a running estimate of METs as you exercise. Example: Prescribed exercise may expect you to shoot for 3.0 METs, so if you exercise at that rate for one hour you have 3 * 60 = 180 MET minutes.