Start my plan

Brand vs Generic Drug Savings Calculator

Compare brand-name and generic medication costs to estimate your potential savings over retirement. Add your prescriptions and see how switching to generics can boost your pharmacy budget.

Personal Details

Your Medications

Medication 1

Monthly cost of the brand-name version of this medication.

Monthly cost of the generic equivalent.

Number of times per year you fill this prescription. Typically 12 for monthly medications.

Medication 2

Monthly cost of the brand-name version of this medication.

Monthly cost of the generic equivalent.

Number of times per year you fill this prescription. Typically 12 for monthly medications.

Medication 3

Monthly cost of the brand-name version of this medication.

Monthly cost of the generic equivalent.

Number of times per year you fill this prescription. Typically 12 for monthly medications.

Medicare Part D Thresholds

Medicare Part D annual deductible before coverage begins (2026 standard: $545).

Total drug spending at which you enter the coverage gap. In the donut hole, you pay a larger share of costs.

Out-of-pocket spending level at which catastrophic coverage kicks in and your costs drop significantly.

Your results

Switch to generics and save $9,276 per year

Over 20 years, switching 3 medications to generics saves $134,418 in drug costs plus $100,851 in investment growth.

Monthly Savings
$773
95% avg savings
Annual Savings
$9,276
$9,720 to $444
Invested Growth
$100,851
if savings are invested
Total Lifetime Benefit
$235,269
over 20 years

Includes $545/yr deductible and $8,000 catastrophic cap. Drug inflation at 5%/yr.

Switch to generics and save $9,276 per year

See if a bad market changes that

That's $25.41 saved every day

By switching 3 medications to generics, you save $9,276 per year in pharmacy costs alone — before investment growth.

Generics could help you avoid the Medicare Part D coverage gap

Your brand-name drug costs ($9,720/yr) exceed the $5,030 donut hole threshold, but switching to generics ($444/yr) keeps you below it — saving you even more.

Savings by Medication

Annual cost comparison for each prescription

MedicationCategoryBrand (Annual)Generic (Annual)Annual SavingsSavings %
Lipitor → AtorvastatinCholesterol$4,200$180$4,02096%
Prilosec → OmeprazoleAcid Reflux$3,120$144$2,97695%

Showing 2 of 3 rows

Cumulative Savings Over Retirement

How generic drug savings grow over time

Annual Cost Comparison: Brand vs Generic

Side-by-side drug costs over time

Lifetime Savings Breakdown

Where your savings come from

Total

$235,269

/yr

Direct Drug Savings
57%
$134,418/yr
Investment Growth
43%
$100,851/yr

Year-by-Year Breakdown

Detailed cost projections for every year

YearAgeBrand CostGeneric CostAnnual SavingsInvested Value
166$8,000$989$7,011$7,362
671$8,000$1,112$6,888$49,673
1176$8,000$1,268$6,732$102,852
1681$8,000$1,468$6,532$169,677
2085$8,000$1,667$6,333$235,269

Showing 5 of 20 rows

Personalized Insights

Actionable recommendations based on your numbers

  • success:

    Save $25.41 every day by switching to generics

    Across your 3 medications, switching from brand-name to generic saves $9,276 per year — that is $773 per month you can redirect to other retirement needs.

  • info:

    FDA requires generics to be therapeutically equivalent

    Generic drugs must contain the same active ingredient, dosage, strength, and route of administration as the brand-name version. The FDA requires generics to demonstrate bioequivalence, meaning they work the same way in your body.

  • success:

    Avoid the Medicare Part D coverage gap entirely

    Your brand-name drug costs of $9,720/year push you into the donut hole, but switching to generics at $444/year keeps you below the $5,030 threshold — avoiding the coverage gap where you pay a higher percentage of costs.

Showing 3 of 9 insights

See what your numbers mean together.

Turn this result into a retirement plan you can test, adjust, and return to as life changes.

Build my retirement plan
Calculator guide

Brand vs Generic Drug Savings Calculator: Estimate Medication Savings

Use this guide to understand the assumptions, inputs, results, and next steps behind the calculator.

Created by Luis Gonzalez · Last updated August 13, 2026

Overview

Generic medicines can lower out-of-pocket costs when an appropriate generic is available and your prescriber or pharmacist confirms it is suitable. This calculator compares the annual cost of brand-name and generic medications, then estimates how the difference could add up over time. It also models drug-price inflation and investment growth on hypothetical savings.

The result is a planning estimate, not a quote from your pharmacy or a recommendation to change treatment. Your actual cost depends on your insurance plan, deductible, formulary, pharmacy, dosage, coupons, and whether a generic version is available. To estimate broader medication spending in retirement, compare it with the prescription drug cost retirement calculator and the prescription drug inflation calculator.

1

How to enter medication costs

For each medicine, enter its monthly brand and generic costs and the number of refills per year. Use the cost you actually pay—not the list price—if you are comparing your out-of-pocket spending. If costs are per 30-day supply, a medicine taken monthly generally has 12 refills per year; medicines filled less often need a lower refill count.

Add your age and planning horizon, then review the assumptions for annual deductible, coverage thresholds, drug inflation, and investment return. The calculator uses the same deductible and catastrophic cap for the brand and generic totals. It does not model plan-specific coinsurance, copays, changing formularies, or eligibility rules.

Because no medication prices are supplied in the default data, the examples below show transparent sample arithmetic rather than claiming a particular default result.

2

How to read the savings estimate

The medication table compares annual brand and generic costs medicine by medicine. Its savings percentage is the annual difference divided by the annual brand cost. A high percentage can still mean modest dollar savings if the medicine is inexpensive; a smaller percentage on a costly, frequently refilled medicine may matter more to your budget.

