Skip to main content

verified Free billing audit

Get audit →
Resource

UB-04 Revenue Codes Explained

By · Published

A UB-04 revenue code is the four-digit classification code reported in Form Locator 42 of the UB-04 (CMS-1450) institutional claim that tells the payer which hospital department or cost center a charge came from — room and board, pharmacy, laboratory, emergency room, the operating suite, and so on. Revenue codes are the backbone of institutional billing: every charge line on a UB-04 must carry one, they drive how the claim is grouped and priced, and many of them must be paired with a specific HCPCS/CPT code in Form Locator 44 before the payer will adjudicate the line. This guide explains what revenue codes are, the most common codes you will report, how they pair with HCPCS in FL 44, how the bill type in FL 4 changes which codes are valid, the difference between the UB-04 and the CMS-1500, and the denials that revenue-code errors most often trigger.

Quick Answer

What Are UB-04 Revenue Codes?

UB-04 revenue codes are four-digit codes reported in Form Locator 42 of the UB-04 (CMS-1450) institutional claim that identify the hospital department or cost center behind each charge — for example 0250 pharmacy, 0300 laboratory, or 0450 emergency room. Every charge line needs one, and many must pair with a HCPCS/CPT code in FL 44.

  • Revenue codes live in Form Locator (FL) 42; they are four digits (a leading zero plus three significant digits)
  • Maintained by the National Uniform Billing Committee (NUBC), not by CMS or the AMA
  • Many revenue codes require a paired HCPCS/CPT in FL 44 (especially outpatient and ancillary lines)
  • The bill type in FL 4 (e.g., 0131 outpatient) governs which revenue codes are valid on the claim
  • Revenue codes are used on the UB-04 only — the professional CMS-1500 has no revenue-code field

What a UB-04 Revenue Code Is (and Where It Lives)

The UB-04 — formally the CMS-1450 — is the standard claim form for institutional providers: hospitals, skilled nursing facilities, home health agencies, hospice, rural health clinics, and other facility-type billers. Where a physician practice files professional charges on the CMS-1500 (or its 837P electronic equivalent), a facility files on the UB-04 (or the 837I).

A revenue code is a four-digit code that classifies each charge line on the UB-04 by the department, cost center, or category of service that produced it. It is reported in Form Locator 42 (FL 42). Think of it as the answer to the payer's question: which part of the facility generated this charge? A pharmacy charge carries 0250; a laboratory charge carries 0300; an emergency-room charge carries 0450.

A few mechanics that trip up new institutional billers:

  • They are four digits with a leading zero. Modern UB-04 revenue codes are written as four characters — a leading zero followed by three significant digits (0250, 0300, 0450). You will still see three-digit shorthand (250, 300, 450) in older references and conversation; on the actual claim, the four-digit form is what is transmitted.
  • They are maintained by the NUBC, the National Uniform Billing Committee, which publishes the UB-04 data specifications. They are not CPT (AMA) or strictly CMS codes — though CMS and every other institutional payer require them.
  • Every charge line needs one. Unlike the CMS-1500, where the procedure code carries the line, on the UB-04 the revenue code is mandatory on every revenue line, and the last line of the claim uses revenue code 0001 to report the total charges.
  • Order on the claim matters. Lines are generally reported in numeric revenue-code order, with 0001 (total) last.

In our institutional billing work, revenue-code setup is one of the highest-leverage places to prevent denials, because a single mismapped chargemaster line repeats the same error across hundreds of claims until someone fixes the master, not the claim.

Common UB-04 Revenue Codes (Reference Table)

The table below lists the revenue codes you will encounter most often on hospital and facility claims, what they classify, and whether a HCPCS/CPT pairing in FL 44 is typically expected. Always validate against the current NUBC specifications and your payer's companion guide — payers occasionally restrict or require specific codes by bill type.

Revenue code (FL 42)Department / categoryHCPCS in FL 44?
0100 / 010XAll-inclusive room and board (general)No — per-diem room charge
0110–0179Room & board by accommodation (private, semi-private, ward, ICU/CCU)No — per-diem
0250Pharmacy (general)Often — outpatient drug lines
0270Medical/surgical supplies and devices (general)Often — outpatient supply lines
0300Laboratory (general / clinical diagnostic)Yes — CPT for each test
0320Radiology — diagnostic (general)Yes — CPT for each study
0360Operating room servicesOften — surgical CPT
0370AnesthesiaOften — anesthesia CPT
0450Emergency room (general)Yes (outpatient) — ER E/M / facility level CPT
0510Clinic (general outpatient)Yes (outpatient) — visit CPT
0636Drugs requiring detailed codingYes — HCPCS J-code + NDC + units
0001Total charges (claim total line)No — summary line only

