Procedure price report · Microscopic examination (bacterial smear, culture, toxicology)

Hepatitis B surface antigen blood test

CPT code CPT 87340the billing code this page is about

Blood test that detects hepatitis B surface antigen, a marker of hepatitis B virus infection, using an enzyme immunoassay.

Hospitals typically charge $58 cash for this outpatient procedure — the median across 3,330 hospitals that filed a usable cash price; the average of the middle 60% is $60. Most fall between $24 and $110 (20th–80th percentile).

Hospitals
3,330
States
50
Filings dated
Aug 2022 – Sep 2026
Computed
September 25, 2026
Prices checked
through September 25, 2026

Median: half of hospitals filed less, half more — and it is a price some hospital actually filed. Average of the middle 60%: the mean of the prices between the 20th and 80th percentiles. We never publish the plain average, the lowest or the highest price: the extremes in hospital price files are chargemaster artefacts, not prices anyone pays.

What hospitals charge, from cheapest to most expensive

Cash price percentiles, outpatient, across 3,330 hospitals. Each figure is a price a hospital filed. 10th: one in ten hospitals charges less; 25th: a quarter charge less; Median: half charge less; 75th: three quarters charge less; 90th: nine in ten charge less.
10th25thMedian75th90th
$13$29$58$96$160

The most expensive tenth of hospitals charges at least 13× what the cheapest tenth charges ($13 vs $160).

How the prices are spread

$9 – $12: 147 hospitals$9$12 – $17: 156 hospitals$17 – $23: 179 hospitals$17$23 – $33: 288 hospitals$33 – $45: 363 hospitals$33$45 – $63: 494 hospitals$63 – $87: 552 hospitals$63$87 – $120: 437 hospitals$120 – $167: 240 hospitals$120$167 – $232: 144 hospitals$167median $58price bands are equal on a log scale
Hospitals per price band (3,000 of 3,330 — the bands cover the 5th to 95th percentile)
FromToHospitals
$9$12147
$12$17156
$17$23179
$23$33288
$33$45363
$45$63494
$63$87552
$87$120437
$120$167240
$167$232144

By state

The median cash price in each state, against the national median of $58.

