Gross‑Up Calculator

Calculate exactly what to charge so you receive the full amount after credit card processing fees.

Learn how it works
Amount to charge
How this works

You can't just add the fee percentage on top of your invoice — the CC company charges fees on the total amount including the surcharge itself. This creates a circular problem.

The solution is to “gross up” using this formula:

charge = (base + flat) ÷ (1 − rate)

Where rate = processing fee × (1 + VAT on fee). The flat per‑transaction fee is added to the base first, then the percentage is grossed up around the combined amount.

What Is a Gross‑Up Calculation?

The problem with passing on CC fees

When a business wants to pass credit card processing fees on to a customer, the instinct is to simply add the fee percentage on top of the invoice. But this doesn’t work — the card processor charges its fee on the total amount, including the surcharge you just added.

A gross‑up calculation solves this circular problem by working backwards from the desired net amount to find the exact total that, after fees are deducted, leaves you with the original invoice amount.

Why simple addition doesn’t work

Say your invoice is 10,000 and the CC fee is 3%. If you charge 10,300 (adding 3%), the processor takes 3% of 10,300 = 309 — leaving you with only 9,991. You’re still short.

The shortfall happens because the fee applies to the total including the surcharge. Each time you add more, the fee grows too. The gross‑up formula accounts for this by dividing instead of adding.

The gross‑up formula

The core formula uses division to reverse the fee deduction:

charge = (invoice + flat fee) ÷ (1 − effective rate)

The effective rate combines the processing percentage and any VAT charged on the fee: effective rate = CC % × (1 + VAT‑on‑fee %). If there’s no VAT on the fee, the effective rate is simply the CC percentage.

Worked example

Invoice: 10,000. CC fee: 3%. VAT on fee: 7%. Flat fee: 0.

  1. Effective rate = 3% × (1 + 7%) = 3% × 1.07 = 3.21%
  2. Charge = 10,000 ÷ (1 − 0.0321) = 10,000 ÷ 0.9679 = 10,331.64
  3. CC fee: 10,331.64 × 3% = 309.95. VAT on fee: 309.95 × 7% = 21.70.
  4. After deductions: 10,331.64 − 309.95 − 21.70 = 10,000.00

When do you need a gross‑up?

Common mistakes to avoid

Quick cheat‑sheet for a basic calculator