If $r$ is the fee (here $r=.03$) and $C$ is the charge you want to recover at the end, the amount to submit is $C/(1-r)$. So the mark-up rate is $r/(1-r)$, e.g., $.03/.97\approx.0309278$, or approximately $3.1\%$.
If you don't want to switch back and forth between percents and decimals, and prefer to think of the variable here as $r=3$, the pertinent formula for the mark-up rate is $100r/(100-r)$.