To pass a card fee on to the customer, divide the amount you want to receive by (1 - fee) instead of adding the fee to the price. With an example fee of 4%, receiving $100.00 means charging $104.17, not $104.00. Whether you're allowed to charge more for cards depends on where you sell and on your card network's and processor's rules, so check those before you change a single price.
If you only want the number, the card fee calculator does the math: you enter what you want to receive and your fee, and it shows what to charge. The rest of this guide explains why the math works, the cases that trip people up and what to check before you add a surcharge.
The percentages in this guide are examples to show the math. They aren't any company's actual fees. Your fees are in your processor's app, statement or agreement.
Why adding the fee doesn't cover it
The processor takes its fee from the amount charged on the card, not from the amount you meant to receive. When you add 4% to the price, the 4% fee also takes a bite out of that extra 4%.
With the example fee of 4%:
- Price with the fee added: $100.00 + 4% = $104.00.
- The processor keeps 4% of $104.00, which is $4.16.
- You receive $99.84.
Sixteen cents looks like nothing on one sale, and it is. Now multiply it by every credit card sale in a month, and think about the sales with higher fees, where the gap grows with the fee.
The right math: divide, don't add
The formula:
Price on the card = amount you want to receive ÷ (1 - fee)
- Write the fee as a decimal: 4% becomes 0.04.
- Subtract it from 1: 1 - 0.04 = 0.96.
- Divide the amount you want to receive by the result: $100.00 ÷ 0.96 = $104.17.
To check, go backwards. 4% of $104.17 is $4.17, which leaves $100.00 in your account.
The table shows the difference with three example fees, always to receive $100.00:
| Fee (example) | Price, adding | You receive | Price, dividing | You receive |
|---|---|---|---|---|
| 3% | $103.00 | $99.91 | $103.09 | $100.00 |
| 5% | $105.00 | $99.75 | $105.26 | $100.00 |
| 10% | $110.00 | $99.00 | $111.11 | $100.00 |
Look at the last row. With a high fee, adding instead of dividing costs you a full dollar on every $100.00. In a shop where those sales are common, it shows up at the end of the month.

When there's also a flat fee per sale
Some processors charge a flat amount per transaction on top of the percentage. Then the formula gets one more step:
Price = (amount you want to receive + flat fee) ÷ (1 - fee)
Example with 3% plus $0.30 per sale: ($100.00 + $0.30) ÷ 0.97 = $103.40. The calculator has a field for the flat fee and does this for you.
The flat fee hurts most on small sales. On a $5.00 sale, $0.30 is already 6% of the price before the percentage even starts. If your processor charges this way, look at what you keep on your smallest sales before you decide how to pass fees on.
Every payment method has its own fee
Debit and credit usually cost different amounts. So can a tapped card versus one typed in by hand, a card issued abroad, or getting your money the same day instead of in a couple of days. Your processor's statement shows what you actually paid, and the effective rate there is often higher than the headline rate.
In practice that means two things. Do the math separately for each payment method, and redo it whenever your fees change. A price worked out with January's fees may be wrong by March.
Two ways to pass the fee on
One price, with a discount for cash
The shelf price already covers your average fee, and customers who pay cash get a discount. To find the average fee, weight each method by how much of your sales it makes up.
Example with made-up numbers: half your sales in cash with no fee, 30% on debit at 1% and 20% on credit at 4%.
- Average fee: (0.5 × 0%) + (0.3 × 1%) + (0.2 × 4%) = 1.1%.
- Shelf price to receive $100.00 on average: $100.00 ÷ 0.989 = $101.11.
It's the simplest for the cashier, because there's only one price. The downside is that without the discount, cash customers end up paying for the card customers' fees. Some places have rules about how a cash discount must be shown, and they may differ from the rules for card surcharges, so check both.
A price for each payment method
Here the sign shows a price per method. With this guide's example fees:
| Payment method | Price (example) |
|---|---|
| Cash | $100.00 |
| Debit (1% fee) | $101.01 |
| Credit (4% fee) | $104.17 |
It's more precise, but it puts more numbers in front of the customer, and some customers find that off-putting. In our view, if the rules where you sell allow it, the middle ground works best for most small shops: one price for most methods, and a pass-through only on the method with the biggest fee.

Are you allowed to add a card surcharge?
There's no single answer. Whether a merchant may charge more for card payments depends on the country and, in some places, on the state or province. Card networks also have their own rules for merchants, and your processor's agreement may add more. Those rules can cover whether you may surcharge at all, how much, on which cards, and how and when you have to tell the customer.
Before you add a surcharge or a price per payment method, check three things:
- The consumer protection or trade rules where your shop operates. A local business association, your accountant or the government agency for consumer affairs can point you to them.
- The card network rules that apply in your region. Your processor can tell you which ones and send you the current version.
- Your processor's merchant agreement, including any notice it requires before you start.
Whatever the rules say, one habit is always good practice: the customer should know the price for their payment method before they pay. Problems start with surprises at the card reader.
This section is general guidance, not legal advice. If you have doubts about your case, ask a professional where you operate.
Checklist for passing fees on without trouble
- Find the fee for each payment method in your processor's app, statement or agreement.
- Check the surcharge rules where you sell and in your processor's terms.
- Work out the price by dividing, never by adding.
- Choose between one price with a cash discount and a price per payment method.
- Put the prices on a sign at the register and, if you can, on the shelf tag.
- Tell the customer the price before they pay.
- Redo the math whenever your fees change.
Common mistakes when passing fees on
The first is the one this guide opened with: adding the percentage instead of dividing. The second is using your usual credit rate for sales that cost more, like a card typed in by hand or one issued abroad.
Some people forget the cost of getting paid faster. If you take your money the same day instead of waiting, that higher fee is the one that belongs in the math. Another mistake is rounding the price down to make it look neat: if the math says $104.17, charging $104.00 throws away part of what you calculated. Round up, to $104.20 or $104.25.
And the most expensive of all: charging more without telling the customer. It annoys people, and in many places it breaks the rules too.
The fee is only one part of the price
Passing on the fee protects what you receive on each sale, but it doesn't tell you whether the price makes a profit. That's where product cost, taxes and the margin you want come in. Our guide on how to calculate selling price covers it, and the selling price calculator has a field for card fees. If you're comparing POS systems, how much does a POS system cost puts per-sale fees next to the monthly price.
In PDVyn, every sale keeps its payment method, and the cash register closing shows how much of the day came in as cash, transfer and card. The Free plan has no monthly fee and no commission on sales, and works with the card reader you already have (pricing). PDVyn does not issue tax documents. More everyday calculators are on the free tools page.
Frequently asked questions
Is it legal to charge more for credit card payments?
It depends on where you sell. Some places allow it with clear notice to the customer, others limit or forbid it, and card networks and processors have their own rules. Check the local rules and your processor's terms before you start.
How much should I charge to receive $100 with a 5% fee?
With an example fee of 5%, divide $100.00 by 0.95. The card price is $105.26. If you added 5% and charged $105.00, you'd receive $99.75.
Can I pass the fee on only for credit cards?
Some rules treat debit and credit differently, and some limit surcharges to certain cards, so the answer depends on where you sell and on your processor. If it's allowed, show each price before the customer pays.
Can my card processor stop me from charging a surcharge?
Your processor's agreement and the card network rules it follows can set conditions on surcharging. Read the agreement, and ask the processor in writing if anything is unclear.
Why does the calculator give a higher price than adding the fee?
Because the fee is charged on the final price, which already includes the pass-through. Dividing makes up for that, and adding doesn't. The gap is small with a low fee and grows as the fee goes up.
Updated November 28, 2026.

