
Prescription Cost Comparison: How to Compare Drug Prices Across Pharmacies and Discount Cards
A prescription cost comparison is simple in theory: find the same drug, the same strength and the same quantity, then see what each pharmacy and each discount card charges. In practice, prices move by store, by program and by day.
This guide shows a repeatable way to compare drug prices, with real worked examples. We read every number below on November 3, 2026 from RxDiff, SingleCare, GoodRx, WellRx and Cost Plus Drugs. Where a source did not show a price, we write "no data". We never estimate a price.
How do you compare prescription prices step by step?
Use the same checklist every time you compare prescription drug prices. It keeps you from comparing a 30-day fill at one pharmacy with a 90-day fill at another.
- Write down the exact prescription. Drug name, strength, form and quantity, for example sertraline 50 mg tablets, 30 count. Ask your pharmacist or doctor if you are unsure.
- Check RxDiff first. Open the drug page for your medication and read the price list for pharmacies near you. See the sertraline page for an example.
- Check the GoodRx standard price. GoodRx can show a paid Companion price as well. We use only the standard GoodRx price in every table on this page.
- Check SingleCare. We use its standard price, which it labels "Price if you don't sign up", before any one-time signup bonus.
- Check WellRx and BuzzRx. We read WellRx. BuzzRx did not show a usable pharmacy price list for either drug, so we have no BuzzRx data and do not guess.
- Check Cost Plus Drugs and the Walmart list. Cost Plus is a mail-order option with shipping. Walmart publishes a $4 and $10 generic program list. Read our Cost Plus Drugs legitimacy guide and Walmart $4 generic drug list guide.
- Compare with your insurance copay. Ask your plan or pharmacist what you would pay with insurance, then pick the lower out-of-pocket cost that fits your situation.
For a quick explainer of how these programs work, read how prescription discount cards work and our guide to the best prescription discount card of 2026.
For a side-by-side of national chains, see Walmart vs CVS vs Walgreens vs Costco prices.
Worked example 1: sertraline 50 mg, 30 tablets, at eight pharmacies
Sertraline is a common generic antidepressant, so it makes a good test. Here is the price of 30 tablets of generic sertraline 50 mg at eight large pharmacies on November 3, 2026. A "no data" cell means that source did not show a price for that store.
| Store | RxDiff | SingleCare | GoodRx (standard) | WellRx | BuzzRx | Lowest of the four with data |
|---|---|---|---|---|---|---|
| Walmart | $5.40 | $5.40 | $16.44 | $6.00 | no data | $5.40 (RxDiff, SingleCare) |
| CVS | $25.17 | $25.15 | $25.45 | $25.89 | no data | $25.15 (SingleCare) |
| Walgreens | $26.54 | $15.00 | no data | $19.08 | no data | $15.00 (SingleCare) |
| Costco | $16.35 | $20.00 | $21.99 | no data | no data | $16.35 (RxDiff) |
| Safeway | $10.33 | $9.83 | $14.85 | $16.79 | no data | $9.83 (SingleCare) |
| Raley's | $8.73 | $22.05 | $10.73 | $22.85 | no data | $8.73 (RxDiff) |
| Smith's | $17.05 | $11.72 | $15.05 | $17.55 | no data | $11.72 (SingleCare) |
| Sam's | $12.55 | no data | $9.62 | no data | no data | $9.62 (GoodRx) |
Sources: RxDiff (RxGo price estimates with discount card), SingleCare (standard price), GoodRx (standard GoodRx price, not the paid Companion price), WellRx ("as low as" price). BuzzRx showed no usable data. GoodRx listed Walgreens only as a specialty pharmacy for this strength, so we show no data for Walgreens. The last column is our own arithmetic: the smallest of the prices in that row.
What the example shows.
- The cheapest source changed by pharmacy. RxDiff was lowest at Walmart (tied with SingleCare), Costco and Raley's. SingleCare was lowest at CVS, Walgreens, Safeway and Smith's. GoodRx was lowest at Sam's.
- At Walmart, RxDiff and SingleCare listed $5.40, WellRx listed $6.00 and the standard GoodRx price was $16.44.
- Across all 17 pharmacies RxDiff listed, the price ran from $5.40 to $66.13. See the full sertraline list in our sertraline cost without insurance guide.
What about online pharmacies and mail order?
Cost Plus Drugs listed sertraline 50 mg, 30 tablets at $5.69. Its page says that price excludes shipping and tax, and that standard shipping of $5.25 is added at checkout. That is $10.94 before tax. WellRx also listed an online pharmacy, Birdi, at $15.05 for the same fill. Online pharmacies can be a good choice when you take a medicine regularly and do not need it today, and they can also be a way to compare against your local chain. A prescription is required.
Where does the Walmart list fit?
Walmart's official $4 and $10 program list (effective 03/24/2025) names sertraline 25 mg and 100 mg at $9 for a 30-day quantity and $24 for 90 days. It does not name the 50 mg strength, so do not assume the list covers every strength. The 100 mg strength lets us check the list against the other sources.
| Source | Sertraline 100 mg, 30 tablets, Walmart |
|---|---|
| RxDiff | $9.00 |
| SingleCare | $9.00 |
| WellRx | $9.00 |
| Walmart official $4/$10 program list | $9 (30-day quantity) |
Sources: RxDiff, SingleCare and WellRx for 30 tablets of sertraline 100 mg at Walmart, read November 3, 2026; Walmart program list, effective 03/24/2025. The list is dated, so confirm the current price at the counter.
See today's sertraline price at your pharmacy.
Is a 30-day or 90-day supply cheaper?
Many people assume a 90-day fill costs three times as much as a 30-day fill. The data shows that is not a safe assumption. Here is sertraline 50 mg at both quantities on RxDiff, with our own per-tablet arithmetic.
| Store | RxDiff, 30 tablets | RxDiff, 90 tablets | Per tablet, 30 | Per tablet, 90 | Three 30-count fills |
|---|---|---|---|---|---|
| Walmart | $5.40 | $8.04 | $0.180 | $0.089 | $16.20 |
| CVS | $25.17 | $26.91 | $0.839 | $0.299 | $75.51 |
| Walgreens | $26.54 | $68.75 | $0.885 | $0.764 | $79.62 |
| Costco | $16.35 | $24.05 | $0.545 | $0.267 | $49.05 |
| Safeway | $10.33 | $14.48 | $0.344 | $0.161 | $30.99 |
| Raley's | $8.73 | $13.89 | $0.291 | $0.154 | $26.19 |
| Smith's | $17.05 | $19.14 | $0.568 | $0.213 | $51.15 |
| Sam's | $12.55 | $14.64 | $0.418 | $0.163 | $37.65 |
Source: RxDiff sertraline price page, read November 3, 2026. Per-tablet figures are the listed price divided by 30 or 90 and are shown to three decimals. The last column is the 30-count price times three.
At Walmart, 90 tablets was $8.04 versus $5.40 for 30. At CVS, the two quantities were $26.91 and $25.17, a small gap. At Walgreens, 90 tablets was $68.75, which is more than $26.54 for 30 tablets but less than three 30-count fills at $79.62.
A second example: famotidine 20 mg
Famotidine is a generic acid reducer, and it shows the same pattern.
| Store | RxDiff, 30 tablets | RxDiff, 90 tablets | GoodRx standard, 30 | GoodRx standard, 90 |
|---|---|---|---|---|
| Walmart | $6.99 | $8.97 | $14.54 | $24.22 |
| Walgreens | $18.55 | $49.64 | $22.30 | $37.69 |
| CVS | $16.42 | $17.67 | no data | no data |
| Costco | $14.49 | $29.48 | $16.49 | $31.48 |
| Safeway | $11.03 | $16.25 | $16.19 | $25.72 |
| Raley's | $9.45 | $16.05 | $9.19 | $14.29 |
| Smith's | $16.85 | $18.54 | $14.85 | $19.54 |
| Sam's | $12.35 | $14.04 | $10.63 | $22.88 |
Sources: RxDiff (30 and 90 tablets of generic famotidine 20 mg) and GoodRx standard prices, read November 3, 2026. Cost Plus Drugs listed $5.31 for 30 and $5.93 for 90, excluding shipping and tax. SingleCare listed some stores for 30 and 90, but not all of the stores shown here, so we do not repeat its numbers.
At Walgreens, RxDiff listed famotidine 20 mg at $18.55 for 30 tablets and $49.64 for 90, versus $6.99 and $8.97 at Walmart. Our guide to the 90-day prescription supply savings explains when a longer fill can help. Ask for both quotes before you pay, and check that your doctor agrees a longer fill suits you.
How much do brand-name drugs cost compared with generics?
The FDA says a generic medicine has the same active ingredient as the brand-name drug and is bioequivalent. It also says generics tend to cost less than their brand-name counterparts. Here is what that looked like in our data.
| Store | RxDiff, brand Zoloft 100 mg, 30 | RxDiff, generic sertraline 100 mg, 30 |
|---|---|---|
| Walgreens | $127.55 | $23.93 |
| CVS | $172.80 | $25.53 |
| Costco | $502.38 | $16.35 |
| Smith's | $467.10 | $16.35 |
| Sam's | $498.57 | $13.04 |
| Raley's | $454.92 | $8.55 |
| Walmart | $9.00 | $9.00 |
| Safeway | $12.75 | $10.78 |
Source: RxDiff brand Zoloft 100 mg and generic sertraline 100 mg, 30 tablets each, read November 3, 2026. At Walmart and Safeway, RxDiff listed brand Zoloft at prices close to generic pricing. That looks like generic pricing under a brand label, so we do not treat those two as true brand prices.
| Store | RxDiff, brand Pepcid 20 mg, 30 | RxDiff, generic famotidine 20 mg, 30 |
|---|---|---|
| Walgreens | $69.38 | $18.55 |
| CVS | $92.96 | $16.42 |
| Costco | $562.24 | $14.49 |
| Smith's | $558.74 | $16.85 |
| Sam's | $558.09 | $12.35 |
| Raley's | $509.77 | $9.45 |
| Walmart | $552.09 | $6.99 |
| Safeway | $12.42 | $11.03 |
Source: RxDiff brand Pepcid 20 mg and generic famotidine 20 mg, 30 tablets each, read November 3, 2026. Safeway's brand price is close to generic pricing, so we do not treat it as a true brand price.
At Costco, brand Zoloft 100 mg was $502.38 versus $16.35 for generic sertraline 100 mg, and brand Pepcid 20 mg was $562.24 versus $14.49 for generic famotidine 20 mg. Ask your prescriber whether a generic is appropriate for you, and do not switch on your own.
Why do prescription prices differ by pharmacy?
We do not have an official source that explains how each discount program sets its price at each store, so we will not guess at reasons. What we can show is what the data says and what official sources say about plans.
- Different programs show different prices at the same store. At Raley's, the sertraline 50 mg prices for 30 tablets were $8.73 on RxDiff, $10.73 on GoodRx, $22.05 on SingleCare and $22.85 on WellRx.
- Stores differ from each other. Among the eight pharmacies in the first table, RxDiff listed $5.40 to $26.54.
- Insurance plans use pharmacy networks. Medicare.gov says Medicare plans contract with in-network pharmacies, and that out-of-network pharmacies usually offer drugs at a higher cost. It also says preferred pharmacies may save you money on your out-of-pocket drug costs.
- Competition among generics. The FDA says competition among generic makers typically results in lower prices.
The practical takeaway: do not stop at one pharmacy. Our guides to the cheapest pharmacy near me and how to lower prescription costs cover more ways to shop around.
Cash price vs insurance: when does a copay beat a card?
A discount card price and an insurance copay are two different ways to pay. Not valid with Medicare or Medicaid. Cannot be used simultaneously with insurance. You pick one for each fill.
What each official source says
- Copays and coinsurance. Medicare.gov defines a copayment as a fixed amount you pay for a drug at the pharmacy, and coinsurance as a percentage you pay.
- Tiers. Medicare.gov gives an example in which Tier 1 has the lowest copayment and includes most generic drugs, while higher tiers cost more. It says plans can divide their tiers differently.
- Deductibles. HealthCare.gov defines a deductible as the amount you pay for covered services before your insurance plan starts to pay.
- Medicare Part D in 2026. Medicare.gov says no Medicare drug plan may have a deductible above $615 in 2026, and that after the deductible you pay 25% coinsurance for generic and brand-name drugs until out-of-pocket spending reaches $2,100.
- Cards and Medicare. Medicare.gov says discount cards are not considered creditable coverage, and that buying a drug with one instead of your Medicare plan does not count toward your Medicare deductible or out-of-pocket maximum.
How to decide
Here is a simple rule. Get your plan copay or cost from your insurer or pharmacist, then compare it with the card price in the tables above. Pick the lower number, but think about the whole year.
- If a generic's card price is below your copay, a card can cost less for that fill. With sertraline 50 mg, for example, the lowest price we read for 30 tablets was $5.40 across the eight pharmacies. Your plan's copay may be higher or lower.
- If you have a deductible, ask whether paying cash counts toward it. For Medicare and Medicaid, a card cannot be used. For other plans, ask your insurer, because we did not find an official source that answers it for every plan.
- For expensive brand-name drugs, the insurance price may be lower than any cash price. Check both. See discount card vs insurance copay and how a prescription drug formulary works. HealthCare.gov defines a formulary as a list of prescription drugs covered by a plan.
Ask your plan or pharmacist whether a drug is on your formulary before you choose.
If you also have insurance, see prescription options without insurance.
How to find the lowest prescription prices
1. Compare more than one source
The first table showed a different cheapest source at different pharmacies. Use RxDiff, then check RxDiff vs GoodRx, RxDiff vs SingleCare and RxDiff vs WellRx.
2. Price the same quantity
Compare 30 with 30 and 90 with 90.
3. Ask for the generic
If your doctor agrees, generics tend to cost less than brand-name drugs.
4. Check mail order and online pharmacies
Add shipping to the price before you compare.
5. Ask your pharmacist
A pharmacist can confirm strength, quantity and whether a cheaper option is available. Talk with your doctor or physician before you change a medicine.
6. Look at assistance programs
For drugs that are hard to afford, read about patient assistance programs.
Our honest comparison of prescription discount cards and GoodRx vs Cost Plus Drugs comparison cover the card side, and the pharmacy comparison guides cover the pharmacy side.
Frequently asked questions about drug costs
How do I compare prescription prices?
Use the exact drug, strength and quantity, then check several discount cards and pharmacies. Compare the same quantity everywhere, and compare the result with your insurance copay. Not valid with Medicare or Medicaid. Cannot be used simultaneously with insurance.
Which discount card has the lowest price?
It depends on the drug and the pharmacy. For sertraline 50 mg, 30 tablets, on November 3, 2026, RxDiff was lowest at Walmart (tied), Costco and Raley's, SingleCare was lowest at CVS, Walgreens, Safeway and Smith's, and GoodRx was lowest at Sam's.
Is a 90-day supply cheaper than a 30-day supply?
Not always per fill, but per tablet it was lower at 90 in every row of our sertraline table. At Walmart, RxDiff listed sertraline 50 mg at $5.40 for 30 and $8.04 for 90. At Walgreens it listed $26.54 and $68.75. Ask for both quotes.
Why is the same prescription a different price at each pharmacy?
We did not find an official source that explains each discount program's pricing, so we do not guess. The data shows prices differ by pharmacy and by program. Medicare.gov says plans have in-network pharmacies and that out-of-network pharmacies usually offer drugs at a higher cost.
Is a brand-name drug more expensive than a generic?
The FDA says generics tend to cost less than their brand-name counterparts. In our November 3, 2026 data, brand Zoloft 100 mg at Costco was far above generic sertraline 100 mg at the same store.
When is insurance cheaper than a discount card?
When your plan copay for that drug is lower than the card price. Get your copay from your insurer or pharmacist and compare the two for each fill. Not valid with Medicare or Medicaid. Cannot be used simultaneously with insurance.
Can I use a discount card with Medicare?
No. RxDiff states: Not valid with Medicare or Medicaid. Cannot be used simultaneously with insurance. Medicare.gov says discount cards are not considered creditable coverage.
Is Cost Plus Drugs cheaper than a pharmacy?
For sertraline 50 mg, 30 tablets, Cost Plus listed $5.69 excluding shipping and tax, plus $5.25 standard shipping at checkout. RxDiff listed $5.40 at Walmart for the same fill, so compare after shipping.
The bottom line
A good prescription cost comparison takes a few minutes. Match the drug, strength and quantity, check RxDiff first, then GoodRx, SingleCare, WellRx and Cost Plus, and compare the lowest card price with your insurance copay. In our November 3, 2026 examples, the cheapest source changed by pharmacy, 90-day prices did not follow a fixed pattern, and brand-name prices were far above generic ones. Not valid with Medicare or Medicaid. Cannot be used simultaneously with insurance. Compare your prescription prices on RxDiff.
Compare live drug prices near you. Prices change by pharmacy and by day, so check the current numbers before you fill.
Why trust our experts?
This guide is written by the RxDiff Savings Team and is reviewed by Thomas Tang, PharmD and follows our content review standards. Every price in it names its source and the month we checked it, and medical facts come from the FDA label and MedlinePlus rather than from competitors or manufacturers. Prices change often, so treat any number here as a snapshot, not a quote.
References
We cite government and medical sources first and price sources for the numbers only. Competitor pages are cited for their prices, never as medical authority.
- RxDiff. Sertraline price comparison. Read November 3, 2026. rxdiff.com/drug/sertraline
- RxDiff. Famotidine price comparison. Read November 3, 2026. rxdiff.com/drug/famotidine
- SingleCare. Prescription prices. Standard price, read November 3, 2026. singlecare.com
- GoodRx. Sertraline and famotidine prices. Standard price, read November 3, 2026. goodrx.com
- WellRx. Prescription prices. Read November 3, 2026. wellrx.com
- Cost Plus Drugs. Sertraline and famotidine. Read November 3, 2026. costplusdrugs.com
- Walmart. $4 prescription program and list, effective 03/24/2025. walmart.com
- U.S. Food and Drug Administration. Generic Drug Facts. fda.gov
- Medicare.gov. Part D costs. medicare.gov
- Medicare.gov. How drug plans work. medicare.gov
- Medicare.gov. What pharmacies can I use? medicare.gov
- Medicare.gov. Help with drug costs. medicare.gov
- HealthCare.gov. Glossary: deductible. healthcare.gov
- HealthCare.gov. Glossary: formulary. healthcare.gov
Medical disclaimer (November 3, 2026). This page is for general information and is not medical advice. Do not start, stop or change a medicine because of anything you read here. Talk with your doctor or pharmacist. Not valid with Medicare or Medicaid. Cannot be used simultaneously with insurance. RxDiff is not affiliated with the manufacturers or pharmacies named, and the third-party prices quoted above are from the sources named and may have changed.