|Centuries:||5th century – 6th century – 7th century|
|Decades:||470s 480s 490s – 500s – 510s 520s 530s|
|Years:||501 502 503 – 504 – 505 506 507|
|504 by topic|
|State leaders – Sovereign states|
|Birth and death categories|
|Births – Deaths|
|Establishment and disestablishment categories|
|Establishments – Disestablishments|
|Ab urbe condita||1257|
|Bahá'í calendar||−1340 – −1339|
|English Regnal year||N/A|
|Chinese calendar||癸未年 (Water Goat)
3200 or 3140
— to —
甲申年 (Wood Monkey)
3201 or 3141
|- Vikram Samvat||560–561|
|- Shaka Samvat||426–427|
|- Kali Yuga||3605–3606|
|Igbo calendar||−496 – −495|
|Iranian calendar||118 BP – 117 BP|
|Islamic calendar||122 BH – 121 BH|
|Minguo calendar||1408 before ROC
|Thai solar calendar||1047|
|Wikimedia Commons has media related to 504.|
Year 504 (DIV) was a leap year starting on Thursday (link will display the full calendar) of the Julian calendar. At the time, it was known as the Year of the Consulship of Nicomachus without colleague (or, less frequently, year 1257 Ab urbe condita). The denomination 504 for this year has been used since the early medieval period, when the Anno Domini calendar era became the prevalent method in Europe for naming years.
- War with Sassanid Persia: Emperor Anastasius I gains the upper hand in Armenia with the renewed investment of Amida.
- King Kavadh I hands over the fortress-city of Amida and agrees an armistice with the Byzantine Empire.
- King Theodoric the Great defeats the Gepids and are driven out of their homeland (Pannonia).
- The Ostrogoths sack Belgrade, the city lies on the Danube and Sava rivers (modern Serbia).
- Theodoric the Great builds the Basilica of Sant'Apollinare Nuovo, originally dedicated to Christ the Redeemer.