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
| 10th | 25th | Median | 75th | 90th |
|---|---|---|---|---|
| $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
| From | To | Hospitals |
|---|---|---|
| $9 | $12 | 147 |
| $12 | $17 | 156 |
| $17 | $23 | 179 |
| $23 | $33 | 288 |
| $33 | $45 | 363 |
| $45 | $63 | 494 |
| $63 | $87 | 552 |
| $87 | $120 | 437 |
| $120 | $167 | 240 |
| $167 | $232 | 144 |
By state
The median cash price in each state, against the national median of $58.
| State | Hospitals | Median | vs national | 20th–80th |
|---|---|---|---|---|
| Arizona AZ | 38 | $105 | +81% | $29 – $180 |
| South Carolina SC | 51 | $96 | +65% | $37 – $103 |
| Nebraska NE | 81 | $93 | +60% | $49 – $127 |
| Illinois IL | 141 | $93 | +60% | $45 – $149 |
| Massachusetts MA | 53 | $83 | +43% | $37 – $150 |
| Vermont VT | 14 | $75 | +29% | $34 – $135 |
| Texas TX | 241 | $72 | +24% | $24 – $217 |
| California CA | 143 | $72 | +23% | $6 – $147 |
| New Mexico NM | 29 | $71 | +22% | $46 – $122 |
| Alaska AK | 18 | $71 | +22% | $34 – $136 |
| Wisconsin WI | 107 | $69 | +18% | $45 – $99 |
| Maryland MD | 40 | $68 | +17% | $52 – $81 |
| Kentucky KY | 69 | $68 | +17% | $31 – $136 |
| Colorado CO | 70 | $68 | +16% | $42 – $134 |
| North Carolina NC | 89 | $66 | +13% | $23 – $108 |
| Georgia GA | 108 | $65 | +12% | $32 – $114 |
| Montana MT | 32 | $64 | +11% | $40 – $87 |
| Washington WA | 77 | $64 | +10% | $38 – $101 |
| Hawaii HI | 21 | $63 | +8% | $34 – $106 |
| Virginia VA | 73 | $63 | +8% | $38 – $114 |
| New Hampshire NH | 25 | $62 | +6% | $27 – $132 |
| North Dakota ND | 35 | $61 | +5% | $18 – $79 |
| Utah UT | 42 | $60 | +3% | $51 – $94 |
| Minnesota MN | 105 | $56 | −3% | $20 – $83 |
| Pennsylvania PA | 119 | $56 | −4% | $16 – $132 |
| Missouri MO | 77 | $54 | −7% | $39 – $112 |
| Iowa IA | 85 | $53 | −10% | $38 – $94 |
| Kansas KS | 94 | $53 | −10% | $28 – $88 |
| Oregon OR | 51 | $52 | −11% | $31 – $68 |
| Rhode Island RI | 10 | $52 | −11% | $22 – $91 |
| Nevada NV | 20 | $50 | −13% | $17 – $83 |
| Maine ME | 28 | $50 | −15% | $33 – $100 |
| Oklahoma OK | 74 | $47 | −20% | $29 – $81 |
| South Dakota SD | 40 | $46 | −20% | $41 – $104 |
| Ohio OH | 142 | $46 | −21% | $26 – $80 |
| Connecticut CT | 23 | $46 | −21% | $31 – $62 |
| Idaho ID | 24 | $46 | −21% | $43 – $77 |
| Wyoming WY | 16 | $43 | −25% | $28 – $80 |
| Louisiana LA | 53 | $40 | −31% | $23 – $64 |
| Alabama AL | 39 | $40 | −32% | $12 – $86 |
| Mississippi MS | 57 | $40 | −32% | $23 – $81 |
| Indiana IN | 95 | $39 | −33% | $17 – $80 |
| Michigan MI | 93 | $39 | −34% | $14 – $87 |
| Florida FL | 149 | $35 | −40% | $11 – $159 |
| Tennessee TN | 78 | $35 | −40% | $17 – $75 |
| West Virginia WV | 44 | $33 | −43% | $6 – $97 |
| New York NY | 118 | $28 | −52% | $12 – $85 |
| Arkansas AR | 38 | $13 | −78% | $9 – $54 |
| New Jersey NJ | 56 | $12 | −80% | $11 – $34 |
| Delaware DE | 5 | not 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.
| Segment | Hospitals | Median | 20th–80th |
|---|---|---|---|
| Hospital type | |||
| Acute care | 2,286 | $56 | $21 – $114 |
| Children’s | 65 | $59 | $19 – $94 |
| Critical access | 969 | $61 | $31 – $101 |
| Ownership | |||
| For-profit | 449 | $72 | $30 – $236 |
| Government | 636 | $57 | $25 – $102 |
| Non-profit | 2,235 | $56 | $23 – $101 |
| System affiliation | |||
| Part of a system | 2,682 | $60 | $24 – $111 |
| Independent | 648 | $55 | $25 – $99 |
Cash price vs list price
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.
| 10th | 25th | Median | 75th | 90th |
|---|---|---|---|---|
| $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.
| Usable cash price — counted | 3,330 |
|---|---|
| Cash price carrying a plausibility flag — shown on the compare tool, excluded here | 181 |
| A number the filing itself marks as not a price (a placeholder, a ratio) — excluded | 0 |
| An estimate rather than a filed cash price — excluded | 1 |
| A list price only, no cash figure — excluded | 131 |
| Hospitals that filed this code | 3,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.
Related procedures
Part of the Microscopic examination (bacterial smear, culture, toxicology) family.
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