In the diagram, national saving is what the economy produces minus what households and the government consume: S = Y − C − G. A government deficit is negative public saving, so a bigger deficit lowers national saving at every interest rate and shifts the SUPPLY curve for loanable funds to the left. The real rate rises and private investment falls. Some textbooks draw the same event as extra demand for funds and arrive at the same interest rate. Either convention works. Using both at once counts the same borrowing twice, so this page uses the saving convention throughout.
Let national saving be 1,000 + 100r and investment be 1,600 − 100r, in billions of dollars, with r the real interest rate in percent. The market clears where 1,000 + 100r = 1,600 − 100r, so r = 3% and saving and investment are both 1,300. Now the government borrows an extra 200. Saving becomes 800 + 100r, and the market clears at r = 4% with investment of 1,200. Investment fell by 100, not 200, because the higher rate also drew out 100 of extra private saving. Each dollar of new borrowing crowded out 50 cents of investment. The less saving responds to the interest rate, the closer crowding out comes to one for one.
Loanable funds are not a pool of money that banks pass from savers to borrowers. Banks create deposits when they lend (see Money Supply), and the central bank sets short-term nominal rates (see Monetary Policy). The model describes something slower: the real rate around which those forces move, the one that matters for how much capital an economy builds. In an open economy, foreign saving can fill part of the gap, which shows up as a current account deficit instead of a higher interest rate (see Balance of Payments). What the borrowing adds up to over time is the subject of Budget Deficits and Public Debt.