percentage deposit/credit calculator