Georgia Tech (33-14) won two of three from Coastal Carolina, No. 20 in the Baseball America Top 25, in the weekend series.
Dietrich had three hits. He ranks second in the Atlantic Coast Conference with 56 RBIs.
Georgia Tech has hit at least one homer in 15 straight games.
Patrick Long was 3-for-4 and Charlie Blackmon added two hits while driving in two runs.
Zach Von Tersch (6-3) allowed only four hits and two runs in six innings. He struck out four.
Tech relievers Andrew Robinson and Brad Rulon each pitched scoreless innings.
Dietrich hit a two-run homer in the fifth. Tony Plagman followed with his ACC-leading 15th homer for a 5-2 lead.
Coastal Carolina's David Anderson (5-2) gave up five runs on five hits in 4 1-3 innings.