"Private mortgage insurance (PMI) is a type of mortgage insurance you might be required to buy if you take out a conventional loan with a down payment of less than 20 percent of the purchase price" (CFPB).
The name can mislead. "PMI protects the lender—not you—if you stop making payments on your loan." If a borrower falls behind, PMI doesn't stop a foreclosure.
PMI is usually paid as a monthly premium added to the mortgage payment, though it can also be paid upfront at closing. The CFPB notes PMI "can help you qualify for a loan that you might not otherwise be able to get. But it can increase the cost of your loan."
Fiscale's Mortgage Affordability Calculator models PMI as a yearly percentage of the loan. At 0.5% a year on a $270,000 loan, that's $1,350 a year, or $112.50 a month. Because the requirement is tied to the 20 percent mark, the size of the down payment matters.