Scanning a QR code to pay with your credit card creates a charge on that card, and this calculator works out what happens next: how many months it takes to clear that balance with a fixed monthly payment, and how much interest you pay on top. You enter the amount charged, the card’s APR, and the payment you plan to send each month, and you get back the payoff time in months and the total interest cost.
Formula
The number of level monthly payments needed to clear a balance is:
n = ceil( -ln(1 – r × P / M) / ln(1 + r) )
- P = amount charged to the card, in $
- r = monthly interest rate = APR / 1200 (APR is a yearly percentage, divided by 12 months and 100)
- M = fixed monthly payment, in $
- n = months to pay off, rounded up to a whole month
Total interest = M × n − P: everything you pay beyond what you borrowed. If M is no larger than the first month’s interest (r × P), the balance never shrinks and the formula cannot compute a payoff — which is the correct signal that the payment is too small.
Worked Example
Using the default values: a $2,000 QR purchase charged to a card with a 20% APR, paid at $100 per month.
- Monthly rate: r = 20 / 1200 = 0.0166667.
- Interest share of the payment: r × P = 0.0166667 × 2000 = $33.33, which is well below $100, so the balance will fall.
- -ln(1 − 33.33 / 100) = -ln(0.66667) = 0.405465.
- ln(1 + 0.0166667) = 0.0165293.
- n = ceil(0.405465 / 0.0165293) = ceil(24.53) = 25 months.
- Total interest = 100 × 25 − 2000 = $500.
So a $2,000 charge paid off at $100 a month takes 25 months and costs $500 in interest.
Assumptions
- Fixed APR for the whole payoff period; no promotional rate that expires.
- One payment per month, made at the end of each month, with interest compounding monthly at APR / 12.
- No new charges added to the card during the payoff.
- Not included: annual fees, late fees, cash-advance fees, foreign-transaction or currency-conversion fees some QR payments trigger, minimum-payment rules, or taxes. Check your card’s terms for those.
What You’ll Need
- A credit card that is open, not expired, and not over its limit.
- A phone with a working camera and a wallet or banking app that can scan payment QR codes.
- The card’s APR and any fees that apply to QR or card-present charges, from your statement or card terms.
- A stable internet connection, since most QR payments need to go online to authorise.
Step-by-Step
- Open the wallet or banking app your card is linked to, or the merchant’s own payment app if it issued the QR code.
- Tap the scan or pay button and point the camera at the QR code until the app locks on and shows the merchant name and amount.
- Check that the amount and payee match what you expect. If the screen shows a blank amount, do not confirm until you know what you will be charged.
- Select your credit card as the payment source if the app holds more than one card or account.
- Confirm the payment with your PIN, fingerprint, or face recognition as the app requests.
- Wait for the success screen and save or screenshot the receipt with the reference number.
- After the charge posts, run the calculator above with the posted amount, your APR, and the payment you plan to make, to see the payoff timeline and interest cost.
Common Mistakes
- Scanning a QR code from a poster, message, or email you did not expect. Fraudulent codes can route money to a scammer’s account, so only scan codes from the merchant in front of you.
- Assuming the charge is interest-free. Unless you pay the statement balance in full by the due date, the card’s APR applies, and the calculator shows how that adds up.
- Paying only the minimum payment. That stretches the payoff for years; try raising M in the calculator to see the difference.
- Confusing a card payment with a cash advance. Some QR transfers or wallet top-ups process as cash advances with extra fees and interest from day one — read what the app labels the transaction.
- Forgetting currency conversion on cross-border QR payments, which can add a percentage fee on top of the exchange rate.
Tips
- Before scanning, ask the merchant what the QR code charges to and whether a service fee is added for card payments.
- Test the calculator with two or three payment amounts to see how a slightly larger monthly payment shortens the payoff and cuts interest.
- Keep the payment reference number until the charge appears on your statement, in case you need a dispute or refund.
- If the app offers a choice between credit and debit, pick deliberately: a credit card charge usually has dispute protections a direct account debit may not.
- Set a reminder for the statement due date so the payoff plan in the calculator actually happens month after month.
Troubleshooting
- The code will not scan: clean the camera lens, increase screen brightness if the code is on a dim display, and flatten paper codes that are creased. If it still fails, ask the merchant to regenerate the code.
- Payment declined: check whether the card is over its limit, expired, or frozen, then try another card. Declines can also come from the merchant’s terminal or your bank’s fraud filters — a quick call to the number on the back of the card usually clears a false fraud block.
- Wrong amount charged: do not rescan and pay twice. Save the receipt, contact the merchant first, and if unresolved, dispute the charge with your card issuer, usually within the window stated in your card terms.
- Calculator shows no result: the monthly payment does not cover the monthly interest. Raise M above r × P — for the defaults that means more than about $33.34 — and the payoff appears.
- Money left your account but the merchant says unpaid: keep both records and ask the merchant to check their terminal; authorisation holds can drop off automatically if the charge never completes.
Frequently Asked Questions
Does paying by QR code with a credit card cost extra?Sometimes. The card’s APR applies if you do not pay the statement in full, and some merchants or wallet apps add a service fee. The calculator covers the interest; check the app screen and your card terms for fees.
Is a QR payment the same as a cash advance?A payment to a merchant is normally a purchase. Moving money to a wallet or person may process as a cash advance with extra fees and no grace period — the app usually labels this before you confirm.
How do I choose the monthly payment to enter?Any amount above the first month’s interest will eventually clear the balance. Larger payments finish sooner and cost less; try a few values in the calculator to compare.
What if I pay the statement balance in full?Most cards charge no interest on purchases when you pay the full statement balance by the due date, so the interest figure in the calculator would be zero in that case.
Can I use this for multiple QR charges?Yes — add them together and enter the total as the amount charged, since the card charges interest on the whole balance, not per transaction.
Does the calculator include my card’s fees?No. It models the pure payoff arithmetic at a fixed APR. Annual fees, late fees, and transaction fees come from your card’s terms and are not part of the maths here.
The result is an estimate, and your card issuer’s monthly statement and disclosure give the exact payment, interest, and fees.
Related
Formula used
in p | Amount charged to the card | $ | 2000 | 1 | 100000000 in apr | Card APR | % | 20 | 0.01 | 100 in m | Monthly payment | $ | 100 | 5 | 1000000 out n | Months to pay off | months | ceil(round(-ln(1 - (apr / 1200) * p / m) / ln(1 + apr / 1200), 6)) | 0 out int | Total interest | $ | m * n - p | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard loan formula for this calculation, fixed rate and monthly compounding unless stated, rounded as each result states. Not financial advice; no lender, rate or product is recommended. See formulas and assumptions, the disclaimer or report an error.
More in this section
- Repayment Calculator Monthly Payment: How to Calculate$405.53
- Time Card Calculator with Pay Rate
- Credit Card Payoff Calculator: How to Pay Off Debt
- Work Loan Payment Calculator: Monthly Costs Explained$405.53
- MBNA Credit Card Repayment Calculator
- Credit Card Payoff Calculator: Months & Interest52