The APR is a way to measure the total cost of a mortgage. The APR calculation includes interest, loan costs, and fees.