應付帳款天數
現在我們來看應付帳款(或稱債權人),以及一個稱為「應付帳款天數(Days Payable Outstanding,DPO)」的比率。
這個比率屬於效率比率,用來衡量公司平均需要多少天才支付供應商款項。
DPO 的計算方式如下:
\(Days\,Payable\,Outstanding = \frac{Ending\,Balance\,Creditors}{Total\,Cost\,of\,Goods\,Sold} \times Days\,in\,Financial\,Year\)
T-Z 想知道自己的應付帳款天數,並請你加以計算。
工作空間中已提供以下資料:
- 期間的總銷貨成本(Total COGS)= 4000
- 期末應付帳款餘額(Closing Payables balance)= 650
本練習屬於課程
使用 Python 進行財務預測
練習說明
- 設定
cogs_tot與期末債權人餘額creditors_end的變數。 - 計算應付帳款天數
dpo。 - 印出
dpo。
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
# Get the variables
cogs_tot = ____
____ = 650
# Calculate the days payable outstanding
____ = (____/____)*365
# Print the days payable outstanding
print("The days payable outstanding is {}.".format(dpo))