Another possibilities is to use tabularray packages for writing your table- Using it resulted table is to my opinion more nice.
\documentclass{article} \usepackage{tabularray} \UseTblrLibrary{booktabs, siunitx} \begin{document} \begin{tblr}{hlines, vlines, colspec = {c *{4}{Q[c, wd=3em]}}, cell{1}{1} = {r=2}{}, cell{1}{2,4} = {c=2}{} } Parameter & Experiment 1 & & Experiment 2 & \\ & Mean & Std & Mean & Std \\ B [\unit{\m}] & 2.5 & 1.03 & 4.5 & 0.9 \\ \end{tblr} \end{document}

However, it is not clear if your code fragment contain complete table or your real table has several rows. In the second case, you may consider to draw only horizontal lines only in column headers and at the end of table and for numbers aligning in columns use siunitx package. For example:
\documentclass{article} \usepackage{tabularray} \UseTblrLibrary{booktabs, siunitx} \begin{document} \begin{tblr}{colspec = {c *{4}{Q[c, wd=3em, si={table-format=1.2}]}}, cell{1}{1} = {r=2}{}, cell{1}{2,4} = {c=2}{}, row{1,2} = {guard} } \toprule Parameter & Experiment 1 & & Experiment 2 & \\ \cmidrule[lr]{2-3} \cmidrule[l]{4-5} & Mean & Std & Mean & Std \\ \midrule B [\unit{\m}] & 2.5 & 1.03 & 4.5 & 0.9 \\ C [\unit{\m}] & 1.5 & 1.1 & 4.55 & 0.89 \\ \bottomrule \end{tblr} \end{document}
which gives more "professional" looks of table:
