How the fee is calculated
Gross charge ≈ (net + fixed fee) ÷ (1 − percent rate)
Round the charge up to the next cent so forward fees do not undershoot your net. CardFeeCalc reverse calculators do this automatically.
Worked examples (target net $100 / £100)
Stripe US — keep $100.00
Charge $103.30 · fee on that charge $3.30 · net $100.00
PayPal Checkout — keep $100.00
Charge $104.13 · fee $4.12 · net $100.01 (3.49% + $0.49)
Stripe UK standard — keep £100.00
Charge £101.73 · fee £1.73 · net £100.00 (1.5% + 20p)
Why a simple markup fails
Adding “3%” on top of your net ignores the fixed fee and rounding. A $100.00 net on Stripe is not $103.00—it is $103.30 because the $0.30 applies to the larger gross charge.