Alaska: median $71 across 18 hospitalsAK$71Maine: median $50 across 28 hospitalsME$50Vermont: median $75 across 14 hospitalsVT$75New Hampshire: median $62 across 25 hospitalsNH$62Washington: median $64 across 77 hospitalsWA$64Idaho: median $46 across 24 hospitalsID$46Montana: median $64 across 32 hospitalsMT$64North Dakota: median $61 across 35 hospitalsND$61Minnesota: median $56 across 105 hospitalsMN$56Illinois: median $93 across 141 hospitalsIL$93Wisconsin: median $69 across 107 hospitalsWI$69Michigan: median $39 across 93 hospitalsMI$39New York: median $28 across 118 hospitalsNY$28Massachusetts: median $83 across 53 hospitalsMA$83Oregon: median $52 across 51 hospitalsOR$52Nevada: median $50 across 20 hospitalsNV$50Wyoming: median $43 across 16 hospitalsWY$43South Dakota: median $46 across 40 hospitalsSD$46Iowa: median $53 across 85 hospitalsIA$53Indiana: median $39 across 95 hospitalsIN$39Ohio: median $46 across 142 hospitalsOH$46Pennsylvania: median $56 across 119 hospitalsPA$56New Jersey: median $12 across 56 hospitalsNJ$12Connecticut: median $46 across 23 hospitalsCT$46Rhode Island: median $52 across 10 hospitalsRI$52California: median $72 across 143 hospitalsCA$72Utah: median $60 across 42 hospitalsUT$60Colorado: median $68 across 70 hospitalsCO$68Nebraska: median $93 across 81 hospitalsNE$93Missouri: median $54 across 77 hospitalsMO$54Kentucky: median $68 across 69 hospitalsKY$68West Virginia: median $33 across 44 hospitalsWV$33Virginia: median $63 across 73 hospitalsVA$63Maryland: median $68 across 40 hospitalsMD$68Delaware: 5 hospitals filed a usable price — fewer than 10, so no figureDEArizona: median $105 across 38 hospitalsAZ$105New Mexico: median $71 across 29 hospitalsNM$71Kansas: median $53 across 94 hospitalsKS$53Arkansas: median $13 across 38 hospitalsAR$13Tennessee: median $35 across 78 hospitalsTN$35North Carolina: median $66 across 89 hospitalsNC$66South Carolina: median $96 across 51 hospitalsSC$96Oklahoma: median $47 across 74 hospitalsOK$47Louisiana: median $40 across 53 hospitalsLA$40Mississippi: median $40 across 57 hospitalsMS$40Alabama: median $40 across 39 hospitalsAL$40Georgia: median $65 across 108 hospitalsGA$65Hawaii: median $63 across 21 hospitalsHI$63Texas: median $72 across 241 hospitalsTX$72Florida: median $35 across 149 hospitalsFL$35
Cash price by state, most expensive first. National median $58. A state needs at least 10 hospitals with a usable price to show a figure.
StateHospitalsMedianvs national20th–80th
Arizona AZ38$105+81%$29 – $180
South Carolina SC51$96+65%$37 – $103
Nebraska NE81$93+60%$49 – $127
Illinois IL141$93+60%$45 – $149
Massachusetts MA53$83+43%$37 – $150
Vermont VT14$75+29%$34 – $135
Texas TX241$72+24%$24 – $217
California CA143$72+23%$6 – $147
New Mexico NM29$71+22%$46 – $122
Alaska AK18$71+22%$34 – $136
Wisconsin WI107$69+18%$45 – $99
Maryland MD40$68+17%$52 – $81
Kentucky KY69$68+17%$31 – $136
Colorado CO70$68+16%$42 – $134
North Carolina NC89$66+13%$23 – $108
Georgia GA108$65+12%$32 – $114
Montana MT32$64+11%$40 – $87
Washington WA77$64+10%$38 – $101
Hawaii HI21$63+8%$34 – $106
Virginia VA73$63+8%$38 – $114
New Hampshire NH25$62+6%$27 – $132
North Dakota ND35$61+5%$18 – $79
Utah UT42$60+3%$51 – $94
Minnesota MN105$56−3%$20 – $83
Pennsylvania PA119$56−4%$16 – $132
Missouri MO77$54−7%$39 – $112
Iowa IA85$53−10%$38 – $94
Kansas KS94$53−10%$28 – $88
Oregon OR51$52−11%$31 – $68
Rhode Island RI10$52−11%$22 – $91
Nevada NV20$50−13%$17 – $83
Maine ME28$50−15%$33 – $100
Oklahoma OK74$47−20%$29 – $81
South Dakota SD40$46−20%$41 – $104
Ohio OH142$46−21%$26 – $80
Connecticut CT23$46−21%$31 – $62
Idaho ID24$46−21%$43 – $77
Wyoming WY16$43−25%$28 – $80
Louisiana LA53$40−31%$23 – $64
Alabama AL39$40−32%$12 – $86
Mississippi MS57$40−32%$23 – $81
Indiana IN95$39−33%$17 – $80
Michigan MI93$39−34%$14 – $87
Florida FL149$35−40%$11 – $159
Tennessee TN78$35−40%$17 – $75
West Virginia WV44$33−43%$6 – $97
New York NY118$28−52%$12 – $85
Arkansas AR38$13−78%$9 – $54
New Jersey NJ56$12−80%$11 – $34
Delaware DE5not enough hospitals filed a usable price

Hospitals like yours

The same distribution cut by the kind of hospital. Hospital type and ownership come from CMS; a hospital counts as part of a system when its price file is shared with at least one other hospital under the same brand. The national median is $58.

