@wertigon 's calculations still stand.
Each watt drawn from use, adds up to 8.76kwh per year.
So, total sytem electricity draw, * kWh price, * 8.76, is what it will cost in real, understandable figures, every year, in electricity alone
One can choose to be informed, and still choose to run existing hardware inefficiently, instead of scrapping everything, after being informed.
If, perhaps, OP can sell stuff, and buy more efficient low energy parts/systems, then OP will save money overall
But, perhaps $30/month ““wasted””, by choosing to use existing hardware, is a simpler path to start on, and over time, switch to a less wasteful (energy/money wise) system, as actual needs have been assessed.
Or, in fact, OP may simply tinker with a Couple VM’s running docker/jellyfin/pihole/adguard, but loose interest and simply decide to not persue it.
I am not sure the power draws of the systems, but I like to tinker with several VM’s in a home lab, and the HP seems the most capable, of those systems to run them.
I personally worked out a similar assessment like wertigon, and decided a newish system, with mostly flash storage 24/7 was worth it for me, with removable HDD’s that don’t run all the time, for cold storage, and rotating backups.
But to each their own, and more modern, efficient components, may also give better performance, like SSD’s etc
Edit: on the other hand, hardware costs and availability may vary by region, along side energy costs, so replacement equipment, especially Ram right now, may also have an effect on price…