If you start to put on muscle then how do you know...?

How many calories you need to consume to keep fat off and still maintain your muscle? Like if you weigh 180 at 5'2 and you get down to 123 and then from there you build muscle how do you determine how many calories you need to stay skinny on top of building muscle?
2 answers 2