Passing a card fee on sounds simple: the processor charges 2.9% plus 30 cents, so add 2.9% plus 30 cents. But the processor takes its cut of the whole charge, including the fee you added. Add the fee to the bill and you still come up short. This calculator works out the amount that leaves you exactly the invoice, uses the same math Chalk uses to the cent, and shows what the usual shortcuts cost you.
How the calculator works
- Card. It finds the smallest fee that, once the processor takes its percentage and fixed charge from the whole payment, leaves exactly the invoice amount. This is called grossing up.
- The 3% cap. The card fee never goes over 3% of the invoice, rounded down to the cent. On smaller bills the flat 30 cents makes the true cost more than 3%, so the cap binds and you cover the last few cents. The calculator tells you when that happens and by how much.
- Bank. A bank transfer (ACH) at Stripe's published US price costs 0.8% of the payment, never more than $5, plus $1.50 for the instant bank account check. The calculator grosses that up the same way, so the bank fee passed on is never more than $6.50. There is no 3% cap here, because that is a card network rule.
- The shortcuts. It shows what you would actually get if you just added your rate to the bill, or added a flat 3%.
The formula
For a card rate r and fixed fee f on an invoice B, the fee F to add is the one where
F = processor fee on (B + F), which works out to aboutF = (B + f) / (1 - r) - B
The calculator finds it to the cent by checking whole cents, because processors round their fee and a formula alone can be a cent off. Then:
- Card fee to add = the smaller of
Fand3% of B, rounded down - Bank fee to add = the smallest amount where
charge - bank fee on the charge - $1.50 = B, never more than $6.50
Worked example
A $3,000 invoice at Stripe's standard 2.9% plus 30 cents:
- Grossed up: add $89.91 and charge $3,089.91. Stripe keeps 2.9% of $3,089.91 plus 30 cents, which is $89.91. You get $3,000.00.
- Adding your rate to the bill: 2.9% of $3,000 plus 30 cents is $87.30. Charge $3,087.30 and Stripe keeps $89.83. You get $2,997.47, $2.53 short.
- Adding a flat 3%: add $90.00 and charge $3,090.00. Stripe keeps $89.91. You get $3,000.09, 9 cents more than the fee cost you. On a $10,000 invoice a flat 3% leaves you $1.00 more than the fee cost. The card networks' rules generally do not let a surcharge go over what the card actually costs you, so a flat 3% can be too much as well as too little.
- When the cap binds: on a $1,000 invoice the true fee is $30.17, but 3% is $30.00. You add $30, Stripe keeps $30.17, and you cover 17 cents.
- By bank: the same $3,000 by bank transfer is $3,006.50. Stripe keeps its $5 cap on the payment and bills $1.50 for the account check, so $3,000.00 lands. A $200 bank payment is $203.12.
The rules to check before you surcharge
This is a short list of where the rules live, not a summary of what they say for you. Read the official pages and ask your processor.
- Card networks. Visa asks merchants to tell their acquirer (the company that processes your cards) 30 days before they start surcharging, and has sample signage for disclosing it. Mastercard's rules say a surcharge must be disclosed and shown on the receipt, and cap it at your cost of acceptance or its own maximum, whichever is lower. Visa's rules cap it at the lower of your cost or 3%.
- Debit and prepaid cards. The networks do not allow a surcharge on debit or prepaid cards, even when they are run as credit.
- States. Some states ban card surcharges or limit them. Connecticut and Massachusetts prohibit surcharging a buyer for paying by card. Colorado lets a merchant choose between a cap of 2% and a cap at its actual processing cost, with disclosure rules and no surcharge on debit cards. Other states have their own rules. The National Conference of State Legislatures keeps a list of state surcharge laws.
- A cash discount is treated differently from a card surcharge in some of these laws. Massachusetts, for example, still allows a discount for paying cash. If you want to reward cash or check, read how your state treats a discount.
Common mistakes
- Adding your rate instead of grossing up. It always leaves you short, by more on bigger bills.
- Adding a flat 3% to everything. It undercharges small bills and can overcharge big ones past your actual cost.
- Surcharging debit cards. Not allowed by the networks. Your system may not be able to tell a debit card from a credit card, so check how your processor handles it.
- Not telling the customer first. Disclosure before the sale is part of the rules. Put the fee on the estimate, not only on the final charge.
- Forgetting the bank option. On a big job, offering a bank transfer at a few dollars instead of a 3% card fee saves your customer real money and still nets you the invoice.
How to use this in a quote
Chalk works out the fee the same way this calculator does. The fee math on this page is a copy of Chalk's own, and a test checks the two agree to the cent.
- Turn on Customer pays the card fee in Settings > Connectors > Payments, under Ways to pay and what they cost. It is off until you turn it on, it needs your card rate set first, and Chalk asks you to confirm and reminds you that surcharging is regulated. It never adds more than 3% of the bill.
- Customer pays the bank fee is its own switch, for bank transfers.
- Once the card fee switch is on, Show it on the estimate when you send it puts the fee on the estimate as a line, so the customer sees it before they approve.
- Chalk cannot tell a debit card from a credit card, and it says so when you turn the switch on. Checking that you are allowed to surcharge is on you and your processor's agreement.
Here is how to send a quote and get it approved in Chalk.
Sources
- Stripe, Pricing and local payment methods pricing: 2.9% plus 30 cents for US cards, 0.8% capped at $5 for ACH Direct Debit, and $1.50 per instant bank account check. Checked October 9, 2026. Your own rate may differ, so enter yours.
- Visa, Small business regulations and fees: surcharging notice to your acquirer and disclosure.
- Mastercard, Merchant surcharge rules: caps, disclosure and the debit and prepaid card rule.
- National Conference of State Legislatures, Credit or debit card surcharges statutes.
- Connecticut Department of Consumer Protection, What is the Connecticut surcharge law?
- Massachusetts General Laws, chapter 140D, section 28A.
- Colorado General Assembly, SB21-091, Credit Transaction Charge Limitations.