Procedure price report · Microscopic examination (bacterial smear, culture, toxicology)
Pinworm test using a tape sample
CPT code CPT 87172the billing code this page is about
Examination of a sample collected from the skin around the anus, usually with a cellophane tape preparation, to look for pinworms or their eggs.
Hospitals typically charge $36 cash for this outpatient procedure — the median across 2,408 hospitals that filed a usable cash price; the average of the middle 60% is $37. Most fall between $14 and $67 (20th–80th percentile).
- Hospitals
- 2,408
- States
- 50
- Filings dated
- Jan 2024 – 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 |
|---|---|---|---|---|
| $8 | $18 | $36 | $58 | $104 |
The most expensive tenth of hospitals charges at least 12× what the cheapest tenth charges ($8 vs $104).
How the prices are spread
| From | To | Hospitals |
|---|---|---|
| $5 | $7 | 85 |
| $7 | $10 | 128 |
| $10 | $15 | 180 |
| $15 | $21 | 253 |
| $21 | $30 | 274 |
| $30 | $43 | 413 |
| $43 | $63 | 434 |
| $63 | $90 | 238 |
| $90 | $129 | 116 |
| $129 | $186 | 64 |
By state
The median cash price in each state, against the national median of $36.
| State | Hospitals | Median | vs national | 20th–80th |
|---|---|---|---|---|
| Utah UT | 37 | $225 | +525% | $72 – $265 |
| Alaska AK | 13 | $82 | +129% | $39 – $106 |
| Arizona AZ | 29 | $60 | +66% | $30 – $165 |
| California CA | 122 | $57 | +59% | $25 – $71 |
| Illinois IL | 114 | $54 | +50% | $23 – $90 |
| South Dakota SD | 15 | $52 | +44% | $34 – $81 |
| Texas TX | 154 | $51 | +41% | $20 – $127 |
| Colorado CO | 55 | $46 | +26% | $32 – $91 |
| Wisconsin WI | 91 | $42 | +16% | $23 – $53 |
| Vermont VT | 12 | $41 | +14% | $28 – $76 |
| Florida FL | 88 | $41 | +14% | $8 – $174 |
| Nebraska NE | 43 | $41 | +14% | $16 – $65 |
| Missouri MO | 55 | $40 | +12% | $19 – $70 |
| Oregon OR | 38 | $40 | +10% | $26 – $67 |
| Montana MT | 22 | $39 | +8% | $23 – $57 |
| Kentucky KY | 43 | $38 | +7% | $13 – $63 |
| Iowa IA | 67 | $38 | +5% | $25 – $46 |
| Ohio OH | 129 | $38 | +5% | $19 – $70 |
| New Hampshire NH | 20 | $37 | +4% | $12 – $53 |
| Minnesota MN | 75 | $37 | +3% | $24 – $53 |
| Michigan MI | 84 | $36 | 0% | $19 – $46 |
| Maine ME | 25 | $35 | −2% | $20 – $61 |
| Massachusetts MA | 47 | $35 | −3% | $13 – $76 |
| Washington WA | 62 | $35 | −4% | $18 – $64 |
| South Carolina SC | 40 | $34 | −4% | $19 – $55 |
| Rhode Island RI | 10 | $34 | −6% | $10 – $58 |
| Indiana IN | 78 | $34 | −7% | $11 – $61 |
| North Carolina NC | 70 | $33 | −7% | $12 – $65 |
| North Dakota ND | 24 | $32 | −11% | $28 – $90 |
| Kansas KS | 56 | $32 | −12% | $20 – $59 |
| Hawaii HI | 14 | $28 | −22% | $21 – $48 |
| West Virginia WV | 23 | $26 | −28% | $14 – $53 |
| Wyoming WY | 12 | $26 | −28% | $9 – $76 |
| Alabama AL | 27 | $25 | −30% | $9 – $50 |
| Georgia GA | 65 | $25 | −30% | $12 – $43 |
| Arkansas AR | 19 | $25 | −31% | $11 – $40 |
| Idaho ID | 15 | $24 | −33% | $19 – $85 |
| Pennsylvania PA | 106 | $24 | −33% | $6 – $59 |
| Oklahoma OK | 49 | $23 | −36% | $13 – $37 |
| Mississippi MS | 29 | $21 | −43% | $10 – $38 |
| Virginia VA | 48 | $21 | −43% | $10 – $53 |
| Nevada NV | 11 | $18 | −49% | $13 – $57 |
| Connecticut CT | 15 | $18 | −50% | $12 – $26 |
| Maryland MD | 27 | $16 | −54% | $12 – $20 |
| New York NY | 84 | $16 | −57% | $5 – $55 |
| Louisiana LA | 34 | $15 | −58% | $9 – $42 |
| Tennessee TN | 47 | $13 | −65% | $7 – $32 |
| New Jersey NJ | 51 | $5 | −86% | $5 – $12 |
| New Mexico NM | 9 | not enough hospitals filed a usable price | ||
| 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 $36.
| Segment | Hospitals | Median | 20th–80th |
|---|---|---|---|
| Hospital type | |||
| Acute care | 1,754 | $34 | $13 – $68 |
| Children’s | 47 | $48 | $25 – $113 |
| Critical access | 600 | $38 | $19 – $63 |
| Ownership | |||
| For-profit | 288 | $46 | $13 – $187 |
| Government | 373 | $34 | $15 – $63 |
| Non-profit | 1,740 | $35 | $14 – $61 |
| System affiliation | |||
| Part of a system | 1,987 | $36 | $14 – $66 |
| Independent | 421 | $35 | $17 – $73 |
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
1,661 hospitals filed a usable inpatient cash price for this code. The median is $38 and the average of the middle 60% is $39; most fall between $17 and $67.
| 10th | 25th | Median | 75th | 90th |
|---|---|---|---|---|
| $11 | $19 | $38 | $59 | $98 |
The most expensive tenth of hospitals charges at least 9.4× what the cheapest tenth charges ($11 vs $98).
Of the 1,851 hospitals that filed this code inpatient, 1,661 gave a usable cash price; 102 carried a plausibility flag, 0 filed a number their own filing marks as not a price, 0 gave an estimate, and 88 a list price only.
How complete is this
2,408 of the 3,956 hospitals with a price file in our corpus (61%) 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 | 2,408 |
|---|---|
| Cash price carrying a plausibility flag — shown on the compare tool, excluded here | 127 |
| 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 | 0 |
| A list price only, no cash figure — excluded | 87 |
| Hospitals that filed this code | 2,622 |
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 September 4, 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 HC Pinworm
.
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, “Pinworm test using a tape sample (CPT 87172) — cash price report,” computed September 25, 2026. https://hospitalrates.com/procedures/cpt-87172-pinworm-test-using-a-tape-sample