Size Charts
Generally, baby clothing is sized by age range. It's surprisingly accurate for most babies but as always there are exceptions. Since each manufacturer uses slightly different specs, it's usually a good idea to purchase clothing based on your baby's height/ length rather than their age.
You might find these Size Charts useful: