Credit Card explained: formula, worked example and common mistakes
One balance on two routes — the minimum as the card defines it against a payment you fix — with the months, the interest and the gap between them. Free, no sign-up.
Updated
What the credit card calculator works out
What one balance costs under two ways of paying it. You type the balance, the rate, and the minimum rule the card uses — a share of the balance with a floor — plus a fixed payment to compare against. The page runs both routes month by month from the same starting balance and shows the months and the interest for each, and the difference between them.
The two routes spend different amounts per month, and the page makes no attempt to hide that. The minimum route starts smaller and shrinks; the fixed route stays level. What connects them is the balance and the rate, and the table underneath puts the two runs next to each other so the trade is visible in months and in interest.
The formula
Interest for a month = balance x rate / 12
Minimum payment = the larger of (share% x balance) and the floor
Fixed route = the same payment every month to zero
The rate is divided by twelve and charged on the balance outstanding. On the minimum route the payment is recalculated every month from the balance, so it falls as the balance falls. On the fixed route the payment never moves, so a growing share of it reaches the balance as the interest shrinks.
A worked example
A balance of 4,000 at 21%, a minimum of 2% with a floor of 25, a fixed payment of 150.
First month's interest: 4,000 x 21% / 12 = 70.00
First minimum: 2% of 4,000 = 80.00, above the 25 floor
Minimum only: 585 months, 20,997 in interest, 24,997 paid in all
Fixed 150 a month: 37 months, 1,435 in interest, 5,435 paid in all
Difference in time: 585 - 37 = 548 months
Difference in interest: 20,997 - 1,435 = 19,561
On the minimum the run lasts 585 months — about 49 years — and costs 20,997 in interest on a 4,000 balance; a fixed 150 a month clears it in 37 months for 1,435. The last minimum payment is 13.51, by which point 2% of the balance has fallen under the floor.
What changes the answer
The rate sets how fast the balance grows while it is outstanding. The fixed payment is the strongest lever on the fixed route: raise it and both the months and the interest fall sharply. The share and the floor together shape the minimum route — a bigger share or floor shortens it, a smaller one stretches it out. A later first payment month adds interest before any payment goes in.
When to use it, and when not to
Use it to see the two routes side by side on the same balance, to price a fixed payment in months and interest, and to see the shape of the minimum route: a payment that falls as the balance falls, and a tail that runs for years.
It stores no card terms. Payment allocation, late fees, annual fees, day-count conventions, interest-free days and rate changes are all outside it. The rate and the minimum rule are typed from the card’s own paperwork, and the page works on exactly what is typed.
Common mistakes people make
1. Reading the minimum as a finish line. It is a floor, not a plan. On this balance the minimum route runs for 585 months and adds 20,997 of interest.
2. Typing the rate as a decimal. 21 is read as 21%. 0.21 reads as a fifth of one per cent, and the interest all but vanishes.
3. Forgetting the floor. Without it, the minimum payment would shrink to nothing as the balance falls. The floor keeps the early payments at 80 here and holds the shape of the route.
4. Comparing the routes on interest alone. The fixed route pays 150 a month against 80 at the start on the minimum route. The comparison is fair on months and interest; the monthly outlay is different by design.
5. Ignoring the last payments. The minimum route ends in a trickle — 13.51 at the end — which is why the tail runs so long.
6. Expecting fees in the answer. There are none here: no late fees, no annual fee, no allocation rules. What the page calls interest is interest, nothing else.
Frequently asked questions
Why does the minimum route take 585 months?
Because the payment falls as the balance falls. At 2% plus a floor of 25, the payment starts at 80 and drifts down to 13.51 by the end, so the tail is very long indeed.
Where does the first minimum of 80.00 come from?
Two per cent of 4,000 is 80, which is above the 25 floor, so 80 it is. The floor only takes over when the percentage drops below it.
Where does 70.00 of first-month interest come from?
4,000 at 21% for one month: 4,000 x 21% / 12 = 70.00. Interest is charged on the balance every month it is outstanding.
What does the fixed route change?
The payment stays level at 150, so every month the balance falls by more than it did the month before. The run ends in 37 months at 1,435 of interest.
What is the floor for?
Cards take at least a set amount each month however small the percentage gets. The floor models that: the payment is the percentage or the floor, whichever is larger.
What is not modeled here?
Late fees, annual fees, payment allocation rules, interest-free days, and any rate that changes over time. The page works on one balance at one rate with the minimum rule you set.
This tool shows math, not advice.
Cite this page
Copy this line into a reference list, a report or a spreadsheet note.
Investment Math Calculator. “Credit Card Calculator”. Updated 2026-10-31. https://investmentmathcalculator.com/guides/credit-card-calculator/
Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.