If your single is one song, why does the distributor ask you for two different codes, and what breaks if you leave both boxes on “generate for me”? Most first releases go out fine that way. The trouble starts six months later, when you add a radio edit, move the song onto an EP, switch distributors, or ask a sync agent to clear the track and find that nobody can say which audio file the code refers to.

UPC and ISRC answer two different questions. The UPC answers “which product is this?” The ISRC answers “which recording is this?” Once that split is clear, every edge case of a single release has a predictable answer. The sections below take apart one realistic single, code by code, and then push it through the situations that usually cause damage: new versions, reissues and a change of distributor.

Two codes for two different objects

The confusion comes from the fact that, for a one-track single, the product and the recording look like the same thing. They are not, and the industry tracks them separately.

UPC (Universal Product Code): a 12-digit GTIN-12 barcode number issued under the GS1 system that identifies a commercial product. In music distribution it identifies the release as a whole: the single, EP or album as a package with its title, artwork, label name and release date. Stores in many regions use the 13-digit EAN-13 form; a UPC is the same number with a leading zero added.

ISRC (International Standard Recording Code): a 12-character code that identifies one specific sound recording or music video recording. It follows the audio. The same ISRC stays attached to that recording on every release it appears on, in every store and on every service. The system is overseen internationally by IFPI, with national agencies issuing registrant codes; in the United States that agency is the RIAA, in the UK it is PPL.

ISWC (International Standard Musical Work Code): the code for the composition itself, the melody and lyrics as a written work. Publishers and collecting societies use it. It sits outside the distributor form, but it explains why one song can have many ISRCs: a cover, a live take and a remix are separate recordings of the same work.

The practical consequence is simple. Royalties for streams and downloads are matched to recordings, so they follow the ISRC. Sales charts, store listings and pre-saves are built around products, so they follow the UPC. A single with three versions has one product and three recordings, which means one UPC and three ISRCs. Mixing up the two layers is where almost every metadata problem on independent releases begins.

Teardown of a three-version single

Here is an illustrative single, built to show typical choices. The artist releases “Night Bus” with three audio files: the original mix at 4:12, a radio edit at 3:05 with the long intro removed, and an instrumental of the original. The release goes to all major streaming services and digital stores on one date.

Each file is a different master, so each gets its own ISRC. The radio edit is not “the same song shortened” from the database’s point of view: it is a different audio file with a different duration, and it can earn on its own, chart on its own and be licensed on its own. The package of three files, with one cover image and one title, is one product, so it gets one UPC.

ElementIdentifierCount on this releaseWhat it follows
“Night Bus” release (artwork, title, date, label)UPC1The product
Original mix, 4:12ISRC1That exact master
Radio edit, 3:05ISRC1That exact master
InstrumentalISRC1That exact master
The composition “Night Bus”ISWC1The written song, via publisher or society
Music video of the radio editISRC (video)1 if releasedThe video recording

Three details around this table matter more than they look. First, the instrumental needs its own ISRC even though it shares a composition and most of the mix with the original; reusing the original’s code would make a store treat two different files as one recording. Second, if a clean version of a song with explicit lyrics is added later, it also needs a new ISRC. Third, the music video is a separate recording, and video platforms that use ISRCs expect a separate video code.

The distributor form will often show a single ISRC box per track and one UPC box per release. That layout already encodes the rule. Where artists go wrong is in thinking of the radio edit as a “variant” of the original and trying to share the code.

How the numbers are built, and how to check them

Both codes have a fixed structure, and knowing it lets you catch a typo before it ships.

An ISRC has five parts, often displayed with hyphens and stored without them. Take the illustrative code GB-A1B-26-00042. “GB” is the country code of the registrant. “A1B” is the three-character registrant code issued by the national agency. “26” is the year of reference, meaning the year the code was assigned, which is not necessarily the year the song was recorded. “00042” is the designation code, a five-digit number the registrant assigns.

Five digits give room for 100,000 recordings per registrant per year. The United States has extra country prefixes such as QM and QZ in addition to US, so a code starting with QZ is not an error. ISRCs carry no check digit, which is why a single wrong character produces a valid-looking code for a different recording or for nothing at all.

A UPC does carry a check digit, the twelfth number, computed from the first eleven:

S_odd  = sum of digits in positions 1, 3, 5, 7, 9, 11
S_even = sum of digits in positions 2, 4, 6, 8, 10
check  = (10 - ((3 x S_odd + S_even) mod 10)) mod 10

Worked through on the textbook barcode 03600029145?: the odd positions are 0, 6, 0, 2, 1 and 5, which sum to 14, and 14 times 3 is 42. The even positions are 3, 0, 0, 9 and 4, which sum to 16. The total is 58, 58 mod 10 is 8, and 10 minus 8 gives a check digit of 2. The full code is 036000291452. If a label sends you a UPC and the last digit does not match this calculation, it was mistyped somewhere.

