Batavia is located at 41°50'58" North, 88°18'45" West (41.849722, -88.312500).
According to the United States Census Bureau, the city has a total area of 9.19 mi2 (23.79 km2). 9.05 mi2 (23.43 km2) of it is land and 0.14 mi2 (0.36 km2) of it is covered by water. The total area is 1.53% water.
Batavia is located in the Central Standard Time (CST) timezone, GMT-06:00. It observes Daylight Saving Time (DST).