Between emigration and a low birth rate, Ukraine has been depopulating at an alarming rate for the last 30+ years even without considering any war casualties.
Right now due to millions of refugees and casualties in the Russo-Ukrainian War, the estimated population of Ukraine in 2024 is around 29 million.
In 1989, it was 52 million.