Two lines on this table deserve special attention. Revenue code 0270 (medical/surgical supplies) and the wider supply series capture the device and supply charges that, on an outpatient claim, usually need a HCPCS code in FL 44 to be paid. And revenue code 0636 — 'drugs requiring detailed coding' — is the one most likely to generate a denial when it is incomplete: it requires a HCPCS J-code in FL 44, the correct unit count, and, for most payers and all Medicaid programs, an 11-digit National Drug Code (NDC) with its qualifier. A 0636 line missing the NDC or with a unit mismatch is one of the most common ancillary-line rejections we see. For the full revenue-code set we keep an internal reference, but these are the codes that drive the majority of charge volume.

Pairing Revenue Codes With HCPCS/CPT in FL 44

On the UB-04, the revenue code in FL 42 answers which department, and the HCPCS/CPT code in Form Locator 44 (FL 44) answers what specific service. The two work together, and for a large share of outpatient and ancillary lines the payer will not adjudicate the charge unless both are present and compatible.

When FL 44 is required. Outpatient ancillary services — laboratory (0300-series), diagnostic radiology (0320-series), the emergency department (0450) on outpatient claims, clinic visits (0510), and detailed-coding drugs (0636) — generally require a HCPCS/CPT in FL 44 for each line. Medicare's Outpatient Prospective Payment System (OPPS) prices most outpatient lines off the HCPCS code, so a missing FL 44 on a line that needs one will reject or deny.

When FL 44 is not required. Inpatient per-diem lines — room and board (0100–0179) — are priced by accommodation and length of stay, not by a procedure code, so they typically do not carry a HCPCS in FL 44. The DRG (on inpatient claims) and the room revenue codes drive payment instead.

FL 44 also carries the HIPPS / rate code on certain bill types. For SNF, home health, and inpatient rehab, FL 44 is where the HIPPS rate code sits on the qualifying revenue line, rather than a CPT.

The 0636 example, end to end. A separately payable drug billed under revenue code 0636 needs: the J-code (e.g., the correct HCPCS J-code for the drug) in FL 44, the number of HCPCS units in FL 46, the NDC and NDC qualifier (N4) plus NDC units/unit-of-measure in the appropriate fields, and the charge in FL 47. Get any one of those wrong and the line denies for missing/invalid information. The discipline here is the same one that drives a strong clean claim rate: validate the FL 42 / FL 44 / units / NDC relationship in the chargemaster and the scrubber, not claim by claim.

Bill Type (FL 4) Governs Which Revenue Codes Are Valid

You cannot evaluate a revenue code in isolation — its validity depends on the type of bill reported in Form Locator 4 (FL 4). The type-of-bill code tells the payer what kind of facility submitted the claim and what kind of claim it is, and that context decides which revenue codes are allowed and whether FL 44 is expected.

The type-of-bill code is read by digit:

  • First digit — type of facility (1 = hospital, 2 = SNF, 3 = home health, etc.).
  • Second digit — bill classification (1 = inpatient under Part A, 3 = outpatient, etc.).
  • Third digit — frequency (1 = admit-through-discharge, 7 = replacement/corrected claim, 8 = void/cancel).

So the commonly cited 0131 is read as: leading zero placeholder, 1 = hospital, 3 = outpatient, 1 = admit-through-discharge (a complete outpatient hospital claim). That outpatient context is precisely why a 0131 claim's ancillary lines (lab, radiology, ER, clinic) generally require a HCPCS/CPT in FL 44 — outpatient lines are HCPCS-priced. By contrast, an 0111 inpatient claim is priced by DRG and per-diem room codes, so its room-and-board lines do not need FL 44.

Type of bill (FL 4)Reads asRevenue-code implication
0111Hospital, inpatient (Part A), admit-through-dischargeRoom & board (0100–0179) per-diem; DRG-priced; most lines no FL 44
0131Hospital, outpatient, admit-through-dischargeAncillary lines (0300, 0320, 0450, 0510, 0636) generally require HCPCS in FL 44
0137Hospital, outpatient, replacement (corrected) claimSame outpatient rules; submitted to correct a prior claim, not as a new original
0851Critical access hospital, outpatient, admit-through-dischargeCAH outpatient revenue-code and FL 44 rules apply

