Life stage and reproductive status have the biggest effect on calorie needs. Pregnancy only raises energy needs in the last three weeks - feed adult maintenance for the first 42 days. Lactation scales with litter size.
A 9-point Body Condition Score from your vet. BCS 4-5 is ideal. BCS above 5 means the dog carries excess fat and calories should be calculated on ideal weight.