The geometric mean (G.M.) of three numbers \( a_1, a_2, a_3 \) is given by the formula:
\[
\text{G.M.} = \sqrt[3]{a_1 \times a_2 \times a_3}
\]
Substitute the given values \( a_1 = 2, a_2 = 4, a_3 = 8 \):
\[
\text{G.M.} = \sqrt[3]{2 \times 4 \times 8} = \sqrt[3]{64} = 4
\]