On IIFYM...

learn to calculate your macros
How to Calculate Your Macros to Transform Your Body
Counting Macros
Here's how to calculate the best macros for yourself so you can achieve your weight loss or muscle building goals with counting macros.