Baltimore’s budget office has estimated that the ransomware attack on city computers will cost at least $18.2 million — a combination of lost or delayed revenue and direct costs to restore systems. The estimate includes about $10 million the city’s IT department will spend on recovery efforts by year’s end and $8.2 million in potential lost or delayed revenue, such as money from property taxes, real estate fees and some fines.