Cash price by hospital segment. A segment needs at least 20 hospitals to show a figure.
SegmentHospitalsMedian20th–80th
Hospital type
Acute care2,286$56$21 – $114
Children’s65$59$19 – $94
Critical access969$61$31 – $101
Ownership
For-profit449$72$30 – $236
Government636$57$25 – $102
Non-profit2,235$56$23 – $101
System affiliation
Part of a system2,682$60$24 – $111
Independent648$55$25 – $99

Cash price vs list price

Median list price (chargemaster)$96
Median cash price$58
Cash as a share of list, median hospital65%

At the typical hospital, asking for the cash price cuts the list price by about 35%. The share is the median of each hospital’s own cash ÷ list ratio, over hospitals that filed both — not the ratio of the two medians above.

The same procedure, inpatient

2,245 hospitals filed a usable inpatient cash price for this code. The median is $59 and the average of the middle 60% is $61; most fall between $26 and $108.

Cash price percentiles, inpatient, across 2,245 hospitals. Each figure is a price a hospital filed. 10th: one in ten hospitals charges less; 25th: a quarter charge less; Median: half charge less; 75th: three quarters charge less; 90th: nine in ten charge less.
10th25thMedian75th90th
$15$31$59$95$157

The most expensive tenth of hospitals charges at least 10× what the cheapest tenth charges ($15 vs $157).

Of the 2,489 hospitals that filed this code inpatient, 2,245 gave a usable cash price; 132 carried a plausibility flag, 0 filed a number their own filing marks as not a price, 0 gave an estimate, and 112 a list price only.

How complete is this

3,330 of the 3,956 hospitals with a price file in our corpus (84%) filed a usable outpatient cash price for this code, and those are the hospitals every figure on this page is computed from.

What the 3,643 hospitals that filed this code at all gave us
Usable cash price — counted3,330
Cash price carrying a plausibility flag — shown on the compare tool, excluded here181
A number the filing itself marks as not a price (a placeholder, a ratio) — excluded0
An estimate rather than a filed cash price — excluded1
A list price only, no cash figure — excluded131
Hospitals that filed this code3,643

Sections not shown for this setting

  • Against Medicare: Medicare has no separately payable national outpatient (OPPS) rate for this code, so there is nothing honest to compare against.
  • Since our last snapshot: there is no earlier snapshot at least 90 days older than this one yet.

We last checked these hospitals’ price files for changes between July 20, 2026 and September 25, 2026; the figures were computed September 25, 2026 from filings loaded through September 25, 2026. The percentiles and averages use only the “counted” row.

Hospitals file this code under descriptions such as PR Occ Hlth Lab - Hep B Surf Ag W/Conf.

Method

Source
The machine-readable price files every U.S. hospital is required by CMS to publish, parsed per hospital. Nothing is surveyed, sampled or modelled.
What counts
One cash (self-pay) price per hospital for this code and setting. A hospital’s own filing can rule its number out — a placeholder, a “not applicable” note, a list price standing in for cash — and our plausibility checks can flag a price far below what every other hospital files. Both kinds are disclosed above and excluded from the statistics; on the compare tool a flagged price is still shown.
Statistics
Percentiles are discrete: each is a price some hospital filed. The average is the mean of the prices between the 20th and 80th percentiles. We never publish the plain mean, the minimum or the maximum. A state needs 10 hospitals and a segment 20 to show a figure; otherwise the row shows its count and no number. Medicare is the national unadjusted OPPS rate where one exists.
Names
Procedure names on these pages are our own plain-language titles, not the AMA’s copyrighted CPT descriptors. The code is the identity.

The full rules — sources, statistics, thresholds, limitations — are on the methodology page.

Download this page’s figures: JSON · CSV. Aggregates only — the per-hospital prices are on the compare tool.

Cite: HospitalRates.com, “Hepatitis B surface antigen blood test (CPT 87340) — cash price report,” computed September 25, 2026. https://hospitalrates.com/procedures/cpt-87340-hepatitis-b-surface-antigen-blood-test