Difference between revisions of "Documentation/How Tos/Calc: DB function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(Initial content) |
m |
||
(14 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE: DB function}} |
+ | {{Documentation/CalcFunc FinancialTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_AMORLINC_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_DDB_function | ||
+ | }}__NOTOC__ | ||
== DB == | == DB == | ||
− | Returns the depreciation of an asset for a given year using the declining-balance method. | + | Returns the depreciation of an asset for a given year using the fixed rate declining-balance method. |
=== Syntax: === | === Syntax: === | ||
Line 13: | Line 18: | ||
: To calculate depreciation, <tt>'''DB'''</tt> uses a fixed rate throughout the asset’s life, given by | : To calculate depreciation, <tt>'''DB'''</tt> uses a fixed rate throughout the asset’s life, given by | ||
− | :: rate = 1 - (salvagevalue/originalcost)<sup>(1/lifetime)</sup> | + | :: <tt>'''rate'''</tt> = 1 - (<tt>'''salvagevalue'''</tt>/<tt>'''originalcost'''</tt>)<sup>(1/<tt>'''lifetime'''</tt>)</sup> |
: rounded to 3 decimal places. | : rounded to 3 decimal places. | ||
: The depreciation in any year is given by | : The depreciation in any year is given by | ||
− | :: value_at_start_of_year * rate | + | :: <tt>'''value_at_start_of_year * rate'''</tt> |
− | : where value_at_start_of_year | + | : where <tt>'''value_at_start_of_year'''</tt> = <tt>'''originalcost'''</tt> - <tt>'''depreciation_so_far'''</tt>. |
− | : If months1styear is less than 12 the depreciation rate used for the first and last years is | + | : If <tt>'''months1styear'''</tt> is less than 12 the depreciation rate used for the first and last years is |
− | :: rate * number_of_months_in_year / 12. | + | :: <tt>'''rate'''</tt> * <tt>'''number_of_months_in_year'''</tt> / 12. |
=== Example: === | === Example: === | ||
Line 28: | Line 33: | ||
: returns approximately <tt>'''3690'''</tt> in currency units, which is the depreciation in the first year for an asset which cost 10000 and is written down to 1000 over 5 years. | : returns approximately <tt>'''3690'''</tt> in currency units, which is the depreciation in the first year for an asset which cost 10000 and is written down to 1000 over 5 years. | ||
− | === | + | === Issues: === |
− | + | * This method underestimates total depreciation slightly if <tt>'''months1styear'''</tt> is given and not 12. | |
− | + | {{SeeAlso|EN| | |
+ | * [[Documentation/How_Tos/Calc: DDB function|DDB]] | ||
+ | * [[Documentation/How_Tos/Calc: SLN function|SLN]] | ||
+ | * [[Documentation/How_Tos/Calc: SYD function|SYD]] | ||
+ | * [[Documentation/How_Tos/Calc: VDB function|VDB]] | ||
− | [[Documentation/How_Tos/Calc: Financial | + | * [[Documentation/How_Tos/Calc: Derivation of Financial Formulas|Derivation of Financial Formulas]] |
− | + | * [[Documentation/How_Tos/Calc: Financial functions|Financial functions]] | |
− | * | + | |
+ | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | ||
+ | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
+ | [[Category: Documentation/Reference/Calc/Financial functions]] |
Latest revision as of 15:07, 30 January 2024
- Financial FunctionsDepreciation
- AMORDEGRCAMORLINCDBDDBSLNSYDVDBPayment Streams, Annuities, Loans
- CUMIPMTCUMIPMT_ADDCUMPRINCCUMPRINC ADDFVFVSCHEDULEIPMTIRRISPMTMIRRNPERNPVPMTPPMTPVRATERRIXIRRXNPVSecurities
-