Dunbar is located at 38°21'37" North, 81°44'14" West (38.360278, -81.737500).
According to the United States Census Bureau, the city has a total area of 2.84 mi2 (7.36 km2). 2.84 mi2 (7.35 km2) of it is land and 0.00 mi2 (0.01 km2) of it is covered by water. The total area is 0.12% water.
Dunbar is located in the Eastern Standard Time (EST) timezone, GMT-05:00. It observes Daylight Saving Time (DST).