Weight gain

Dee • 😛
For those who lost weight while pregnant do you start off at the lowest you have lost and then calculate from then on, or do you wait until you reached your starting weight than count on? For example my pre pregnancy weight was 140 I lost 10 pounds now at 30 weeks I weigh 157 so did I gain 27 pounds or 17 ?? Thank you for any input.