Where is it that tells that cal/g = cal ? And are we talking about calories and grams?

What can I say? I am a right brained person :-)
Thanks

If you multiply (cal/g) x g you have calories.