# FinancialFormulas Release 1.3.1

A collection of methods for solving Finance/Accounting equations.

Keywords
calculations, finance, formulas, financial, accounting, economics, equations, invest, mathematics, business, banking, math, entrepreneur, algorithm, csharp, csharp-library, equation, financial-analysis, financial-engineering, financial-markets, financial-services, formula, investing, investment, quantitative-analysis, quantitative-finance, quantitative-trading, stock-market, technical-analysis
MIT
Install
``` Install-Package FinancialFormulas -Version 1.3.1 ```

# Financial-Formulas-Library-.NET-Standard

A collection of methods for solving Finance/Accounting equations, implemented in C#. Java, Python and C++ implementations are available here.

## Getting Started - C#

### Using NuGet 1. Within your project, install FinancialFormulas NuGet package (via "Manage Packages for Solution" or running the following in "Packet Manager Console".
`Install-Package FinancialFormulas -Version 1.3.1`
1. Reference the Namespace:
`using srbrettle.FinancialFormulas;`
1. Use the static library methods:
`double result = FinancialFormulas.CalcPriceSalesRatio(500,200);`

### Manually

2. Reference the Namespace:
`using srbrettle.FinancialFormulas;`
1. Use the static library methods:
`double result = FinancialFormulas.CalcPriceSalesRatio(500,200);`

## Formulas / Equations included

### FinancialFormulas.cs

• Asset Turnover
• Assets
• Average Collection Period
• Book Value
• Cash Conversion Cycle
• Cash Ratio
• Current Ratio
• Debt Equity Ratio
• Debt Ratio
• Debt Service Coverage Ratio
• Declining Balance
• Dividend Cover
• Dividend Yield
• Dividends Per Share
• Earnings Per Share
• EBIT
• EBITDA
• Efficiency Ratio
• Equity
• Gross Profit
• Gross Profit Margin
• Inventory Conversion Period
• Inventory Conversion Ratio
• Inventory Turnover
• Long-Term Debt Equity Ratio
• Liabilities
• Net Profit
• Operating Cash Flow Ratio
• Operating Margin
• Operating Profit
• Payables Conversion Period
• Payout Ratio
• PEG Ratio
• Price Sales Ratio
• Profit Margin
• Quick Ratio
• Receivables Conversion Period
• Receivables Turnover Ratio
• Return On Assets
• Return On Capital
• Return On Equity
• Return On Investment
• Return On Net Assets
• Risk Adjusted Return On Capital
• Sales Revenue
• Straight Line Method
• Units Of Production

### BankingFormulas.cs

• Annual Percentage Yield
• Balloon Loan Payment
• Compound Interest
• Continuous Compounding
• Debt To Income Ratio
• Balloon Balance Of Loan
• Loan Payment
• Remaining Balance On Loan
• Loan To Deposit Ratio
• Loan To Value Ratio
• Simple Interest
• Simple Interest Rate
• Simple Interest Principal
• Simple Interest Time

### FinancialMarketsFormulas.cs

• Rate Of Inflation
• Real Rate Of Return

### StocksBondsFormulas.cs

• Bond Equivalent Yield
• Book Value per Share
• Capital Asset Pricing Model
• Capital Gains Yield
• Current Yield
• Diluted Earnings Per Share
• Dividend Payout Ratio
• Dividend Yield - Stock
• Dividends Per Share
• Earnings Per Share
• Equity Multiplier
• Estimated Earnings
• Geometric Mean Return
• Holding Period Return
• Net Asset Value
• Preferred Stock
• Price to Book Value
• Price to Earnings (P/E Ratio)
• Price to Sales (P/S Ratio)
• Stock - PV with Constant Growth
• Stock - PV with Zero Growth
• Tax Equivalent Yield
• Total Stock Return
• Yield to Maturity
• Zero Coupon Bond Value
• Zero Coupon Bond Yield

### CorporateFormulas.cs

• Asset to Sales Ratio
• Asset Turnover Ratio
• Avg Collection Period
• Contribution Margin
• Current Ratio
• Days in Inventory
• Debt Coverage Ratio
• Debt Ratio
• Debt to Equity Ratio
• Discounted Payback Period
• Equivalent Annual Annuity
• Free Cash Flow to Equity (FCFE)
• Free Cash Flow to Firm (FCFF)
• Interest Coverage Ratio
• Inventory Turnover Ratio
• Net Present Value
• Net Profit Margin
• Net Working Capital
• Payback Period
• Quick Ratio
• Receivables Turnover Ratio
• Retention Ratio
• Return on Assets (ROA)
• Return on Equity (ROE)
• Return on Investment

### GeneralFinanceFormulas.cs

• Annuity - Future Value
• Annuity - Future Value w/ Continuous Compounding
• Annuity - (FV) Solve for n
• Annuity - Payment (PV)
• Annuity - Payment (FV)
• Annuity - (PV) Solve for n
• Annuity - Present Value
• Avg Collection Period
• Annuity - PV Factor
• Annuity Due - Present Value
• Annuity Due - Future Value
• Annuity Due Payment (PV)
• Annuity Due Payment (FV)
• Doubling Time
• Doubling Time - Cont. Compounding
• Doubling Time - Simple Interest
• Future Value
• FV - Continuous Compounding
• Future Value Factor
• Growing Annuity - Future Value
• Growing Annuity - Payment (PV)
• Growing Annuity - Payment (FV)
• Growing Annuity - Present Value
• Growing Perpetuity - Present Value
• Number of Periods - PV & FV
• Perpetuity
• Present Value
• PV - Continuous Compounding
• Present Value Factor
• Rule of 72
• Weighted Average