The summary cards show monthly savings, annual savings, invested growth, and total lifetime benefit. Monthly and annual savings come directly from the entered medication costs before the calculator applies its retirement-period coverage cap. Lifetime savings use the modeled capped costs and inflation. “Invested growth” is the estimated balance above the cumulative modeled savings if yearly savings are invested at the entered return.

That projection assumes savings are invested consistently and earn a fixed annual return. It does not subtract taxes, fees, missed investment years, or withdrawals. For a separate look at how inflation changes a savings balance, use the savings withdrawal calculator with inflation or a savings milestone calculator.

3

Coverage thresholds and real-world pharmacy costs

The calculator includes an annual deductible of $545, a $5,030 threshold labelled as the donut-hole threshold, and an $8,000 catastrophic threshold by default. These values are inputs to the calculator’s simplified cost model, not a full representation of every Medicare Part D plan. Medicare coverage rules, negotiated prices, covered-drug lists, and out-of-pocket accounting can change; verify current plan rules before relying on a threshold.

The model adds the entered deductible to each annual medication total, then caps each total at the catastrophic threshold. It checks whether the base annual brand or generic cost is above the donut-hole threshold, but the provided computation does not use that check to change the result. Therefore, do not interpret the donut-hole setting as a detailed coverage-phase simulation.

Generic drugs approved by the FDA must meet standards for quality and performance, but a generic may not be available for every medicine. The FDA explains generic drug approval and equivalence. Ask your prescriber or pharmacist before switching, especially if the medicine has a narrow therapeutic range, a special delivery system, or a specific formulation. Your plan’s covered-drug list and pharmacy pricing are also central to your actual cost.

4

Formula: annual, lifetime, and invested savings

The basic comparison is the annual cost of each option. Monthly prices are multiplied by refills per year; savings are the difference. These equations show the model in plain language:

Annual brand cost = brand cost per month × refills per year
Annual generic cost = generic cost per month × refills per year
Annual savings = annual brand cost − annual generic cost
Savings percentage = annual savings ÷ annual brand cost × 100

For a verifiable sample, suppose one medicine costs $80 per month as brand and $20 as generic, with 12 refills per year. Brand cost is $80 × 12 = $960. Generic cost is $20 × 12 = $240. Annual savings are $960 − $240 = $720. Savings percentage is $720 ÷ $960 × 100 = 75%.

The calculator increases each year’s base cost by the entered drug-inflation rate, adds the deductible, and applies the cap. Its investment balance adds that year’s savings before applying the annual return:

Inflated cost in year i = base annual cost × (1 + drug inflation rate)^i
Capped cost = minimum(inflated cost + annual deductible, catastrophic threshold)
Year-end investment balance = (prior balance + annual savings) × (1 + investment return)
Lifetime benefit = lifetime capped savings + modeled investment growth

A 5% inflation assumption means the next year’s modeled medicine cost is multiplied by 1.05; it does not mean your real prescription prices will rise exactly 5%. To see how a broader health-cost budget might affect retirement, compare with the health savings account retirement calculator and preventive care savings calculator.

5

Compare different medication-price scenarios

These examples use one medicine, 12 refills a year, no deductible or cap impact, and a 20-year horizon. They illustrate the annual arithmetic only; future costs and investment growth depend on the calculator’s inflation and return assumptions.

ScenarioBrand per monthGeneric per monthRefillsBrand annual costGeneric annual costAnnual savings
A$80$2012$80 × 12 = $960$20 × 12 = $240$720
B$45$1512$45 × 12 = $540$15 × 12 = $180$360
C$120$506$120 × 6 = $720$50 × 6 = $300$420

The largest saving is not always associated with the highest percentage discount. Scenario A saves $720 a year; Scenario C saves $420 even though its monthly price difference is larger, because it has fewer refills.

6

Questions about switching and planning

Does a generic always cost less?

No. A generic often has a lower cash price, but insurance copays, deductibles, pharmacy discounts, or formulary tiers can reverse the comparison. Check your actual price for the same dosage and supply at the same pharmacy.

Can I switch to a generic without asking my prescriber?

Do not change a prescription on the basis of this estimate alone. Ask your prescriber or pharmacist whether the generic is appropriate and whether your prescription can be substituted under applicable state rules.

Does the calculator reproduce my Medicare Part D bill?

No. It applies a simplified deductible and catastrophic cap to annual totals. It does not calculate every plan’s copays, coinsurance, negotiated prices, coverage phases, or covered-drug rules. Review your plan documents and Medicare’s current information at Medicare.gov.

Should I compare cash prices or insurance prices?

Compare both for the same drug, strength, quantity, and pharmacy. Cash discounts can sometimes beat an insurance copay, but a cash purchase may not count toward your plan deductible or out-of-pocket tracking. Ask the pharmacy how a discounted purchase is processed.

What if I take a medicine only part of the year?

Enter the number of refills you expect in a typical year. For example, six monthly fills means six refills in the calculator’s annual-cost arithmetic. If use varies substantially, run separate scenarios rather than assuming a single fixed refill pattern.

Is invested growth guaranteed?

No. The return is a fixed assumption used for illustration. Actual investment results vary, and money saved on prescriptions may be spent rather than invested. A retirement savings calculator can help evaluate a wider savings plan.

7

Next steps: verify prices before changing treatment

Collect current pharmacy receipts or plan estimates for each medicine, then enter comparable brand and generic prices. Check the plan formulary, refill timing, and any prior authorization requirements. Ask a pharmacist to confirm whether the generic is an appropriate substitute. For a broader view of health spending, compare medication costs with a chronic illness retirement cost calculator or diabetes management cost calculator. Use the retirement savings calculator to put possible recurring savings in context, but treat the drug-cost estimate as a scenario—not a promise of future savings.

KEEP EXPLORING

Explore another question connected to this topic.

Browse all calculators