"ごろ" is used to indicate an approximate time, while "ぐらい" expresses an approximate degree or quantity. For example, "3時ごろ" means around 3 o'clock, and "30分ぐらい" signifies approximately 30 minutes.