Calculating calories

So I started counting calories and exercising to lose weight and I don't understand how to calculate properly. I get adding up the calories I've consumed but do I subtract the calories I burnt form that? Like so far today I've ate about 277 calories but I burnt about 258 with exercise. How do I work it all out properly

Some details just incase:

I'm female 130 ibs 5' I'm trying to eat 1300 cals a day and doing about 1 hour of exercise 4 times a week plus strength for 1/2 hour 3 times a week

Thank you x

Replies