Gestational age can be estimated using ultrasound measurements taken during pregnancy, which are compared to standard growth charts. Another method involves calculating the number of weeks from the last menstrual period. In some cases, neonatal physical and neurological examinations are used to estimate gestational age after birth.