How accurate are growth scans in terms of getting the baby’s weight?

Ka

I had growth scan due to gestational diabetes and I’m 38 weeks and they said baby’s weight is 3.3kgs and said it was average size for 38weeks