Ashby is located at 46°5'35" North, 95°49'1" West (46.093056, -95.817222).
According to the United States Census Bureau, the city has a total area of 0.57 mi2 (1.48 km2). 0.53 mi2 (1.38 km2) of it is land and 0.04 mi2 (0.10 km2) of it is covered by water. The total area is 6.64% water.
Ashby is located in the Central Standard Time (CST) timezone, GMT-06:00. It observes Daylight Saving Time (DST).