Credit Card Fee Calculator

Work out any card processing fee, and the exact price to charge to cover it.

Quick answer

How do I calculate a credit card processing fee? Fee = sale amount × percentage rate + fixed fee. At 2.9% + $0.30, a $100 sale costs $3.20.

How card processing fees work

Most processors charge a percentage of the sale plus a fixed fee per transaction. The percentage covers interchange (paid to the card's bank), network fees and the processor's margin.

The surcharge math most people get wrong

To pass the fee on, many sellers add the percentage to the price. That leaves you short, because the processor also takes its cut of the surcharge. The right formula is charge = (amount + fixed fee) ÷ (1 − rate).

Worked examples

1. $100 at 2.9% + $0.30

Fee $3.20. To receive $100, charge $103.30, a $3.30 surcharge (3.30%).

2. $1,500 at 2.6% + $0.15 (in person)

Fee $39.15. Covering it means charging $1,540.20.

3. $20 at 3.49% + $0.49

Fee $1.19, an effective 5.9%. Fixed fees hit small sales hardest.

Exact calculators by processor

Use these for the official rates and options of each provider: Stripe, Square, PayPal, Venmo and Shopify.

This page explains the math only. It is not legal advice on surcharging.

Frequently asked questions

How do I calculate a credit card processing fee?

Fee = sale amount × percentage rate + fixed fee. At 2.9% + $0.30, a $100 sale costs $3.20.

How much should I charge to cover card fees?

Charge = (amount + fixed fee) ÷ (1 − rate). To receive exactly $100 at 2.9% + $0.30, charge $103.30. Simply adding 2.9% (to $102.90) leaves you short.

Is it legal to add a credit card surcharge?

In most US states yes, with rules: you must tell customers before they pay, the surcharge cannot exceed your actual cost, and card networks set their own caps and notice requirements. Some states restrict surcharges. Check your processor's rules and your state law before adding one.

Can I surcharge debit cards?

No. US rules do not allow surcharges on debit cards, even when run as credit.

What is a typical card processing rate?

For small businesses: Stripe 2.9% + $0.30 online, Square 2.6% + $0.15 in person, PayPal Checkout 3.49% + $0.49. See our individual calculators for exact rates.

Is a cash discount the same as a surcharge?

They aim at the same thing, but a cash discount lowers the price for cash payers instead of raising it for card payers, and has different rules. Ask your processor which program you are on.

Fees change often. See every platform side by side in our 2026 seller fees table and every recent change on our fee changes log.

Last updated: . Estimates only. Fees can change; check the platform before you list. Found an error? Tell us and we will fix it.