Dubois is located at 43°32'0" North, 109°37'46" West (43.533611, -109.629722).
According to the United States Census Bureau, the town has a total area of 2.61 mi2 (6.75 km2). 2.60 mi2 (6.73 km2) of it is land and 0.01 mi2 (0.03 km2) of it is covered by water. The total area is 0.39% water.
Dubois is located in the Mountain Standard Time (MST) timezone, GMT-07:00. It observes Daylight Saving Time (DST).