The corrected-claim digit matters for denials. When you fix a revenue-code or FL 44 error and resubmit, change the third digit to 7 (replacement) and reference the original claim — submitting a fresh original (frequency 1) instead risks a duplicate denial. This is the institutional equivalent of the corrected-claim discipline that prevents CO-18 duplicate denials on professional claims.

UB-04 vs CMS-1500: When You Use Each

The single most common point of confusion for billers moving between the institutional and professional worlds is when to use the UB-04 versus the CMS-1500. The short version: facilities bill on the UB-04; individual providers bill on the CMS-1500. Revenue codes exist only on the UB-04.

AspectUB-04 (CMS-1450)CMS-1500
Who files itInstitutional providers — hospitals, SNFs, home health, hospice, RHCs, ASCs (per payer)Individual/professional providers — physicians, NPs, PAs, therapists, most outpatient clinicians
Electronic equivalent837I (institutional)837P (professional)
Revenue codes (FL 42)Required on every charge lineNot used — no revenue-code field exists
Procedure codingHCPCS/CPT in FL 44 (where required) + ICD-10 diagnosesCPT/HCPCS in Box 24D + ICD-10 in Box 21
Type of billFL 4 (type-of-bill code, e.g., 0131)No type-of-bill concept
Pricing basisDRG (inpatient) / OPPS & APC (outpatient) / per-diemPhysician Fee Schedule (RVU-based)
Maintained byNUBC (with CMS/payer requirements)NUCC (National Uniform Claim Committee)

A single episode of care can generate both forms. A patient seen in the emergency department produces a UB-04 from the hospital for the facility component (ER revenue code 0450, supplies, drugs, lab) and a separate CMS-1500 from the emergency physician group for the professional component (the ER E/M CPT). This professional-versus-facility split is the heart of institutional billing and a frequent source of duplicate and mismatched-claim problems when the two are not coordinated.

For a deeper field-by-field walkthrough of the two forms, see our CMS-1500 vs UB-04 comparison and the UB-04 glossary entry. If your facility outsources, hospital billing services should own the chargemaster-to-revenue-code mapping that keeps these claims clean.

How Revenue Codes Drive Payment (OPPS, DRG, Per-Diem)

Revenue codes are not just labels — they participate directly in how the claim is grouped and priced, and which method applies depends on the bill type.

Inpatient (e.g., 0111). Acute inpatient hospital claims are paid primarily by the MS-DRG assigned from the ICD-10 diagnoses and procedures, with the room-and-board revenue codes (0100–0179) and length of stay establishing the accommodation. The individual ancillary revenue lines are largely informational for DRG payment, though they matter for cost reporting and for outlier calculations.

Outpatient (e.g., 0131). Hospital outpatient claims are paid under OPPS, where each payable line is grouped into an Ambulatory Payment Classification (APC) based primarily on its HCPCS/CPT code in FL 44 — which is exactly why outpatient revenue lines need that pairing. The revenue code routes the charge to the right cost center; the HCPCS drives the APC and the dollars.

Per-diem and prospective systems (SNF, home health, hospice). These use their own prospective payment systems (PDPM for SNF, PDGM for home health), where a HIPPS rate code reported on the qualifying revenue line drives payment rather than a line-item CPT.

The practical takeaway: on an outpatient claim, a revenue code with the wrong or missing HCPCS in FL 44 does not just risk a denial — it can land the charge in the wrong APC and pay incorrectly even when it does pay. Reconciling revenue-code-to-HCPCS mapping in the chargemaster is therefore both a denial-prevention and a net-revenue exercise, and it ties directly to the broader revenue cycle management discipline of keeping the charge description master accurate.

Common Denials From Revenue-Code Errors & How to Fix Them

Revenue-code mistakes on the UB-04 surface as a recognizable set of CARC denials. Mapping each to its fix turns an ambiguous rejection into a routed correction.

