Reverse Fee Calculator: What to Charge So You Net the Amount You Want
This reverse fee calculator answers one question: if you want a specific amount to land in your bank account, what do you charge the card? Enter the net you want and either pick a processor preset or type your own rate, and it returns the gross amount, the fee at that amount, and the net you actually end up with. The formula is gross equals net plus the fixed fee, divided by one minus the percentage rate. Adding the percentage to your price does not work, and the second half of this page explains both why it undershoots and why turning the difference into a line item on an invoice can put you on the wrong side of Visa's surcharge rules.
Published US rates. Pick your channel, or enter your own.
What should actually land in your bank account.
Using 2.90% + $0.30 per transaction.
Charge this
$103.30
$3.30 in fees, leaving exactly $100.00.
If you just add the percentage
The markup here is more than 3% of the original amount. That is fine if you are building it into your price. If you intend to add it to a customer’s bill as a credit card surcharge, it exceeds the 3% cap Visa applies in the US, and surcharging carries its own state rules and notification requirements.
Computed in whole cents, then verified: the fee is recalculated on the rounded charge and the charge is nudged up if the net would land short. Rounding half up on its own can leave you a cent light, because the processor rounds its own fee independently.
Worked example
A design studio agreed a $2,500 fee with a client and wants $2,500 to actually arrive. The client is paying by card through Stripe, on Stripe's published US standard rate of 2.9% plus $0.30 per successful domestic transaction.
The naive approach is to add 2.9% and invoice $2,572.50. Stripe then takes 2.9% of $2,572.50, which is $74.60, plus the $0.30 fixed fee, for a total fee of $74.90. The studio nets $2,497.60 and is $2.40 short. The gross up formula gives (2500 + 0.30) divided by (1 minus 0.029), which is 2500.30 divided by 0.971, or $2,574.9743, rounded to $2,574.97. Stripe takes 2.9% of $2,574.97, which is $74.67, plus $0.30, for a fee of $74.97. The studio nets $2,574.97 minus $74.97, which is exactly $2,500.00. The difference between the two invoices is $2.47, and the reason the naive figure fails is that the extra $72.50 the studio added is itself charged 2.9%.
Why adding the fee percentage always leaves you short
The instinct is to add the rate back on. You want $100, Stripe takes 2.9% plus 30 cents, so you charge $102.90 and consider it handled. Run the actual deduction and it falls apart. Stripe does not charge 2.9% of the $100 you wanted, it charges 2.9% of the $102.90 you actually ran. That is $2.98, plus the 30 cent fixed fee, for a total of $3.28. You net $99.62. You are 38 cents short, and adding another 2.9% will not close the gap, because whatever you add gets charged 2.9% as well.
The fix is one line of algebra. Call the amount you want to keep the net, the percentage the rate, and the per transaction flat charge the fixed fee. Then gross equals net plus fixed, all divided by one minus rate. For $100 net on Stripe's published US rate, that is 100.30 divided by 0.971, which is 103.2956, or $103.30 once you round to the cent. Check it against how the processor actually bills: 2.9% of $103.30 is $3.00, plus the 30 cent fixed fee is $3.30, and $103.30 minus $3.30 is exactly $100.00.
The fixed fee is what makes this ugly on small tickets, and it is the part people forget entirely. To net one dollar on 2.9% plus 30 cents you have to charge $1.34, an effective rate of 25.4%. To net $20 you charge $20.91. The percentage is almost irrelevant down there. This is also why the gap between the naive number and the correct number is not a constant: on a $100 sale it is 40 cents, on a $2,500 invoice it is $2.47, and it grows roughly in proportion to the amount because the compounding term dominates once the flat fee stops mattering.
One thing worth being clear about before the rest of this page gets complicated. Charging $103.30 for something is always allowed. That is a price. You can set your prices at whatever number makes your margin work, and nobody has any interest in how you arrived at it. Everything that follows is about what happens the moment you stop treating it as a price and start presenting the $3.30 to the customer as a fee.
Where the gross up actually earns its keep
The first case is an agreed number. You quoted $2,500, the client signed off on $2,500, and if $2,497.60 arrives you either eat the difference or have an awkward conversation about $2.40. Building the gross up into how you generate invoices is the difference between a rate card that means what it says and one that quietly runs 3% light. The same logic applies to contractor payouts, marketplace transfers, retainers, and any situation where a number was negotiated before a payment method was chosen.
The second is nonprofit donations, where the pattern is now close to universal. A donor picks $250, ticks a box offering to cover the processing cost, and the charge runs at a slightly higher figure so the organization banks the full $250. On PayPal's published US rate for receiving domestic donations, 2.89% plus $0.49, the correct charge is $257.94. PayPal takes $7.45 in percentage and $0.49 fixed, for $7.94, and $250.00 lands. The naive calculation of $250 times 1.0289 gives $257.23 and nets $249.31, which is 69 cents of donor generosity that evaporates for no reason.
The third is the case where you are pricing rather than passing anything on. A subscription business that knows every customer pays by card can simply set the price at the grossed up figure and never mention fees to anyone. This is the cleanest option available and it is worth saying plainly, because a lot of merchants reach for a surcharge when what they actually wanted was a price increase of three percent. A price increase has no registration requirement, no cap, no state law problem and no receipt disclosure obligation.
Putting a fee line on the invoice makes you a surcharger
Visa's definition is broad and it is the one that matters: a surcharge is an additional fee or charge that a merchant adds to a consumer's bill for using a particular form of payment. A line item reading processing fee, card fee, convenience charge or 3% for card payments is that, whatever you call it in your invoicing software. Once you are surcharging, a stack of requirements applies at once. You must notify your acquirer at least 30 days before you start, and Mastercard requires that notice reach Mastercard as well as your acquirer. You must limit it to credit cards, because debit and prepaid cards cannot be surcharged at all, and that includes a debit card where the cardholder chose credit on the terminal. The surcharge amount has to be passed in a dedicated data field in the transaction message, which your acquirer populates. You must disclose it at the point of entry, at the point of sale, and separately on every receipt. And you must surcharge at either the brand level or the product level, not both.
Then there is the cap, and this is where the arithmetic on this page collides with the rules. Visa limits the surcharge to your merchant discount rate for that card or 3%, whichever is lowest. Mastercard's published maximum is 4%, and its cap is the lesser of that and your average effective rate for Mastercard credit acceptance, so if you take both brands you are effectively working to 3%. A full gross up of a 2.9% plus $0.30 flat rate does not fit inside 3% on any normal transaction. On a $100 sale the gross up is $3.30, which is 3.3% of the $100 price. On a $20 sale it is $0.91, which is 4.55%. The crossover point where a full gross up of that rate finally drops under 3% is around $2,308. If you cap the surcharge at 3% and charge $103.00 instead, your fee is $3.29 and you net $99.71, so you are still 29 cents down and you have accepted an entire compliance regime to recover most of it.
Enforcement is not theoretical. Visa says it uses yearly mystery shopping by outside auditors, and that the acquirer of a merchant identified as surcharging improperly may be assessed an immediate $1,000 fine. That flows to you through your processing agreement. Stripe's own surcharging documentation is blunt about where liability sits: you are fully responsible for any fines, penalties or losses arising from failure to adhere to applicable surcharging requirements. Stripe caps US surcharges at 3% and restricts them to credit cards in its own implementation, and it requires you to return the entire surcharge on a full refund and a prorated share on a partial one.
State law sits on top of all of this. Visa's own published understanding, dated 15 February 2024 and disclaimed as non authoritative, is that Connecticut, Maine, Massachusetts, Oklahoma and Puerto Rico prohibit surcharging, and that Colorado, Minnesota, New Jersey and New York impose requirements on it. If you operate in several states, the rule follows the location of each outlet, so you can surcharge in one and not another. There is also a consumer pricing angle that catches people who thought they had solved this. Under California's SB 478, in force since 1 July 2024, the advertised price must include all mandatory fees other than government taxes and reasonable shipping. The Attorney General's guidance answers no to advertising one price and separately stating that an additional percentage fee applies, and no to disclosing the extra fee before the customer finalizes the transaction. Fees for optional services do not have to be included, and the law does not reach purchases for commercial use, which is why a B2B invoice and a consumer checkout are genuinely different problems.
The cover the fee checkbox: fine for a charity, risky for a store
For a 501(c)(3) taking donations, the checkbox is on solid ground, and the reason is structural rather than a matter of anyone looking the other way. The donor is not paying a fee for using a card. They are choosing to make a larger gift. Nothing is being sold, so there is no bill to add a charge to, and the amount is voluntary, so it is not a mandatory fee under a price transparency law either. Keep it that way and it stays clean: leave the box unchecked by default, label it as increasing the gift rather than as a fee, and offer it on every payment method rather than only on cards. The moment it appears exclusively for card payers and is described as covering the card fee, you have built something that looks a lot more like a payment method contingent charge.
Worth checking your rate before you set the percentage, because charities frequently gross up against the wrong number. PayPal's published US schedule prices domestic donations at 2.89% plus $0.49, and confirmed charities who apply and are pre-approved get 1.99% plus $0.49. On the charity rate, netting $250 needs a charge of $255.58, not the $257.94 the standard donation rate requires. A default cover the fee percentage set to 3% or 4% because that felt about right is collecting more than the cost, which is defensible if you say so and awkward if you have told donors it covers the fee.
For a for profit merchant the same widget is a different animal. A checkbox at checkout offering to add the processing cost to a sale is a fee added to a consumer's bill for using a card, and the fact that the customer could have paid by ACH or check instead does not exempt it. Optional in the sense of the customer having chosen it is not the same as optional in the sense the rules care about. If you want to move card costs onto customers without surcharging, the sanctioned route is a cash discount, and Visa is specific about how it has to look: display only the card price, or display the card and cash prices side by side per item, and the total charged on a card must be the displayed total. Visa warns directly that a total reached by adding an extra fee for card payment at the final bill may be treated as a surcharge and subjected to the surcharge rules. In other words, a cash discount that is really a surcharge with better labeling is still a surcharge.
What grossing up will not fix
Refunds are the big one. Grossing up gets the right money in on the way through and does nothing for you on the way back out. Stripe's policy is that processing fees from the original transaction are not returned. Square's is that when you refund a payment, the processing fees for that payment are not refunded back to you. So on that $103.30 charge, refunding the customer in full costs you $103.30 out of pocket against $100.00 that ever reached you, and you are down the full $3.30. If you surcharged, you also have to return the surcharge in full on a full refund and prorate it on a partial one, which means you refund more than you netted. High return rate businesses should model this before deciding a gross up has solved anything.
The formula also assumes you know the rate, which is only reliably true on flat rate pricing. On interchange plus you do not know what a transaction costs until you know which card was presented, because a consumer debit card and a corporate rewards card can differ by well over a percentage point. You can gross up against your blended effective rate from last month's statement and be roughly right on average, but any individual transaction will land above or below, and a premium card on a large ticket can miss by real money. If you are on interchange plus and you need an exact net, price for the worst case card you actually see rather than the average.
It also assumes you picked the right rate off your own processor's schedule, which is easier to get wrong than it sounds. Square is the clearest example: on the Free plan, Square Online and Invoices run 3.3% plus 30 cents, while the eCommerce API runs 2.9% plus 30 cents, and keyed in or card on file transactions run 3.5% plus 15 cents on every plan. Those are three different answers for the same merchant depending on how the payment was taken. Gross up against the wrong one and you are off by 40 or 60 basis points before you start.
And there are costs that simply are not per transaction percentages, so nothing here reaches them. Chargeback and dispute fees land on top and are usually flat. International cards and currency conversion add percentage points that the domestic rate you typed does not include. Amex is often priced separately. Monthly platform fees, gateway fees and monthly minimums are not attached to any one sale and cannot be recovered a transaction at a time. Grossing up handles the arithmetic of one flat rate charge accurately and completely, and that is the whole of what it does.
What you must charge for exactly $100.00 to land in your account, using each processor's published US rate as checked on 4 September 2026.
| Fee | Percentage rate | Fixed fee | Charge to net $100 | Fee at that amount |
|---|---|---|---|---|
| Stripe, online standardStripe's published standard rate for domestic cards, with no setup or monthly fee. | 2.9% | $0.30 | $103.30 | $3.30 |
| PayPal Checkout, domesticSame rate applies to PayPal Guest Checkout. | 3.49% | $0.49 | $104.12 | $4.12 |
| PayPal donations, domesticStandard rate for receiving domestic donations. | 2.89% | $0.49 | $103.48 | $3.48 |
| PayPal confirmed charitySubject to eligibility, application and pre-approval by PayPal. | 1.99% | $0.49 | $102.53 | $2.53 |
| Square in person, Free planTap, dip or swipe on the $0 per month plan. Plus and Premium are lower. | 2.6% | $0.15 | $102.82 | $2.82 |
| Square Online or Invoices, Free planSquare's online store and Invoices on the free plan. The eCommerce API is priced differently. | 3.3% | $0.30 | $103.72 | $3.72 |
| Square eCommerce API, or online on Plus or PremiumThe eCommerce API is 2.9% plus 30 cents on every plan, including Free. | 2.9% | $0.30 | $103.30 | $3.30 |
| Square keyed in or card on fileManually entered cards, the same rate on all Square plans. | 3.5% | $0.15 | $103.78 | $3.78 |
Assumptions and limits
- Published rates go stale, and Square's online pricing is the easiest one here to get wrong. On the Free plan, Square Online and Invoices are 3.3% plus 30 cents while the eCommerce API is still 2.9% plus 30 cents; the paid Plus and Premium plans apply 2.9% plus 30 cents to all online methods. Checked on 4 September 2026. Check any rate here against your own statement before you rely on it.
- The calculator assumes flat rate pricing: one percentage and one flat fee. On interchange plus the rate is not known until the card is presented, so a gross up against a blended rate is an estimate rather than a guarantee.
- Fee rounding is modelled as the percentage component rounded to the nearest cent and the flat fee then added. Processors are not perfectly uniform about rounding and your statement may differ by a cent on any given transaction.
- All rates shown are for domestic US consumer cards on each processor's standard published schedule. International cards, currency conversion, Amex where separately priced and negotiated rates all differ and are not modelled.
- Card network surcharge rules are actively changing. Trade press reported that the revised Visa and Mastercard interchange settlement received preliminary approval on 9 June 2026 and that it contains expanded surcharging and steering rights for merchants. Preliminary approval is not final approval, and nothing on this page reflects rules that have not taken effect.
Frequently asked questions
- What is the formula to gross up a credit card fee?
- Gross equals net plus the fixed fee, divided by one minus the percentage rate, with the rate expressed as a decimal. For a $100 net on 2.9% plus $0.30, that is (100 + 0.30) divided by (1 minus 0.029), which is 100.30 divided by 0.971, or $103.30. The division is the whole trick. It accounts for the fee charged on the amount you added, which is the step multiplication misses.
- Why doesn't adding 2.9% get me back to $100?
- Because the processor charges its percentage on what you actually ran, not on what you wanted to keep. Charge $102.90 and Stripe takes 2.9% of $102.90, which is $2.98, plus the $0.30 fixed fee, for $3.28 total. You net $99.62 rather than $100. The extra $2.90 you added is itself charged 2.9%, and the fixed fee was never covered at all. Adding a bigger percentage does not fix it, because the same problem recurs at every step.
- How much do I need to charge to receive exactly $1,000?
- It depends on the rate. On Stripe's US standard 2.9% plus $0.30, charge $1,030.18 and the fee is $30.18. On PayPal Checkout at 3.49% plus $0.49, charge $1,036.67 for a fee of $36.67. On Square Online or Invoices on the Free plan at 3.3% plus $0.30, charge $1,034.44. On Square in person at 2.6% plus $0.15, charge $1,026.85. The first three markups all exceed 3% of the sale, which matters if you were planning to pass the difference to a customer as a surcharge. Only the Square in person figure, at 2.685%, would fit inside Visa's 3% cap.
- Can I add a credit card processing fee to my invoice?
- Sometimes, and it is more work than it looks. A separate processing fee line for card payment is a surcharge under Visa's definition, which triggers a full set of requirements: 30 days notice to your acquirer, and to Mastercard as well if you take Mastercard, credit cards only since debit and prepaid cannot be surcharged, a cap at the lower of your merchant discount rate or 3% for Visa, disclosure at the point of entry, at the point of sale and on every receipt, and surcharge return on refunds. Several states prohibit or restrict it, and California's SB 478 separately bars advertising one price to consumers and then adding a mandatory fee. Whether it is permitted for your business in your state is a question for a lawyer, not a calculator.
- Is it legal to ask donors to cover the processing fee?
- A voluntary, opt in option for a donor to increase their gift so the charity receives the full amount is not a surcharge, because nothing is being sold and no fee is being added to a bill for using a particular payment method. It is a larger donation. Keep the box unchecked by default, describe it as increasing the gift rather than as a card fee, and offer it on every payment method rather than only on cards. The tax treatment of the extra amount for the donor is a separate question and one for a tax adviser, not for this page.
Go deeper
Other calculators
Gross up from your real rate, not the headline one
This formula is only as good as the rate you type into it. The 2.9% on a pricing page is the domestic consumer card rate, and your statement almost certainly shows something higher once international cards, keyed entries, Amex and monthly fees are folded in. Work out what you actually paid last month, then gross up from that number.
Looking for something else? See free payment tools and calculators.