US Health Care Costs

Bills

The codes on your hospital bill, explained

Updated November 19, 2026

An itemized hospital bill is mostly codes. Each line usually has a revenue code (which department), a procedure code (what was done) and a quantity, and the claim as a whole carries diagnosis codes (why). Once you know which is which, a bill gets much easier to check. If you only have a one-page summary, ask the billing office for the itemized bill first: it is your right, and it is usually free.

The seven kinds of codes

CodeLooks likeWhat it tells you
CPT5 digits, e.g. 99284 or 70553What was done: visits, tests, scans, procedures. Set by the American Medical Association.
HCPCSa letter and 4 digits, e.g. J1885 or G0121Medicines, supplies, ambulance rides and Medicare-specific services. Set by CMS.
MS-DRG3 digits, e.g. 470 or 807A whole hospital stay grouped into one category, used to pay for inpatient care. One stay gets one DRG.
Revenue code4 digits, e.g. 0450The department or type of charge: room, pharmacy, lab, ER. On hospital bills only.
ICD-10a letter and up to 6 more characters, e.g. S82.6Your diagnosis: why you were treated. A wrong diagnosis code can make an insurer deny a claim.
Modifier2 characters after a code, e.g. -25 or -59Changes how a code is paid, for example a separate service on the same day. Modifier 59 is often involved in unbundling.
NDC10–11 digitsThe exact drug and package, next to a HCPCS drug code.

Hospital bills come on a form called the UB-04; doctors' bills come on a different form (the CMS-1500) and use CPT and HCPCS codes without revenue codes. That is why one hospital visit can produce two or three separate bills.

Common revenue codes

Revenue codeWhat it is
0110–0129Room and board (private or shared room)
0200–0209Intensive care
0250Pharmacy (medicines)
0270Medical and surgical supplies
0300–0319Laboratory tests
0320X-rays
0350CT scans
0360Operating room
0370Anesthesia
0450Emergency room
0610MRI
0710Recovery room
0730EKG (heart tracing)

Codes to look up first

These are the codes patients ask about most. Each links to what hospitals charge and are paid for it, so you can compare your bill.

All procedures and hospital stays

Codes worth questioning

  1. 1ER level 4 or 5 for a simple visitCPT 99284 and 99285 are the two most intensive ER levels. If you were seen briefly with no tests, ask why the level is so high.
  2. 2The same code twiceTwo identical lines on the same date can be legitimate (two X-rays) but are often a duplicate. Ask.
  3. 3UnbundlingA panel of lab tests or a surgery package billed again as separate parts. Look for modifier 59 and many small lines on one date.
  4. 4Supplies and pharmacy in bulkLines like "supplies" (0270) or "pharmacy" (0250) with no detail. Ask for the item-by-item list.
  5. 5Observation instead of inpatientIf you stayed overnight but were billed as an outpatient under observation, your share can be very different, especially on Medicare. Ask how you were classified.

Common questions

What is a CPT code on a medical bill?

A five-digit code for what was done, such as an office visit (99213), an ER visit (99281–99285) or an MRI (70553). Insurers pay by these codes, and hospitals must publish a price for common ones.

What does DRG mean on a hospital bill?

Diagnosis-related group: a category for a whole inpatient stay. Medicare and many insurers pay a set amount per DRG, whatever the itemized charges add up to.

What is a revenue code?

A four-digit code that says which hospital department a charge came from, such as 0450 for the emergency room or 0250 for pharmacy. It appears only on hospital bills.

How do I find out what a code should cost?

Look it up on this site: for each procedure and hospital stay you can see what hospitals list, their cash prices and what insurers pay, in your state and at your hospital.

This guide is general information, not legal or financial advice. Rules differ by state and by plan; check with your insurer, the hospital or your state's insurance department.

Sources: CMS (HCPCS, MS-DRG and the UB-04 claim form), the American Medical Association (CPT), the National Uniform Billing Committee (revenue codes); prices from hospitals' own price files. How the numbers work.