It doesn't always have to be fitted. There is a chance it will drop in and be GTG.
Strip the new bolt and see if it closes on a "go" gauge, if it does, and doesn't close on the "no go" gauge your GTG. If it does close on the "no go" check it on the "field" gauge, if it doesn't close on that, your still GTG for a while.
On the other hand if it WON'T close on a "go" gauge, you will either have to have the chamber reamed until it does close, or if you have a chrome lined chamber/barrel, you will have to lap the bolt lugs to get it to close on a "go". You have to be very careful with lapping the bolt lugs that you don't lap too much and get through the hardened outer layer of steel on the lugs/locking surfaces.
The poor man's way of measuring headspace............and I am NOT recommending this, just throwing it out there.............is to strip the bolt, take a factory round, put it in the chamber, and see if the bolt will close on it. If it does you have "good enough" headspace to at least safely fire it and not worry about an OOB discharge. But I have seen this work/not work depending on the mfg. of the ammo too, that's why I am not for this method.