Sales tax and loan calculations