Denial patternTypical CARC/RARCRoot causeFix
Missing/invalid info on an ancillary lineCO-16 + RARCRevenue line missing a required HCPCS in FL 44, or a 0636 drug line missing NDC/unitsRead the RARC, add the HCPCS/NDC/units the line requires, resubmit a corrected claim (frequency 7)
Revenue code / HCPCS mismatch or not payable for bill typeCO-16 / CO-181FL 42 revenue code is not valid with the FL 44 code or not allowed on that type of billValidate the revenue-code-to-HCPCS-to-bill-type relationship against the payer companion guide; correct and resubmit
Bundled / not separately payable lineCO-97An ancillary revenue line is packaged into the APC or DRG payment (OPPS packaging)Confirm OPPS packaging status; if correctly packaged, write off — it is not separately payable
Exact duplicate claimCO-18A corrected claim was sent as a new original (frequency 1) instead of a replacement (frequency 7)Resubmit with type-of-bill frequency digit 7 referencing the original claim
Drug units do not match HCPCSCO-16 / CO-151HCPCS units in FL 46 do not reconcile to the NDC units / drug amount administeredRecalculate HCPCS units from the drug strength and dose; align NDC units; resubmit corrected

The highest-volume offender on this list is the 0636 detailed-coding drug line and the broader 'missing required FL 44' pattern, both of which resolve to CO-16 with a remark code naming the specific missing element. Because CO-16 is a container code, the fix always lives in the paired RARC — read it, correct the named field, and resubmit as a corrected claim rather than appealing. For the full read-the-RARC workflow, see our CO-16 denial code guide; for the bundling and OPPS-packaging logic behind a CO-97 on an outpatient line, see the 97 denial code explainer. When a line is genuinely packaged or non-covered for the bill type, no modifier or resubmission recovers it — the prevention is correct chargemaster mapping, not appeals.

Preventing Revenue-Code Denials: Chargemaster Hygiene

Because revenue codes flow from the chargemaster (the charge description master, or CDM) onto every claim automatically, the prevention work is almost entirely upstream. Fix the master, and you fix the same error across thousands of future claims at once.

1. Audit the CDM revenue-code mapping. Every chargeable item in the CDM should map to a current, valid NUBC revenue code, with the correct HCPCS/CPT and units attached where outpatient billing requires them. A single mismapped line item repeats on every claim that touches it.

2. Reconcile FL 42 ↔ FL 44 ↔ units. Build scrubber edits that confirm, for every outpatient ancillary line, that a revenue code requiring a HCPCS has one, that the HCPCS is valid for the date of service, and that units reconcile — especially for 0636 drug lines and their NDCs.

3. Validate by bill type. Configure edits that check revenue-code validity against the FL 4 type of bill, so an inpatient-only or outpatient-only revenue code cannot ride on the wrong claim type.

4. Refresh code sets on the CMS/NUBC calendar. HCPCS and NDC sets change throughout the year; an outdated chargemaster generates invalid-code denials even when the mapping was once correct. Tie CDM maintenance to the quarterly update cadence.

5. Track denials back to the CDM, not the claim. When the same revenue-code-related CARC recurs across many claims, the fix is a master correction or a new scrubber rule — not per-claim rework. Categorizing institutional denials by revenue code and bill type monthly surfaces exactly which chargemaster lines are leaking revenue.

In our experience, facilities that operationalize CDM hygiene convert revenue-code denials from a recurring rework cost into a near-zero line on the denial report, and they recover the net-revenue leakage from charges that were paying into the wrong APC. The economics favor prevention overwhelmingly: a chargemaster edit costs nothing per claim once configured, while every corrected-claim cycle costs real labor and delays cash. This is core to a well-run hospital billing operation.

Free Billing Audit · No obligation

Stop Revenue-Code Denials at the Chargemaster

We will audit your CDM's revenue-code-to-HCPCS mapping, reconcile FL 42 / FL 44 / units by bill type, and quantify the denials and APC leakage we can prevent — at no cost.

Common Questions

Common questions about ub-04 revenue codes explained: fl 42, hcpcs pairing & common codes (2026).

Get a Free Billing Audit

Our billing specialists can walk you through this and more.

Get a Free Billing Audit arrow_forward

What is a revenue code on a UB-04?

A revenue code on a UB-04 is a four-digit code reported in Form Locator 42 that identifies the hospital department or cost center responsible for each charge — for example 0250 for pharmacy, 0300 for laboratory, 0450 for the emergency room, or 0100/0110-series for room and board. Every charge line on the UB-04 (CMS-1450) must carry a revenue code, and the final line uses revenue code 0001 to report total charges. Revenue codes are maintained by the National Uniform Billing Committee (NUBC) and are used on institutional claims only — the professional CMS-1500 has no revenue-code field.

Where do revenue codes go on the UB-04?

