|Centuries:||5th century – 6th century – 7th century|
|Decades:||480s 490s 500s – 510s – 520s 530s 540s|
|Years:||509 510 511 – 512 – 513 514 515|
|512 by topic|
|State leaders – Sovereign states|
|Birth and death categories|
|Births – Deaths|
|Establishment and disestablishment categories|
|Establishments – Disestablishments|
|Ab urbe condita||1265|
|Bahá'í calendar||−1332 – −1331|
|English Regnal year||N/A|
|Chinese calendar||辛卯年 (Metal Rabbit)
3208 or 3148
— to —
壬辰年 (Water Dragon)
3209 or 3149
|- Vikram Samvat||568–569|
|- Shaka Samvat||434–435|
|- Kali Yuga||3613–3614|
|Igbo calendar||−488 – −487|
|Iranian calendar||110 BP – 109 BP|
|Islamic calendar||113 BH – 112 BH|
|Minguo calendar||1400 before ROC
|Thai solar calendar||1055|
|Wikimedia Commons has media related to 512.|
Year 512 (DXII) was a leap year starting on Sunday (link will display the full calendar) of the Julian calendar. At the time, it was known as the Year of the Consulship of Paulus and Moschianus (or, less frequently, year 1265 Ab urbe condita). The denomination 512 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.
- Emperor Anastasius I ends a period of moderate eclectic policy, and starts strongly favoring his own monophysitist beliefs.
- Areobindus, Byzantine general, is proclaimed emperor during a riot at Constantinople but refuses to take part in the usurpation.
- Anastasius I constructs a wall from the Black Sea to the Sea of Marmara to protect Constantinople from raiding Bulgars and Slavs.
- King Theodoric the Great grants citizens on Mount Vesuvius exemption from taxes after a severe eruption in southeastern Italy.
- The Ostrogoths conquer the Frankish province Rouergue (Southern Gaul).
- David, Welsh bishop and saint (approximate date)
- Eutychius, patriarch of Constantinople (approximate date)
- Maurus, Roman abbot and saint (d. 584)
- Wu Mingche, general of the Chen Dynasty (d. 578)