How is the GA measured?

Chelsea

How is the GA measured? is it based on how big the baby is or is it something the doctor puts in the computer?