Part of determining if a mortgage refinance is practical is weighing the balance between its benefits and costs.