Whenever a given amount of work (W) is converted into heat, always the same amount of heat Q is produced.
J = W/Q
W = JQ
The proportionally constant J is called Joule’s mechanical equivalent of heat. It may be defined as the amount of work that must be done to produce a unit quantity of heat.