Strasburg is located at 38°59'17" North, 78°21'30" West (38.988333, -78.358611).
According to the United States Census Bureau, the town has a total area of 3.17 mi2 (8.21 km2). 3.15 mi2 (8.16 km2) of it is land and 0.02 mi2 (0.05 km2) of it is covered by water. The total area is 0.65% water.
Strasburg is located in the Eastern Standard Time (EST) timezone, GMT-05:00. It observes Daylight Saving Time (DST).