RDS PI Code Calculator (for USA & Canada)

This identifier works for U.S. stations (both full-powered and translators) and most full-powered Canadian stations. This identifier does not work for stations outside the U.S. and Canada.

This page is designed to calculate the correct PI code value for your station's callsign.

The R(B)DS standard assigns specific Program Identification (PI) codes to each U.S. station, mapping them from the call letters. The point is to ensure two stations with the same service area don't end up with the same code. Otherwise, it is theoretically possible some radios might regard these stations as interchangeable, and automatically tune between them when one's signal fades.




Callsign: (do not enter the -FM or -LP suffix)
PI code:(decimal)
PI code:(hexadecimal)

To check this result,
Go to this page.
Enter the hexadecimal PI code in the upper box.
Click Calculate.
Your station's callsign should appear in the lower box.
There is no error checking in this JavaScript. Enter a nonsense callsign and you may get a PI code anyway.


CBC stations couldn't be added, however depending on programming they'll have a scheme similar to this:

CBC Radio One: B_02
CBC Music: B_03
Ici Radio-Canada Première: B_04
Ici Musique: B_05

_ = Insert 1-9 or A-F
A completed example for CBU-FM: B203


The original script was recovered from https://www.w9wi.com/articles/rdsreverse.htm on the Internet Archive. Most credits to this script to the original author.
Edits to this script to support US Translator PIs and Canadian PIs by the DX Sphere. Thanks for your contribution!