Where I used to work, most of the time they knew by ultrasound. There were a few that they didn't know until the calves hit the ground, or they had to do some pulling.
In my own herd, I've not had any (now I have been jinxed) although there have been times I thought there would be by the size of the cow LOL.
Katherine