Free tool
Credit card surcharge calculator
To fully pass a card fee to the customer, the surcharge must be (order total × rate + fixed fee) ÷ (1 − rate). That is slightly more than your processor's rate, because the processor also charges its percentage on the surcharge. Enter your numbers to get the exact amount.
What the customer pays before the surcharge (incl. shipping and tax).
Your card processing percentage, e.g. 2.9.
e.g. 0.30. Use 0 if your processor has none.
The cap your card network, provider or local law allows.
Surcharge to fully cover card fees
$3.30
3.3% of the order · customer pays $103.30 · you keep $100.00
- Card fee with no surcharge
- $3.20
- If you just charge 2.9%
- $2.90 (still lose $0.38)
- Percentage-only fee setting for this order size
- 3.3%
- Exact formula for any order size
- 2.99% + $0.31
Estimates only. Your processor's statement and the surcharge rules for your country, card network and provider are what count.
Break-even surcharge by order size
Example at 2.9% + $0.30 per transaction. Because of the fixed fee, small orders need a much higher percentage to break even.
| Order total | Card fee, no surcharge | Break-even surcharge | As % of order | Loss if you charge 2.9% |
|---|---|---|---|---|
| $10.00 | $0.59 | $0.61 | 6.08% | $0.31 |
| $25.00 | $1.02 | $1.06 | 4.22% | $0.32 |
| $50.00 | $1.75 | $1.80 | 3.6% | $0.34 |
| $100.00 | $3.20 | $3.30 | 3.3% | $0.38 |
| $250.00 | $7.55 | $7.78 | 3.11% | $0.51 |
| $500.00 | $14.80 | $15.24 | 3.05% | $0.72 |
How the formula works
Your processor takes rate × amount charged + fixed fee. If you add a surcharge S to an order of T, the customer pays T + S and the processor takes its cut of all of it. You break even when what is left equals T:
(T + S) − ((T + S) × rate + fixed) = T → S = (T × rate + fixed) ÷ (1 − rate)
As a rule for every order size, that is a percentage of rate ÷ (1 − rate) plus a fixed amount of fixed ÷ (1 − rate). At 2.9% + $0.30 this works out to about 2.99% + $0.31. If your fee setup only allows a percentage, use the break-even percentage for your average order value.
Before you add a surcharge
- Check the maximum rate your card networks and payment provider allow, and enter it as the cap above.
- Debit and prepaid cards are often not eligible. Apply the fee to credit card payments only.
- Some countries and US states restrict or ban card surcharges. Check the rules where your customers are.
- Show the fee clearly before the customer pays, as a separate line rather than a hidden price increase.
Add the surcharge to your Shopify checkout
Bony Surcharge & Tariff Fees adds a percentage fee that applies only to credit card payments and shows it as its own line in the order summary.
Surcharge calculator FAQ
How do I calculate a credit card surcharge?
Divide your processing cost by one minus the processor rate: surcharge = (order total × rate + fixed fee) ÷ (1 − rate). With a 2.9% + $0.30 rate on a $100 order the card fee is $3.20, and the surcharge that fully covers it is $3.30, because the processor also takes 2.9% of the surcharge.
Why doesn't charging the same percentage as my processor cover the fee?
The processor charges its rate on the whole amount the customer pays, including the surcharge, and usually adds a fixed per-transaction fee. A 2.9% surcharge on a $100 order recovers $2.90, but the fee on $102.90 at 2.9% + $0.30 is about $3.28, so you still lose around $0.38.
Is it legal to add a credit card surcharge?
It depends on where you sell, the card network and your payment provider. Card networks set maximum surcharge rates and disclosure rules, debit and prepaid cards are often excluded, and some countries and US states restrict or ban card surcharges. Confirm the permitted rate with your payment provider before you charge one.
How do I add a credit card surcharge on Shopify?
Shopify has no built-in surcharge setting. A fee app such as Bony Surcharge & Tariff Fees can add a percentage order fee that applies only when the customer pays by credit card and shows it as a line in the checkout order summary.
Last updated 2026-11-19. Free to use and link to; please credit Bony Ecommerce.