Libraries: How They Stack Up by the Online Computer Library Center is a short set of facts about libraries. For example US libraries spend $14 billion a year out of a total of $31 billion spend on books. U.S. libraries circulated four times as many items as Amazon each day.
What is amazing is how little we spend on libraries compared to commercial services. As usual commercial services are far less efficient for money spent. Public services are cheap and universal.