One more count is worth writing down for planning: the number of codes a release needs.

UPCs needed  = 1 per release (single, EP, album, deluxe edition)
ISRCs needed = number of distinct masters on the release
               that have never been assigned an ISRC before

The second line is the one that saves money and history. A master that already has an ISRC brings it along to every later release.

Re-releases, remasters and switching distributors

Most code mistakes happen after the first release, so this is where the teardown earns its keep.

The single moves onto an EP or album. The EP is a new product and needs a new UPC. The original mix of “Night Bus” is the same recording, so it keeps its existing ISRC on the EP. Services can then connect the EP track to the single’s history, and royalties for both appearances flow to the same recording. Generating a fresh ISRC here would split one recording into two in every royalty database.

A new master is made. A remaster with audible changes, a new mix, an extended mix, a sped-up version or a live recording is a new recording and gets a new ISRC. The test is whether the audio file differs, however small the change sounds to you. A master that was only re-exported at a different loudness for one platform is a grey zone; many labels treat any change to the audio as a new recording, and that conservative rule avoids disputes.

The artwork, title spelling or release date changes. These are product-level changes. Some stores require a new UPC for a substantial change to a release, others allow edits to the existing one. The ISRCs do not change, because the audio did not change.

You switch distributors. This is the riskiest moment. Take down the release at the old distributor only after the new one is live, and give the new distributor the existing ISRCs for every track. Most distributors let you enter an existing UPC as well.

If the UPC was issued from the old distributor’s GS1 prefix, ask the new one whether it accepts it; some do, some require a new barcode. Keeping the ISRCs is the part that protects royalties and chart history, so treat that as non-negotiable and the UPC as negotiable.

A short rule of thumb covers all four situations: if the sound changed, new ISRC; if the package changed, maybe new UPC; if neither changed, reuse both.

Mistakes that split your streaming history

These errors come up again and again on independent releases, usually because the “generate codes” checkbox hides what is happening:

  • Letting the distributor generate a new ISRC when re-uploading a song you already released elsewhere. The new code creates a second recording in royalty systems, and plays on the two versions are counted separately.
  • Sharing one ISRC between the original and the radio edit, or between the explicit and clean versions. Stores then match the wrong duration or lyrics to a code, and collecting societies receive conflicting data.
  • Reusing a single’s UPC for the EP that contains it. The store sees the EP as an update of the single, which can overwrite the original listing.
  • Typing an ISRC by hand into a sync licence or a collecting society registration without checking it against the distributor dashboard. With no check digit, a typo goes unnoticed.
  • Assuming the year in the ISRC must match the recording year and “correcting” it. The year is the year of assignment, and changing it creates a new code.
  • Never registering the recordings with a neighbouring rights organisation. The ISRC identifies the recording, but someone still has to claim performance income for it in each territory.
  • Losing the code list. Keep a spreadsheet with title, version, duration, ISRC, UPC of every release it appears on, and the master file name. It takes ten minutes per release and saves days later.

The first item causes the most visible damage. A track that has collected, say, 40,000 plays and a few playlist placements under one code starts from zero under a new one, and reconnecting the two is slow when it is possible at all.

Distributor codes or your own prefix

The final decision is ownership. Distributors such as DistroKid, TuneCore and CD Baby issue UPCs and ISRCs free with a release, and for most solo artists that is the right choice.

Free distributor codes work well when you release a few singles a year under your own name, stay with one distributor, and do not plan to license the catalogue in bulk. The ISRC carries the distributor’s registrant code, which does not change who owns the master; it only changes who issued the code.

Your own ISRC registrant code makes sense when you run a small label, release for several artists, or move between distributors. You can apply to your national ISRC agency, and in many countries the registrant code is free or cheap for rights holders. You then assign designation codes yourself, keep one consistent prefix across the catalogue, and hand the codes to whichever distributor you use. The cost is discipline: you must never assign the same designation code twice, and you need the spreadsheet from the previous section.

Your own UPCs mean buying a GS1 company prefix or individual GTINs from your national GS1 office. This is mostly worth it for physical products, where retailers check the barcode owner, or for labels that want every release under their own company prefix. For a digital single, a distributor UPC does the job.

A useful middle path for small labels is to own the ISRC prefix and keep distributor UPCs, because the recording codes are the ones that follow a catalogue for decades, while a product barcode can be replaced on the next edition without touching royalties.

The recommendation depends on two conditions. If you release under one name and expect to stay with your current distributor for at least two years, take the free codes and keep a clean code list. If you already release for two or more artists, or you have changed distributors once, register your own ISRC prefix before the next release and keep using distributor UPCs until you press vinyl or CDs.