Revenue codes go in Form Locator 42 (FL 42) of the UB-04. They are written as four digits (a leading zero plus three significant digits, such as 0300 or 0450). The related HCPCS or CPT code, when required, is reported alongside it in Form Locator 44 (FL 44), the units in FL 46, and the charge amount in FL 47. Lines are generally listed in numeric revenue-code order, with revenue code 0001 (total charges) reported last.

Which UB-04 revenue codes require a HCPCS code in FL 44?

Outpatient ancillary lines generally require a HCPCS/CPT in FL 44 — laboratory (0300-series), diagnostic radiology (0320-series), the emergency department (0450) on outpatient claims, clinic visits (0510), and detailed-coding drugs (0636). Medicare's Outpatient Prospective Payment System prices most outpatient lines off the HCPCS code, so a line that needs FL 44 but lacks it will reject or deny. Inpatient room-and-board lines (0100-0179) are priced by per-diem and DRG, not by a procedure code, so they typically do not carry a HCPCS in FL 44.

What does revenue code 0636 mean and why does it deny?

Revenue code 0636 means 'drugs requiring detailed coding' — separately payable drugs that must be reported at a line-item level rather than rolled into general pharmacy (0250). A 0636 line denies most often because it is incomplete: it requires the correct HCPCS J-code in FL 44, the matching number of HCPCS units in FL 46, and, for most payers and all Medicaid programs, an 11-digit National Drug Code (NDC) with its N4 qualifier and NDC units. Missing the NDC, a units mismatch between the HCPCS and the drug administered, or an invalid J-code for the date of service each trigger a CO-16 missing-information denial. The fix is to read the remark code, supply the named element, and resubmit a corrected claim.

What does bill type 0131 mean on a UB-04?

Type of bill 0131 (Form Locator 4) reads as: hospital (first significant digit 1), outpatient (second digit 3), admit-through-discharge claim (third digit 1) — a complete hospital outpatient claim. Because it is an outpatient claim paid under OPPS, its ancillary revenue lines (laboratory, radiology, emergency, clinic, detailed-coding drugs) generally require a HCPCS/CPT in FL 44 to be priced and paid. When you correct and resubmit a 0131 claim, change the third digit to 7 (0137, replacement/corrected claim) and reference the original — submitting a new original instead risks a duplicate (CO-18) denial.

What is the difference between the UB-04 and the CMS-1500?

The UB-04 (CMS-1450, electronic 837I) is the institutional claim form used by facilities — hospitals, skilled nursing facilities, home health, hospice, and rural health clinics — and it uses revenue codes in FL 42 plus a type of bill in FL 4. The CMS-1500 (electronic 837P) is the professional claim form used by individual providers such as physicians, NPs, PAs, and therapists, and it has no revenue-code field. A single ER visit can generate both: a UB-04 from the hospital for the facility component and a CMS-1500 from the physician group for the professional component. The UB-04 is governed by the NUBC and priced by DRG/OPPS/per-diem; the CMS-1500 is governed by the NUCC and priced by the Physician Fee Schedule.

Can you bill the patient for a revenue-code denial on a UB-04?

It depends on the group code, not the revenue code itself. Most revenue-code errors deny under Group Code CO (Contractual Obligation) — for example CO-16 (missing information) or CO-97 (bundled/packaged into the APC) — and CO amounts are a provider responsibility that cannot be balance-billed to the patient. You correct the data and resubmit, or write off a correctly packaged line. Only amounts adjudicated under the PR (Patient Responsibility) group code — deductible, coinsurance, and copay — may be billed to the patient. Billing a patient for a CO revenue-code denial is a contract violation and, in most states, a regulatory one.

How many digits is a UB-04 revenue code?

A UB-04 revenue code is four digits: a leading zero followed by three significant digits, such as 0300 (laboratory) or 0450 (emergency room). You will often see the three-digit shorthand (300, 450) in older references and in conversation, but the four-digit form is what is reported in Form Locator 42 on the actual claim. The leading zero is part of the code, not a placeholder you can drop.

Free billing audit

Stop Revenue-Code Denials at the Chargemaster

We will audit your CDM's revenue-code-to-HCPCS mapping, reconcile FL 42 / FL 44 / units by bill type, and quantify the denials and APC leakage we can prevent — at no cost.

  • check_circleNo contract
  • check_circleNo setup fees
  • check_circleReply within 1 business day
call Call us Free audit arrow_forward