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
| Code | Looks like | What it tells you |
|---|---|---|
| CPT | 5 digits, e.g. 99284 or 70553 | What was done: visits, tests, scans, procedures. Set by the American Medical Association. |
| HCPCS | a letter and 4 digits, e.g. J1885 or G0121 | Medicines, supplies, ambulance rides and Medicare-specific services. Set by CMS. |
| MS-DRG | 3 digits, e.g. 470 or 807 | A whole hospital stay grouped into one category, used to pay for inpatient care. One stay gets one DRG. |
| Revenue code | 4 digits, e.g. 0450 | The department or type of charge: room, pharmacy, lab, ER. On hospital bills only. |
| ICD-10 | a letter and up to 6 more characters, e.g. S82.6 | Your diagnosis: why you were treated. A wrong diagnosis code can make an insurer deny a claim. |
| Modifier | 2 characters after a code, e.g. -25 or -59 | Changes how a code is paid, for example a separate service on the same day. Modifier 59 is often involved in unbundling. |
| NDC | 10–11 digits | The 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 code | What it is |
|---|---|
| 0110–0129 | Room and board (private or shared room) |
| 0200–0209 | Intensive care |
| 0250 | Pharmacy (medicines) |
| 0270 | Medical and surgical supplies |
| 0300–0319 | Laboratory tests |
| 0320 | X-rays |
| 0350 | CT scans |
| 0360 | Operating room |
| 0370 | Anesthesia |
| 0450 | Emergency room |
| 0610 | MRI |
| 0710 | Recovery room |
| 0730 | EKG (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.
- Emergency room visit, level 1 (minor) CPT 99281
- Emergency room visit, level 2 CPT 99282
- Emergency room visit, level 3 CPT 99283
- Emergency room visit, level 4 CPT 99284
- Emergency room visit, highest level CPT 99285
- Chest X-ray, two views CPT 71046
- CT scan of the head, without contrast CPT 70450
- MRI of the lower back, without contrast CPT 72148
- MRI of the brain, with and without contrast CPT 70553
- Colonoscopy CPT 45378
- Comprehensive metabolic panel (blood test) CPT 80053
- Complete blood count (CBC) CPT 85025
- Electrocardiogram (ECG) with interpretation CPT 93000
- Knee replacement CPT 27447
- Hip or knee replacement DRG 470
- Sepsis, with major complications DRG 871
- Heart failure, with major complications DRG 291
- Vaginal birth DRG 807
- C-section DRG 788
All procedures and hospital stays
Codes worth questioning
- 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.
- 2The same code twiceTwo identical lines on the same date can be legitimate (two X-rays) but are often a duplicate. Ask.
- 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.
- 4Supplies and pharmacy in bulkLines like "supplies" (0270) or "pharmacy" (0250) with no detail. Ask for the item-by-item list.
- 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.