Cosmopolis is located at 46°57'19" North, 123°46'19" West (46.955278, -123.772222).
According to the United States Census Bureau, the city has a total area of 1.54 mi2 (4.00 km2). 1.40 mi2 (3.62 km2) of it is land and 0.15 mi2 (0.38 km2) of it is covered by water. The total area is 9.51% water.
Cosmopolis is located in the Pacific Standard Time (PST) timezone, GMT-08:00. It observes Daylight Saving Time (DST).