Can someone tell me, or give a web site, or a book name that shows the math on how to figure your calorie intake at the weight you are at and how much you need to take away alone with your height?

I know that it is 3,500 calories to a pound and the popular number is taking away 500 calories for the calories that is keeping you at the weight you are at to lose fat but I have some missing equations in my head I can't figure out.

Like if you are at 215 Lbs. What is the math equation that tells you the number of calories that is keeping you at 215 pounds

then the math equation to take off a pound or two a week. I am sure I am going to need my inches in how tall I am to factor in.

Yes I know there are calculators on line to do this for me but I want the good old math standard and equations locked into my head because there are days I am not going to be near a computer and it is good to know.