In pediatrics, eGFR is often calculated using the Schwartz formula, which takes into account the child's serum creatinine levels, height, and a constant that varies by age and sex. This formula is particularly useful because it adjusts for the growth and development differences seen in children.