ℹ️ Disclosure: RxGrab is reader-supported and editorially independent. We may earn a commission when you use some links, at no extra cost to you. We do not name credentialed reviewers we do not employ; our figures are cross-cited to FDA, FTC, CMS, and pharmacy primary sources. Full policy.
Drug Pricing · Guide

Generic Drug Pricing Guide (2026): Why the Same Pill Costs $4 or $40

Generic pills spilling from a bottle next to a pharmacy receipt showing different prices
Hero backfill pending. The same generic can carry a tenfold price spread across pharmacies in one ZIP code.
Updated May 2026·12 min read
Last reviewed May 29, 2026Next review due Aug 2026

By Vincent Couey, RxGrab founder. Source-cited from FDA, FTC, and CMS primary documents. Updated .

Bottom line up front
Table of contents
  1. How is a generic drug price actually set?
  2. Why does the same generic vary 10x between pharmacies?
  3. What is PBM spread pricing and why does it inflate prices?
  4. What is acquisition cost and why does it matter?
  5. How much cheaper are generics than brand-name drugs?
  6. How do you pay the floor price on any generic?
  7. Frequently asked questions

If you have ever filled the same generic prescription at two pharmacies and seen the price swing from a few dollars to thirty or forty, you were not imagining it. A generic drug does not have one price the way a gallon of milk roughly does. It has dozens of prices running side by side, set by different parties who never coordinate, and the gap between the cheapest and most expensive version of the identical pill in a single ZIP code is routinely tenfold. This guide explains exactly who sets those prices, why they diverge so far, and how to land on the floor every time.

Before drafting, it helps to have a price-comparison habit. If you just want the cheapest number for a specific drug right now, start with our cheapest pharmacy comparison or run the drug through the RxGrab pharmacy finder in about a minute. This guide is the why behind those numbers.

90%
of U.S. prescriptions filled are generics
10x
typical price spread on one generic in a ZIP
$1.4B
PBM spread-pricing income, generics studied (FTC)
$4
floor cash price on many older generics

How is a generic drug price actually set?

A generic drug price is the sum of four independent decisions, not a single number handed down from a manufacturer. The manufacturer sells the drug into the supply chain at a wholesale list price, the wholesaler sells it to the pharmacy at the pharmacy's acquisition cost, the pharmacy sets its own retail cash price on top of that, and your PBM separately negotiates what your insurance plan reimburses. Each of those four parties is optimizing for itself, which is why the final number you pay can look almost random.

The U.S. Food and Drug Administration (FDA) requires every approved generic to match the brand on active ingredient, strength, dosage form, route, and bioequivalence, so the pill is therapeutically the same regardless of price.[1] Generics now account for roughly nine in ten dispensed prescriptions in the United States while representing a small fraction of total drug spending, which is exactly why the pricing mechanics below matter to almost everyone. The savings rule does not extend to OTC products, which sit outside the discount-card and PBM system entirely.

Q

Is a cheaper generic lower quality than an expensive one?

No. Two generics of the same drug at different prices are held to the identical FDA bioequivalence standard, so the active ingredient and its effect are the same. The price gap reflects supply-chain economics and pharmacy markup, not pill quality.

Why does the same generic vary 10x between pharmacies?

The same generic varies tenfold between pharmacies because each pharmacy sets its own cash price and each insurance plan applies a different negotiated rate, and none of them publish a reference price. Take metformin, the most-prescribed diabetes drug: it is free for a 30-day or 90-day supply at Publix, $4 at Walmart, around $5.75 with a GoodRx couponverified 2026-05, and often $26 or more at a chain pharmacy with no coupon against an average retail price near $26.74.[2] Same molecule, same strength, four different prices within driving distance.

Pharmacy / channelMetformin 500mg, 30-dayWhy this price
Publix Pharmacy$0Loss-leader free-generics program to drive store traffic
Walmart $4 list$4Flat low-margin list on high-volume generics
GoodRx coupon (chain)~$5.75PBM-negotiated coupon rate beats the chain cash price
Cost Plus Drugs~$5-7 all-inAcquisition cost + 15% + $5 dispensing fee, mail order
Chain cash, no coupon$26.74 avgDefault retail markup with no discount applied

Prices reflect a May 2026 audit and vary by location and supply; always check your own ZIP. The point is the structure, not the exact cents.

The lesson is blunt: the pharmacy you walk into matters more than the card you carry. The same coupon can produce a four to ten dollar swing between a CVS, a Walgreens, a Walmart, and a Costco in the same neighborhood. We mapped those gaps in our Costco vs Walmart pharmacy comparison, where warehouse pricing routinely undercuts chains even for non-members in many states.

What is PBM spread pricing and why does it inflate prices?

A pharmacy benefit manager is the middleman between your insurer, the pharmacy, and the drug maker, and spread pricing is one of the ways it makes money on generics. In spread pricing, the PBM bills your health plan more for a drug than it pays the dispensing pharmacy, and pockets the difference, which inflates the price your plan and ultimately you see.

This is not a fringe concern. A January 2025 Federal Trade Commission (FTC) staff report found the three largest PBMs, CVS Caremark, Express Scripts, and OptumRx, marked up numerous specialty generic drugs by hundreds to thousands of percent, including a 7,736% markup on generic tadalafilverified 2025-01 for commercial payers, and generated an estimated $1.4 billion from spread pricingverified 2025-01 on the generics studied.[3] Over 2017 to 2022 those markups produced more than $7.3 billion in revenue above estimated acquisition cost.

The practical takeaway: when your insurance copay on a cheap generic looks high, spread pricing may be why. That is exactly when a cash discount card can beat insurance, because the cash price routes around the PBM markup entirely.

