why am i gaining weight when dieting and working out?
Muscle is more dense than fat, but it takes up less space. That means if you gain muscle, your scale weight may go up even as you're losing body fat. If you've been working out regularly, it's possible for you to lose inches even if you're not losing weight.