Understanding Payment Gateway Fees
Payment gateways charge a blended transaction fee consisting of a percentage of the total transaction value plus a fixed assessment fee per charge (such as standard US domestic rates of 2.9% + $0.30 on Stripe or 3.49% + $0.49 on PayPal). When invoicing clients or setting digital product prices, calculating the exact processor deduction prevents unexpected margin erosion.
How the Engine Operates
The calculator operates in two modes: Forward mode subtracts the payment processor fee schedule from a customer invoice to show your net settled payout. Reverse mode (gross-up) solves the algebra in reverse to calculate the larger invoice total you must charge so that the remaining amount after processor deductions matches your exact desired take-home dollar figure.
Mathematical Formula & Variables
In forward calculations, the processing fee equals the transaction amount multiplied by the percentage rate plus the fixed fee. In reverse gross-up calculations, the fixed fee is added to your net target and divided by (1 minus the decimal percentage rate).
Forward Calculation (Net Payout): • Processing Fee = (Invoice Amount × Rate%) + Fixed Fee • Net Settled Payout = Invoice Amount - Processing Fee Reverse Calculation (Gross-Up Target): • Required Invoice Amount = (Desired Net Payout + Fixed Fee) / (1 - (Rate% / 100)) Where: • Invoice Amount: Total charged to the customer card • Desired Net Payout: Exact cash balance you wish to retain • Rate%: Gateway percentage fee (e.g. 2.9% = 0.029) • Fixed Fee: Gateway per-transaction flat fee (e.g. $0.30)
Step-by-Step Worked Example
When to Use This Tool
- When writing client service agreements and setting payment terms where the client agrees to cover processing overhead.
- When establishing baseline retail prices on e-commerce storefronts like Shopify, WooCommerce, or custom checkouts.
- When assessing whether to offer alternative payment rails (such as ACH direct debit or SEPA bank transfers) for high-ticket invoices.
- When comparing merchant account quotes from different payment service providers.
Common Pitfalls to Avoid
- Adding 2.9% directly to your net target ($1,000 + $29 = $1,029). The processor deducts 2.9% from the new $1,029 total ($29.84 + $0.30 = $30.14), leaving you short with only $998.86.
- Overlooking cross-border assessment fees (typically an extra 1.0% to 1.5%) when accepting payments from international cardholders.
- Forgetting that currency conversion fees (typically 1.0% to 2.0%) may apply if your payout bank account currency differs from the transaction currency.
Practical Strategic Recommendations
- For domestic B2B transactions above $2,000, consider encouraging ACH direct debit or bank wires, which typically cap fees between $5.00 and $15.00.
- Check whether your transaction volume qualifies for Level 2 or Level 3 corporate card data processing, which can reduce interchange costs on B2B transactions.
- Remember that payment processing fees are standard ordinary business operating expenses and are generally tax deductible.
Frequently Asked Questions
Why does simple addition fail when trying to cover payment fees?
When you increase the invoice price, the payment gateway applies its percentage fee to the entire new transaction total. To offset this compounding effect, you must divide by (1 - Rate%) rather than multiplying.
Are payment processing fees consistent across all credit card brands?
Aggregated gateways like Stripe and PayPal generally charge uniform blended rates for domestic Visa, Mastercard, and Discover. However, American Express, international cards, and commercial corporate purchasing cards may carry higher underlying interchange or cross-border surcharges depending on your processor agreement.
Is it legal to pass payment gateway processing fees onto customers?
Rules regarding credit card surcharges vary by country and state. In many jurisdictions, surcharge transparency rules require clear disclosure before checkout, and some regions cap surcharges to the actual cost of processing or prohibit surcharges on debit card transactions.