The same FTC analysis found PBMs reimbursed their own affiliated pharmacies at higher rates than unaffiliated independents and appeared to steer profitable prescriptions to pharmacies they own. If your independent pharmacist tells you they lose money filling a generic at the PBM rate, the federal data backs them up. When you suspect your plan is overcharging on a generic, our insurance vs cash price guide walks through how to ask the pharmacist for both numbers.

What is acquisition cost and why does it matter?

Acquisition cost is the actual price a pharmacy pays its wholesaler to stock a drug, and it is the true floor beneath every other number. Once you understand acquisition cost, the entire pricing puzzle resolves: a transparent pharmacy like Cost Plus Drugs publishes its formula as acquisition cost plus a flat 15% markup plus a $5 dispensing fee, so its prices sit close to the real floor. A traditional chain layers an opaque markup and a PBM negotiation on top of the same acquisition cost, which is how the price balloons.

The Centers for Medicare and Medicaid Services (CMS) tracks a benchmark called the National Average Drug Acquisition Cost (NADAC), a survey-based estimate of what pharmacies actually pay.[4] When a cash price or coupon lands near the NADAC benchmark, you are paying close to the floor; when it sits far above, someone in the chain is taking a wide margin.

Q

Why are transparent-pricing pharmacies often cheaper than insurance?

Because they price off acquisition cost with a fixed markup and bypass the PBM negotiation entirely. For many older generics, acquisition cost plus a flat fee beats an insurance copay that still carries a hidden PBM spread.

How much cheaper are generics than brand-name drugs?

Generics are dramatically cheaper than their brand-name originals, typically 80 to 85% less once competition matures. A brand drug carries the cost of the original research, trials, and marketing plus patent-protected pricing power, while a generic only has to recover manufacturing and a thin margin in a competitive field. That is why a brand at several hundred dollars a month can have a generic equivalent under ten dollars.

The savings are not automatic on day one, though. When a single generic first launches, one manufacturer may hold a six-month exclusivity window and price only modestly below brand. Prices collapse once multiple manufacturers enter. We break the brand-to-generic decision down fully in our generic vs brand-name drugs guide, including the narrow cases where a sensitive patient genuinely needs the brand.

A generic drug does not have a price. It has a crowd of prices, set by parties who never talk to each other, and your job is simply to find which one is standing on the floor. RxGrab editorial summary, May 2026

Some readers reach for supplements as a lower-cost alternative to a prescription. That is occasionally reasonable and occasionally dangerous, depending on the condition and the interactions involved. Our colleagues at Health Britannica's berberine guide weighs the evidence on one of the supplements most often compared to a prescription generic.

How do you pay the floor price on any generic?

Paying the floor on a generic is a repeatable four-step routine, not luck. The order matters because the cash channels are invisible if you only ask about your copay.

The floor-price routine
Step 1
Write down the exact generic name, strength in milligrams, and day-supply; each changes the price.
Step 2
Check the cash floor first: Walmart $4 list, Costco cash price, and Cost Plus Drugs mail order.
Step 3
Run the drug through two or three discount cards (GoodRx, SingleCare, Optum Perks) at your specific ZIP.
Step 4
Ask the pharmacist for your insurance copay, then pay the lower of copay or cash, never both.

Two structural facts make this routine work. First, a discount card cannot be combined with insurance on the same fill, so it is always one or the other and you simply pick the cheaper. Second, for maintenance medications a 90-day supply usually drops the per-pill cost further, which is why mail order and warehouse 90-day fills win on chronic drugs. We compare those channels in our best prescription discount cards roundup.

One more lever applies if you itemize or are self-employed: the prescription dollars you do spend may be deductible as a medical expense once you clear the AGI threshold, and an HSA lets you pay for them with pre-tax dollars. Our network partner CeoCult covers the mechanics of the medical expense deduction, including which prescription costs qualify and how to document them.

💊
Find the floor price on your exact drug
Enter your medication and ZIP to compare cash, coupon, and pharmacy prices side by side in about a minute.
Compare prices now →

Frequently asked questions

Why does the same generic drug cost different amounts at different pharmacies?

Because there is no single national price for a generic. Each pharmacy buys at its own acquisition cost and sets its own cash price, and each PBM negotiates a separate reimbursement rate. The same metformin can be free at Publix, $4 at Walmart, and over $26 at a chain without a coupon.

Are generic drugs as effective as brand-name drugs?

Yes. The FDA requires a generic to match the brand on active ingredient, strength, dosage form, and route, and to prove bioequivalence. Inactive ingredients can differ, which occasionally matters for sensitive patients, but the therapeutic standard is the same.

What is PBM spread pricing and how does it raise generic prices?

Spread pricing is when a PBM bills your plan more than it reimburses the pharmacy and keeps the difference. The FTC found the three largest PBMs generated an estimated $1.4 billion from spread pricing on the specialty generics studied and marked some up by thousands of percent.

How can I pay the lowest possible price for a generic drug?

Compare the cash price at Walmart, Costco, and Cost Plus Drugs against two or three discount cards and your insurance copay, then pay whichever is lowest. A discount card cannot be combined with insurance, so it is one or the other per fill.

  1. U.S. Food & Drug Administration. Generic Drug Facts. fda.gov/drugs/generic-drugs/generic-drug-facts verified 2026-05. return
  2. GoodRx. Metformin Prices & Coupons; RxGrab May 2026 retail cash audit across Walmart, Publix, and chains. goodrx.com/metformin verified 2026-05. return
  3. U.S. Federal Trade Commission. Second Interim Staff Report on Prescription Drug Middlemen, January 2025. ftc.gov verified 2025-01. return
  4. Centers for Medicare & Medicaid Services. National Average Drug Acquisition Cost (NADAC). medicaid.gov verified 2026-05. return

Keep reading