How can refinancing a loan change your closing cost?

There are many different types of loans ranging between different payback periods; although each loan is different when it comes to refinancing and the closing cost afterwards, the average change in that closing cost is said to be roughly 6% of the original cost of the loan.