Divide the amount of bad debt by the total accounts receivable for a period, and multiply by 100.