Hepatitis B test cost in San Francisco, CA — inpatient
In San Francisco-Oakland-Fremont, CA, 10 hospitals list a cash price for hepatitis B surface antigen (HBsAg) test as an inpatient: from $81.20 to $118.80, with a median of $81.20. The lowest listed price is at Kaiser Foundation Hospital - South San Francisco and 8 other hospitals. Across California, the median is $71.76 at 94 hospitals.
Cash prices at 10 facilities across 10 cities for code 87340, as an inpatient (admitted to hospital) . Collected Sep 23, 2026; the hospital files themselves were last updated between Apr 1, 2026 and Apr 1, 2026.
Where each hospital's price falls
Each dot is one hospital's cash price on a scale from the lowest to the highest in San Francisco-Oakland-Fremont, CA.
Hospitals, cheapest first
| Hospital | Cash price | List price | Insurers pay | Off list | File date |
|---|---|---|---|---|---|
| Kaiser Foundation Hospital - South San Francisco lowest South San Francisco, CA · (650) 742-3200 IAAD IA HEPATITIS B SURFACE ANTIGEN | $81.20 | $145.00 | $10.00–$30.00 | 44% | — source file |
| Kaiser Foundation Hospital - San Francisco lowest San Francisco, CA · (415) 833-2646 IAAD IA HEPATITIS B SURFACE ANTIGEN | $81.20 | $145.00 | $10.00–$30.00 | 44% | — source file |
| Kaiser Foundation Hospital - Oakland/Richmond lowest Oakland, CA · (510) 752-1000 IAAD IA HEPATITIS B SURFACE ANTIGEN | $81.20 | $145.00 | $10.00–$30.00 | 44% | — source file |
| Kaiser Foundation Hospital - Walnut Creek lowest Walnut Creek, CA · (925) 295-4000 IAAD IA HEPATITIS B SURFACE ANTIGEN | $81.20 | $145.00 | $10.00–$30.00 | 44% | — source file |
| Kaiser Foundation Hospital - Fremont lowest Fremont, CA · (510) 784-4000 IAAD IA HEPATITIS B SURFACE ANTIGEN | $81.20 | $145.00 | $10.00–$30.00 | 44% | — source file |
| Kaiser Foundation Hospital - Redwood City lowest Redwood City, CA · (650) 299-2000 IAAD IA HEPATITIS B SURFACE ANTIGEN | $81.20 | $145.00 | $10.00–$30.00 | 44% | — source file |
| Kaiser Foundation Hospital - San Rafael lowest San Rafael, CA · (415) 444-2000 IAAD IA HEPATITIS B SURFACE ANTIGEN | $81.20 | $145.00 | $10.00–$30.00 | 44% | — source file |
| Kaiser Foundation Hospital - Antioch lowest Antioch, CA · (925) 813-6500 IAAD IA HEPATITIS B SURFACE ANTIGEN | $81.20 | $145.00 | $10.00–$30.00 | 44% | — source file |
| Kaiser Foundation Hospital - San Leandro lowest San Leandro, CA · (510) 454-1000 IAAD IA HEPATITIS B SURFACE ANTIGEN | $81.20 | $145.00 | $10.00–$30.00 | 44% | — source file |
| Stanford Health Care Tri-Valley Pleasanton, CA · (925) 847-3000 HC Hepat BS Ag-Eia | $118.80 | $297.00 | — | 60% | Apr 1, 2026 source file |
Inpatient: lowest $81.20, median $81.20, highest $118.80 — a 1.5× difference within the same market.
As an outpatient, the same code is billed by 11 facilities here, median $81.20 — that is the price to compare if you are not being admitted.
Cash or insurance?
At 0 of 9 hospitals that publish insurer rates for this code here, the cash price is below the highest rate a health plan has negotiated, and at none is it below every plan's rate. If you have insurance but have not met your deductible, you usually pay your plan's negotiated rate, which falls somewhere in the "Insurers pay" column. Paying cash can cost less, but a cash payment usually does not count toward your deductible. Ask the hospital for both numbers before you book.
What it is
The hepatitis B surface antigen test shows whether the hepatitis B virus is present in the blood now. The CDC recommends screening all adults at least once and every pregnant woman in each pregnancy.
What the price covers
The price usually covers running the test. The blood draw (36415) is often billed as a separate line.
3 rows held back from this comparison
They are priced below $1 or below a tenth of the national median for code 87340 ($57.00). Such a line is almost always a physician's fee billed separately, an assistant's share or a placeholder — a real charge, but not the price of the procedure itself.
| Hayward Sisters Hospital Hayward, CALC -HBsAg Screen | $1.62 | file |
| Hayward Sisters Hospital Hayward, CALC HEP B SURF AG(HBsAg) | $1.62 | file |
| Hayward Sisters Hospital Hayward, CALC HEPATITIS B SURFACE AG IA | $2.64 | file |