CBO estimates that, all told, the TARP’s transactions will cost the federal government $27 billion. That estimate accounts for the realized costs of completed transactions and the estimated costs of outstanding and anticipated transactions.