Med student budget question - how do I calculate the true cost of something

debating where to get my haircut - how much will $10 more on my loans cost in the end if my loans are 6% interest and I’ll pay it back in 10 years?

edit: “don’t live this way” - noted! thanks folks!