買掛金回転日数(Days Payable Outstanding)
ここでは買掛金(債権者)と、Days Payable Outstanding(DPO:買掛金回転日数)という指標を見ていきます。
この比率は効率性を示し、企業が仕入先への支払いに平均して何日かかっているかを測定します。
DPO の計算式は次のとおりです:
\(Days\,Payable\,Outstanding = \frac{Ending\,Balance\,Creditors}{Total\,Cost\,of\,Goods\,Sold} \times Days\,in\,Financial\,Year\)
T-Z は自社の買掛金回転日数を知りたいと考えており、あなたに計算を依頼しています。
ワークスペースでは次が利用できます:
- 期間の合計 COGS(売上原価) = 4000
- 期末の買掛金残高 = 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))