Classically and Newtonianly, it's the sum of the chemical energy if any, the electrical energy if any, the thermal energy if any, and the mechanical energy consisting of potential and kinetic energy if any.
The mechanical energy, consisting of potential and kinetic energy if any, is
0.001 x [ (acceleration of gravity x height) + (1/2) (speed)² ] .
But I've got a sneaky hunch that you're not talking about any of these. You want to know how much [ <em><u>mc</u>² </em>] there is in 1 gram of mass. No prob.
E = m c² = (0.001) x (3 x 10⁸)² = <em>9 x 10¹³ joules</em>
That's the energy that a 1,000-watt toaster uses in <em>2,852 years</em> of continuous toasting.
According to Newton, an object will only accelerate if there is a net or unbalanced forceacting upon it. The presence of an unbalanced force will accelerate an object - changing its speed, its direction, or both its speed and direction.